Home
last modified time | relevance | path

Searched refs:num_free_extents (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/fs/ocfs2/
Dmove_extents.c161 int ret, num_free_extents; in ocfs2_lock_meta_allocator_move_extents() local
165 num_free_extents = ocfs2_num_free_extents(et); in ocfs2_lock_meta_allocator_move_extents()
166 if (num_free_extents < 0) { in ocfs2_lock_meta_allocator_move_extents()
167 ret = num_free_extents; in ocfs2_lock_meta_allocator_move_extents()
172 if (!num_free_extents || in ocfs2_lock_meta_allocator_move_extents()
173 (ocfs2_sparse_alloc(osb) && num_free_extents < max_recs_needed)) in ocfs2_lock_meta_allocator_move_extents()
Dsuballoc.c2626 int ret = 0, num_free_extents; in ocfs2_lock_allocators() local
2636 num_free_extents = ocfs2_num_free_extents(et); in ocfs2_lock_allocators()
2637 if (num_free_extents < 0) { in ocfs2_lock_allocators()
2638 ret = num_free_extents; in ocfs2_lock_allocators()
2656 if (!num_free_extents || in ocfs2_lock_allocators()
2657 (ocfs2_sparse_alloc(osb) && num_free_extents < max_recs_needed)) { in ocfs2_lock_allocators()
Ddir.c3154 int credits, num_free_extents, drop_alloc_sem = 0; in ocfs2_extend_dir() local
3224 num_free_extents = ocfs2_num_free_extents(&et); in ocfs2_extend_dir()
3225 if (num_free_extents < 0) { in ocfs2_extend_dir()
3226 status = num_free_extents; in ocfs2_extend_dir()
3231 if (!num_free_extents) { in ocfs2_extend_dir()
Dalloc.c5654 int ret = 0, num_free_extents; in ocfs2_reserve_blocks_for_rec_trunc() local
5660 num_free_extents = ocfs2_num_free_extents(et); in ocfs2_reserve_blocks_for_rec_trunc()
5661 if (num_free_extents < 0) { in ocfs2_reserve_blocks_for_rec_trunc()
5662 ret = num_free_extents; in ocfs2_reserve_blocks_for_rec_trunc()
5667 if (!num_free_extents || in ocfs2_reserve_blocks_for_rec_trunc()
5668 (ocfs2_sparse_alloc(osb) && num_free_extents < max_recs_needed)) in ocfs2_reserve_blocks_for_rec_trunc()
Drefcounttree.c2846 int num_free_extents = ocfs2_num_free_extents(et); in ocfs2_lock_refcount_allocators() local
2848 if (num_free_extents < 0) { in ocfs2_lock_refcount_allocators()
2849 ret = num_free_extents; in ocfs2_lock_refcount_allocators()
2854 if (num_free_extents < num_clusters + 2) in ocfs2_lock_refcount_allocators()
Dxattr.c6752 int ret, num_free_extents; in ocfs2_lock_reflink_xattr_rec_allocators() local
6793 num_free_extents = ocfs2_num_free_extents(xt_et); in ocfs2_lock_reflink_xattr_rec_allocators()
6794 if (num_free_extents < 0) { in ocfs2_lock_reflink_xattr_rec_allocators()
6795 ret = num_free_extents; in ocfs2_lock_reflink_xattr_rec_allocators()
6800 if (num_free_extents < len) in ocfs2_lock_reflink_xattr_rec_allocators()