Searched refs:mult_perc (Results 1 – 6 of 6) sorted by relevance
/linux/fs/btrfs/ ! |
H A D | misc.h | 45 static inline u64 mult_perc(u64 num, u32 percent) in mult_perc() function
|
H A D | space-info.c | 420 mult_perc(fs_info->fs_devices->total_rw_bytes, 10)); in calc_effective_data_chunk_size() 936 thresh = mult_perc(space_info->total_bytes, 90); in need_preemptive_reclaim() 1054 min_bytes = mult_perc(global_rsv->size, 10); in steal_from_global_rsv() 2092 thresh = mult_perc(bg->length, thresh_pct); in do_reclaim_sweep()
|
H A D | block-rsv.c | 235 num_bytes = mult_perc(block_rsv->size, min_percent); in btrfs_block_rsv_check()
|
H A D | block-group.c | 1811 u64 thresh_bytes = mult_perc(bg->length, thresh_pct); in should_reclaim_block_group() 3900 thresh = max_t(u64, SZ_64M, mult_perc(thresh, 1)); in should_alloc_chunk() 3906 if (bytes_used + SZ_2M < mult_perc(sinfo->total_bytes, 80)) in should_alloc_chunk()
|
H A D | sysfs.c | 790 val = min(mult_perc(fs_info->fs_devices->total_rw_bytes, 10), val); in btrfs_chunk_size_store()
|
H A D | free-space-cache.c | 2745 mult_perc(block_group->zone_capacity, bg_reclaim_threshold)) { in __btrfs_add_free_space_zoned()
|