Searched refs:total_bitmaps (Results 1 – 4 of 4) sorted by relevance
300 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()
24 int total_bitmaps; member
766 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()
343 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()