Searched refs:cur_bytes (Results 1 – 4 of 4) sorted by relevance
| /drivers/target/ |
| 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 …]
|
| /drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
| A D | misc_support.h | 16 #define tot_bytes_for_pow2_align(pow2, cur_bytes) ((cur_bytes + (pow2 - 1)) & ~(pow2 - 1)) argument
|
| /drivers/block/null_blk/ |
| A D | null_blk.h | 123 atomic_long_t cur_bytes; member
|
| 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()
|
Completed in 13 milliseconds