Home
last modified time | relevance | path

Searched refs:max_bitmaps (Results 1 – 2 of 2) sorted by relevance

/fs/btrfs/
Dinode-map.c302 int max_bitmaps; in recalculate_thresholds() local
318 max_bitmaps = ALIGN(max_ino, INODES_PER_BITMAP) / INODES_PER_BITMAP; in recalculate_thresholds()
319 if (max_bitmaps <= ctl->total_bitmaps) { in recalculate_thresholds()
324 ctl->extents_thresh = (max_bitmaps - ctl->total_bitmaps) * in recalculate_thresholds()
Dfree-space-cache.c1328 int max_bitmaps = div64_u64(size + bytes_per_bg - 1, bytes_per_bg); in recalculate_thresholds() local
1330 BUG_ON(ctl->total_bitmaps > max_bitmaps); in recalculate_thresholds()