Home
last modified time | relevance | path

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

/linux-6.15/drivers/staging/media/atomisp/pci/hive_isp_css_include/
H A Dmisc_support.h16 #define tot_bytes_for_pow2_align(pow2, cur_bytes) ((cur_bytes + (pow2 - 1)) & ~(pow2 - 1)) argument
/linux-6.15/drivers/target/
H A Dtarget_core_xcopy.c708 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-6.15/arch/x86/kernel/cpu/resctrl/
H A Dmonitor.c666 u64 cur_bw, bytes, cur_bytes; in mbm_bw_count() local
673 cur_bytes = rr->val; in mbm_bw_count()
674 bytes = cur_bytes - m->prev_bw_bytes; in mbm_bw_count()
675 m->prev_bw_bytes = cur_bytes; in mbm_bw_count()
/linux-6.15/drivers/block/null_blk/
H A Dnull_blk.h123 atomic_long_t cur_bytes; member
H A Dmain.c1315 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-6.15/fs/udf/
H A Dsuper.c2457 u32 cur_bytes = min_t(u32, bytes, sb->s_blocksize - index); in udf_count_free_bitmap() local
2459 cur_bytes * 8); in udf_count_free_bitmap()
2460 bytes -= cur_bytes; in udf_count_free_bitmap()
/linux-6.15/fs/btrfs/
H A Dinode.c8877 u64 cur_bytes; in __btrfs_prealloc_file_range() local
8886 cur_bytes = min_t(u64, num_bytes, SZ_256M); in __btrfs_prealloc_file_range()
8887 cur_bytes = max(cur_bytes, min_size); in __btrfs_prealloc_file_range()
8894 cur_bytes = min(cur_bytes, last_alloc); in __btrfs_prealloc_file_range()
8895 ret = btrfs_reserve_extent(root, cur_bytes, cur_bytes, in __btrfs_prealloc_file_range()