Searched refs:cur_bytes (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
D | misc_support.h | 25 #define tot_bytes_for_pow2_align(pow2, cur_bytes) ((cur_bytes + (pow2 - 1)) & ~(pow2 - 1)) argument
|
/Linux-v6.6/drivers/target/ |
D | target_core_xcopy.c | 707 u32 cur_bytes = min_t(u64, max_bytes, nolb * src_dev->dev_attrib.block_size); in target_xcopy_do_work() local 708 unsigned short cur_nolb = cur_bytes / src_dev->dev_attrib.block_size; in target_xcopy_do_work() 710 if (cur_bytes != xop->xop_data_bytes) { in target_xcopy_do_work() 718 cur_bytes, in target_xcopy_do_work() 722 xop->xop_data_bytes = cur_bytes; in target_xcopy_do_work() 728 rc = target_xcopy_read_source(ec_cmd, xop, src_dev, src_lba, cur_bytes); in target_xcopy_do_work() 732 src_lba += cur_bytes / src_dev->dev_attrib.block_size; in target_xcopy_do_work() 740 dst_lba, cur_bytes); in target_xcopy_do_work() 744 dst_lba += cur_bytes / dst_dev->dev_attrib.block_size; in target_xcopy_do_work() 748 copied_bytes += cur_bytes; in target_xcopy_do_work() [all …]
|
/Linux-v6.6/arch/x86/kernel/cpu/resctrl/ |
D | monitor.c | 435 u64 cur_bw, bytes, cur_bytes; in mbm_bw_count() local 437 cur_bytes = rr->val; in mbm_bw_count() 438 bytes = cur_bytes - m->prev_bw_bytes; in mbm_bw_count() 439 m->prev_bw_bytes = cur_bytes; in mbm_bw_count()
|
/Linux-v6.6/drivers/block/null_blk/ |
D | null_blk.h | 134 atomic_long_t cur_bytes; member
|
D | main.c | 1353 if (atomic_long_sub_return(blk_rq_bytes(rq), &nullb->cur_bytes) < 0) { in null_handle_throttled() 1356 if (atomic_long_read(&nullb->cur_bytes) > 0) in null_handle_throttled() 1505 if (atomic_long_read(&nullb->cur_bytes) == mb_per_tick(mbps)) in nullb_bwtimer_fn() 1508 atomic_long_set(&nullb->cur_bytes, mb_per_tick(mbps)); in nullb_bwtimer_fn() 1522 atomic_long_set(&nullb->cur_bytes, mb_per_tick(nullb->dev->mbps)); in nullb_setup_bwtimer() 1830 atomic_long_set(&nullb->cur_bytes, LONG_MAX); in null_del_dev()
|
/Linux-v6.6/fs/udf/ |
D | super.c | 2413 u32 cur_bytes = min_t(u32, bytes, sb->s_blocksize - index); in udf_count_free_bitmap() local 2415 cur_bytes * 8); in udf_count_free_bitmap() 2416 bytes -= cur_bytes; in udf_count_free_bitmap()
|
/Linux-v6.6/fs/btrfs/ |
D | inode.c | 9554 u64 cur_bytes; in __btrfs_prealloc_file_range() local 9563 cur_bytes = min_t(u64, num_bytes, SZ_256M); in __btrfs_prealloc_file_range() 9564 cur_bytes = max(cur_bytes, min_size); in __btrfs_prealloc_file_range() 9571 cur_bytes = min(cur_bytes, last_alloc); in __btrfs_prealloc_file_range() 9572 ret = btrfs_reserve_extent(root, cur_bytes, cur_bytes, in __btrfs_prealloc_file_range()
|