Searched refs:cur_bytes (Results 1 – 4 of 4) sorted by relevance
25 #define tot_bytes_for_pow2_align(pow2, cur_bytes) ((cur_bytes + (pow2 - 1)) & ~(pow2 - 1)) argument
720 u32 cur_bytes = cur_nolb * src_dev->dev_attrib.block_size; in target_xcopy_do_work() local722 if (cur_bytes != xop->xop_data_bytes) { in target_xcopy_do_work()730 cur_bytes, in target_xcopy_do_work()734 xop->xop_data_bytes = cur_bytes; in target_xcopy_do_work()
87 atomic_long_t cur_bytes; member
1240 if (atomic_long_sub_return(blk_rq_bytes(rq), &nullb->cur_bytes) < 0) { in null_handle_throttled()1243 if (atomic_long_read(&nullb->cur_bytes) > 0) in null_handle_throttled()1388 if (atomic_long_read(&nullb->cur_bytes) == mb_per_tick(mbps)) in nullb_bwtimer_fn()1391 atomic_long_set(&nullb->cur_bytes, mb_per_tick(mbps)); in nullb_bwtimer_fn()1405 atomic_long_set(&nullb->cur_bytes, mb_per_tick(nullb->dev->mbps)); in nullb_setup_bwtimer()1587 atomic_long_set(&nullb->cur_bytes, LONG_MAX); in null_del_dev()