Home
last modified time | relevance | path

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

/linux-4.4.14/fs/btrfs/
Dinode-map.c314 if (max_bitmaps <= ctl->total_bitmaps) { in recalculate_thresholds()
319 ctl->extents_thresh = (max_bitmaps - ctl->total_bitmaps) * in recalculate_thresholds()
485 prealloc += ctl->total_bitmaps * PAGE_CACHE_SIZE; in btrfs_save_ino_cache()
Dfree-space-cache.h37 int total_bitmaps; member
Dfree-space-cache.c786 ctl->total_bitmaps++; in __load_free_space_cache()
1652 ASSERT(ctl->total_bitmaps <= max_bitmaps); in recalculate_thresholds()
1670 bitmap_bytes = (ctl->total_bitmaps + 1) * PAGE_CACHE_SIZE; in recalculate_thresholds()
1858 ctl->total_bitmaps++; in add_new_bitmap()
1869 ctl->total_bitmaps--; in free_bitmap()
2294 if (ctl->total_bitmaps > 0) { in steal_from_bitmap()
2299 if (ctl->total_bitmaps > 0) in steal_from_bitmap()
2785 ctl->total_bitmaps--; in btrfs_alloc_from_cluster()
2979 if (ctl->total_bitmaps == 0) in setup_cluster_bitmap()
/linux-4.4.14/fs/btrfs/tests/
Dfree-space-tests.c393 if (cache->free_space_ctl->total_bitmaps != num_bitmaps) { in check_num_extents_and_bitmaps()
395 cache->free_space_ctl->total_bitmaps, num_bitmaps); in check_num_extents_and_bitmaps()