Searched refs:mult_perc (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/fs/btrfs/ |
D | misc.h | 41 static inline u64 mult_perc(u64 num, u32 percent) in mult_perc() function
|
D | block-rsv.c | 237 num_bytes = mult_perc(block_rsv->size, min_percent); in btrfs_block_rsv_check()
|
D | space-info.c | 845 thresh = mult_perc(space_info->total_bytes, 90); in need_preemptive_reclaim() 963 min_bytes = mult_perc(global_rsv->size, 10); in steal_from_global_rsv()
|
D | block-group.c | 1771 thresh = mult_perc(bg->length, reclaim_thresh); in should_reclaim_block_group() 3815 thresh = max_t(u64, SZ_64M, mult_perc(thresh, 1)); in should_alloc_chunk() 3821 if (bytes_used + SZ_2M < mult_perc(sinfo->total_bytes, 80)) in should_alloc_chunk()
|
D | volumes.c | 3629 user_thresh_min = mult_perc(cache->length, bargs->usage_min); in chunk_usage_range_filter() 3636 user_thresh_max = mult_perc(cache->length, bargs->usage_max); in chunk_usage_range_filter() 3660 user_thresh = mult_perc(cache->length, bargs->usage); in chunk_usage_filter() 5119 ctl->max_chunk_size = min(mult_perc(fs_devices->total_rw_bytes, 10), in init_alloc_chunk_ctl_policy_regular() 5150 limit = max(round_down(mult_perc(fs_devices->total_rw_bytes, 10), in init_alloc_chunk_ctl_policy_zoned()
|
D | sysfs.c | 775 val = min(mult_perc(fs_info->fs_devices->total_rw_bytes, 10), val); in btrfs_chunk_size_store()
|
D | free-space-cache.c | 2740 mult_perc(block_group->zone_capacity, bg_reclaim_threshold)) { in __btrfs_add_free_space_zoned()
|