Home
last modified time | relevance | path

Searched refs:total_bitmaps (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/fs/btrfs/
Dinode-map.c300 if (max_bitmaps <= ctl->total_bitmaps) { in recalculate_thresholds()
305 ctl->extents_thresh = (max_bitmaps - ctl->total_bitmaps) * in recalculate_thresholds()
473 prealloc += ctl->total_bitmaps * PAGE_SIZE; in btrfs_save_ino_cache()
Dfree-space-cache.h24 int total_bitmaps; member
Dfree-space-cache.c766 ctl->total_bitmaps++; in __load_free_space_cache()
1634 ASSERT(ctl->total_bitmaps <= max_bitmaps); in recalculate_thresholds()
1651 bitmap_bytes = (ctl->total_bitmaps + 1) * ctl->unit; in recalculate_thresholds()
1839 ctl->total_bitmaps++; in add_new_bitmap()
1850 ctl->total_bitmaps--; in free_bitmap()
2275 if (ctl->total_bitmaps > 0) { in steal_from_bitmap()
2280 if (ctl->total_bitmaps > 0) in steal_from_bitmap()
2768 ctl->total_bitmaps--; in btrfs_alloc_from_cluster()
2962 if (ctl->total_bitmaps == 0) in setup_cluster_bitmap()
/Linux-v4.19/fs/btrfs/tests/
Dfree-space-tests.c343 if (cache->free_space_ctl->total_bitmaps != num_bitmaps) { in check_num_extents_and_bitmaps()
346 cache->free_space_ctl->total_bitmaps, num_bitmaps); in check_num_extents_and_bitmaps()