Searched refs:free_extents (Results 1 – 5 of 5) sorted by relevance
328 return ctl->free_extents > 0; in test_use_bitmap()337 if (cache->free_space_ctl->free_extents != num_extents) { in check_num_extents_and_bitmaps()340 cache->free_space_ctl->free_extents, num_extents); in check_num_extents_and_bitmaps()
23 int free_extents; member
332 if (ctl->free_extents < ctl->extents_thresh || in use_bitmap()487 prealloc = sizeof(struct btrfs_free_space) * ctl->free_extents; in btrfs_save_ino_cache()
1636 ctl->free_extents--; in __unlink_free_space()1658 ctl->free_extents++; in link_free_space()2021 if (!forced && ctl->free_extents < ctl->extents_thresh) { in use_bitmap()2030 if (ctl->free_extents * 2 <= ctl->extents_thresh) in use_bitmap()2821 ctl->free_extents--; in btrfs_alloc_from_cluster()
4797 int free_extents; in ocfs2_add_clusters_in_btree() local4810 free_extents = ocfs2_num_free_extents(et); in ocfs2_add_clusters_in_btree()4811 if (free_extents < 0) { in ocfs2_add_clusters_in_btree()4812 status = free_extents; in ocfs2_add_clusters_in_btree()4822 if (!free_extents && !meta_ac) { in ocfs2_add_clusters_in_btree()4827 } else if ((!free_extents) in ocfs2_add_clusters_in_btree()