Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/hive_isp_css_include/
H A Dmisc_support.h25 #define tot_bytes_for_pow2_align(pow2, cur_bytes) ((cur_bytes + (pow2 - 1)) & ~(pow2 - 1)) argument
/OK3568_Linux_fs/kernel/drivers/target/
H A 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()
/OK3568_Linux_fs/kernel/drivers/block/
H A Dnull_blk.h87 atomic_long_t cur_bytes; member
H A Dnull_blk_main.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()
1389 if (atomic_long_read(&nullb->cur_bytes) == mb_per_tick(mbps)) in nullb_bwtimer_fn()
1392 atomic_long_set(&nullb->cur_bytes, mb_per_tick(mbps)); in nullb_bwtimer_fn()
1406 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()
/OK3568_Linux_fs/kernel/fs/udf/
H A Dsuper.c2452 u32 cur_bytes = min_t(u32, bytes, sb->s_blocksize - index); in udf_count_free_bitmap() local
2454 cur_bytes * 8); in udf_count_free_bitmap()
2455 bytes -= cur_bytes; in udf_count_free_bitmap()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dinode.c9792 u64 cur_bytes; in __btrfs_prealloc_file_range() local
9801 cur_bytes = min_t(u64, num_bytes, SZ_256M); in __btrfs_prealloc_file_range()
9802 cur_bytes = max(cur_bytes, min_size); in __btrfs_prealloc_file_range()
9809 cur_bytes = min(cur_bytes, last_alloc); in __btrfs_prealloc_file_range()
9810 ret = btrfs_reserve_extent(root, cur_bytes, cur_bytes, in __btrfs_prealloc_file_range()