Home
last modified time | relevance | path

Searched refs:free_extents (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/fs/btrfs/tests/
Dfree-space-tests.c328 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()
/linux-4.19.296/fs/btrfs/
Dfree-space-cache.h23 int free_extents; member
Dinode-map.c332 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()
Dfree-space-cache.c1636 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()
/linux-4.19.296/fs/ocfs2/
Dalloc.c4797 int free_extents; in ocfs2_add_clusters_in_btree() local
4810 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()