Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dinode-map.c316 if (max_bitmaps <= ctl->total_bitmaps) { in recalculate_thresholds()
321 ctl->extents_thresh = (max_bitmaps - ctl->total_bitmaps) * in recalculate_thresholds()
489 prealloc += ctl->total_bitmaps * PAGE_SIZE; in btrfs_save_ino_cache()
Dfree-space-cache.h24 int total_bitmaps; member
Dfree-space-cache.c793 ctl->total_bitmaps++; in __load_free_space_cache()
1674 ASSERT(ctl->total_bitmaps <= max_bitmaps); in recalculate_thresholds()
1691 bitmap_bytes = (ctl->total_bitmaps + 1) * ctl->unit; in recalculate_thresholds()
1890 ctl->total_bitmaps++; in add_new_bitmap()
1901 ctl->total_bitmaps--; in free_bitmap()
2328 if (ctl->total_bitmaps > 0) { in steal_from_bitmap()
2333 if (ctl->total_bitmaps > 0) in steal_from_bitmap()
2825 ctl->total_bitmaps--; in btrfs_alloc_from_cluster()
3019 if (ctl->total_bitmaps == 0) in setup_cluster_bitmap()
/linux-4.19.296/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()