Home
last modified time | relevance | path

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

/drivers/staging/media/atomisp/pci/hive_isp_css_include/
Dmisc_support.h25 #define tot_bytes_for_pow2_align(pow2, cur_bytes) ((cur_bytes + (pow2 - 1)) & ~(pow2 - 1)) argument
/drivers/target/
Dtarget_core_xcopy.c720 u32 cur_bytes = cur_nolb * src_dev->dev_attrib.block_size; in target_xcopy_do_work() local
722 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()
/drivers/block/null_blk/
Dnull_blk.h87 atomic_long_t cur_bytes; member
Dmain.c1240 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()