Home
last modified time | relevance | path

Searched refs:cur_bytes (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/scsi/osd/
Dosd_initiator.c1355 unsigned cur_bytes, returned_bytes; in osd_req_decode_get_attr_list() local
1374 cur_bytes = (*iterator - or->get_attr.buff) - sizeof_attr_list; in osd_req_decode_get_attr_list()
1377 cur_bytes = sizeof_attr_list; in osd_req_decode_get_attr_list()
1395 for (n = 0; (n < *nelem) && (cur_bytes < returned_bytes); ++n) { in osd_req_decode_get_attr_list()
1397 returned_bytes - cur_bytes); in osd_req_decode_get_attr_list()
1402 cur_bytes, returned_bytes, n); in osd_req_decode_get_attr_list()
1404 cur_bytes = returned_bytes; /* break the caller loop */ in osd_req_decode_get_attr_list()
1408 cur_bytes += inc; in osd_req_decode_get_attr_list()
1413 *iterator = (returned_bytes - cur_bytes) ? cur_p : NULL; in osd_req_decode_get_attr_list()
1415 return returned_bytes - cur_bytes; in osd_req_decode_get_attr_list()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_dma.c182 static bool scif_rma_tc_can_cache(struct scif_endpt *ep, size_t cur_bytes) in scif_rma_tc_can_cache() argument
184 if ((cur_bytes >> PAGE_SHIFT) > scif_info.rma_tc_limit) in scif_rma_tc_can_cache()
187 + (cur_bytes >> PAGE_SHIFT)) > in scif_rma_tc_can_cache()
193 (1 + (cur_bytes >> PAGE_SHIFT))); in scif_rma_tc_can_cache()
357 static bool scif_rma_tc_can_cache(struct scif_endpt *ep, size_t cur_bytes) in scif_rma_tc_can_cache() argument
/linux-4.4.14/fs/udf/
Dsuper.c2390 u32 cur_bytes = min_t(u32, bytes, sb->s_blocksize - index); in udf_count_free_bitmap() local
2392 cur_bytes * 8); in udf_count_free_bitmap()
2393 bytes -= cur_bytes; in udf_count_free_bitmap()
/linux-4.4.14/fs/btrfs/
Dinode.c9773 u64 cur_bytes; in __btrfs_prealloc_file_range() local
9789 cur_bytes = min(num_bytes, 256ULL * 1024 * 1024); in __btrfs_prealloc_file_range()
9790 cur_bytes = max(cur_bytes, min_size); in __btrfs_prealloc_file_range()
9797 cur_bytes = min(cur_bytes, last_alloc); in __btrfs_prealloc_file_range()
9798 ret = btrfs_reserve_extent(root, cur_bytes, min_size, 0, in __btrfs_prealloc_file_range()