Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ocfs2/
Dmove_extents.c151 int ret, num_free_extents; in ocfs2_lock_meta_allocator_move_extents() local
155 num_free_extents = ocfs2_num_free_extents(et); in ocfs2_lock_meta_allocator_move_extents()
156 if (num_free_extents < 0) { in ocfs2_lock_meta_allocator_move_extents()
157 ret = num_free_extents; in ocfs2_lock_meta_allocator_move_extents()
162 if (!num_free_extents || in ocfs2_lock_meta_allocator_move_extents()
163 (ocfs2_sparse_alloc(osb) && num_free_extents < max_recs_needed)) in ocfs2_lock_meta_allocator_move_extents()
Dsuballoc.c2703 int ret = 0, num_free_extents; in ocfs2_lock_allocators() local
2713 num_free_extents = ocfs2_num_free_extents(et); in ocfs2_lock_allocators()
2714 if (num_free_extents < 0) { in ocfs2_lock_allocators()
2715 ret = num_free_extents; in ocfs2_lock_allocators()
2733 if (!num_free_extents || in ocfs2_lock_allocators()
2734 (ocfs2_sparse_alloc(osb) && num_free_extents < max_recs_needed)) { in ocfs2_lock_allocators()
Ddir.c3162 int credits, num_free_extents, drop_alloc_sem = 0; in ocfs2_extend_dir() local
3232 num_free_extents = ocfs2_num_free_extents(&et); in ocfs2_extend_dir()
3233 if (num_free_extents < 0) { in ocfs2_extend_dir()
3234 status = num_free_extents; in ocfs2_extend_dir()
3239 if (!num_free_extents) { in ocfs2_extend_dir()
Dalloc.c5661 int ret = 0, num_free_extents; in ocfs2_reserve_blocks_for_rec_trunc() local
5667 num_free_extents = ocfs2_num_free_extents(et); in ocfs2_reserve_blocks_for_rec_trunc()
5668 if (num_free_extents < 0) { in ocfs2_reserve_blocks_for_rec_trunc()
5669 ret = num_free_extents; in ocfs2_reserve_blocks_for_rec_trunc()
5674 if (!num_free_extents || in ocfs2_reserve_blocks_for_rec_trunc()
5675 (ocfs2_sparse_alloc(osb) && num_free_extents < max_recs_needed)) in ocfs2_reserve_blocks_for_rec_trunc()
Drefcounttree.c2840 int num_free_extents = ocfs2_num_free_extents(et); in ocfs2_lock_refcount_allocators() local
2842 if (num_free_extents < 0) { in ocfs2_lock_refcount_allocators()
2843 ret = num_free_extents; in ocfs2_lock_refcount_allocators()
2848 if (num_free_extents < num_clusters + 2) in ocfs2_lock_refcount_allocators()
Dxattr.c6738 int ret, num_free_extents; in ocfs2_lock_reflink_xattr_rec_allocators() local
6779 num_free_extents = ocfs2_num_free_extents(xt_et); in ocfs2_lock_reflink_xattr_rec_allocators()
6780 if (num_free_extents < 0) { in ocfs2_lock_reflink_xattr_rec_allocators()
6781 ret = num_free_extents; in ocfs2_lock_reflink_xattr_rec_allocators()
6786 if (num_free_extents < len) in ocfs2_lock_reflink_xattr_rec_allocators()