Home
last modified time | relevance | path

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

/linux/drivers/target/
H A Dtarget_core_xcopy.c708 u32 cur_bytes = min_t(u64, max_bytes, nolb * src_dev->dev_attrib.block_size); in target_xcopy_do_work() local
709 unsigned short cur_nolb = cur_bytes / src_dev->dev_attrib.block_size; in target_xcopy_do_work()
711 if (cur_bytes != xop->xop_data_bytes) { in target_xcopy_do_work()
719 cur_bytes, in target_xcopy_do_work()
723 xop->xop_data_bytes = cur_bytes; in target_xcopy_do_work()
729 rc = target_xcopy_read_source(ec_cmd, xop, src_dev, src_lba, cur_bytes); in target_xcopy_do_work()
733 src_lba += cur_bytes / src_dev->dev_attrib.block_size; in target_xcopy_do_work()
741 dst_lba, cur_bytes); in target_xcopy_do_work()
745 dst_lba += cur_bytes / dst_dev->dev_attrib.block_size; in target_xcopy_do_work()
749 copied_bytes += cur_bytes; in target_xcopy_do_work()
[all …]
/linux/fs/resctrl/
H A Dmonitor.c511 u64 cur_bw, bytes, cur_bytes; in mbm_bw_count() local
520 cur_bytes = rr->val; in mbm_bw_count()
521 bytes = cur_bytes - m->prev_bw_bytes; in mbm_bw_count()
522 m->prev_bw_bytes = cur_bytes; in mbm_bw_count()
/linux/drivers/block/null_blk/
H A Dmain.c1325 if (atomic_long_sub_return(blk_rq_bytes(rq), &nullb->cur_bytes) < 0) { in null_handle_throttled()
1328 if (atomic_long_read(&nullb->cur_bytes) > 0) in null_handle_throttled()
1473 if (atomic_long_read(&nullb->cur_bytes) == mb_per_tick(mbps)) in nullb_bwtimer_fn()
1476 atomic_long_set(&nullb->cur_bytes, mb_per_tick(mbps)); in nullb_bwtimer_fn()
1489 atomic_long_set(&nullb->cur_bytes, mb_per_tick(nullb->dev->mbps)); in nullb_setup_bwtimer()
1775 atomic_long_set(&nullb->cur_bytes, LONG_MAX); in null_del_dev()
/linux/fs/udf/
H A Dsuper.c2466 u32 cur_bytes = min_t(u32, bytes, sb->s_blocksize - index); in udf_count_free_bitmap() local
2468 cur_bytes * 8); in udf_count_free_bitmap()
2469 bytes -= cur_bytes; in udf_count_free_bitmap()
/linux/fs/fuse/
H A Dfile.c875 unsigned cur_bytes, bool write);
2164 unsigned cur_bytes, bool write) in fuse_folios_need_send() argument
2168 unsigned bytes = cur_bytes + len; in fuse_folios_need_send()
/linux/fs/btrfs/
H A Dinode.c9173 u64 cur_bytes; in __btrfs_prealloc_file_range()
9182 cur_bytes = min_t(u64, num_bytes, SZ_256M); in __btrfs_prealloc_file_range()
9183 cur_bytes = max(cur_bytes, min_size); in __btrfs_prealloc_file_range()
9190 cur_bytes = min(cur_bytes, last_alloc); in __btrfs_prealloc_file_range()
9191 ret = btrfs_reserve_extent(root, cur_bytes, cur_bytes, in __btrfs_prealloc_file_range()
9123 u64 cur_bytes; __btrfs_prealloc_file_range() local