Searched refs:cur_bytes (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/target/ |
| H A D | target_core_xcopy.c | 708 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/drivers/block/null_blk/ |
| H A D | main.c | 1315 if (atomic_long_sub_return(blk_rq_bytes(rq), &nullb->cur_bytes) < 0) { in null_handle_throttled() 1318 if (atomic_long_read(&nullb->cur_bytes) > 0) in null_handle_throttled() 1463 if (atomic_long_read(&nullb->cur_bytes) == mb_per_tick(mbps)) in nullb_bwtimer_fn() 1466 atomic_long_set(&nullb->cur_bytes, mb_per_tick(mbps)); in nullb_bwtimer_fn() 1479 atomic_long_set(&nullb->cur_bytes, mb_per_tick(nullb->dev->mbps)); in nullb_setup_bwtimer() 1765 atomic_long_set(&nullb->cur_bytes, LONG_MAX); in null_del_dev()
|
| /linux/fs/resctrl/ |
| H A D | monitor.c | 511 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/fs/udf/ |
| H A D | super.c | 2466 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 D | file.c | 875 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()
|