Lines Matching refs:alloc_flags
1677 uint32_t alloc_flags) in xfs_alloc_ag_vextent_near() argument
1697 alloc_flags |= XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_near()
1762 acur.busy_gen, alloc_flags); in xfs_alloc_ag_vextent_near()
1766 alloc_flags &= ~XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_near()
1792 uint32_t alloc_flags) in xfs_alloc_ag_vextent_size() argument
1807 alloc_flags |= XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_size()
1878 busy_gen, alloc_flags); in xfs_alloc_ag_vextent_size()
1882 alloc_flags &= ~XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_size()
1977 busy_gen, alloc_flags); in xfs_alloc_ag_vextent_size()
1981 alloc_flags &= ~XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_size()
2816 uint32_t alloc_flags) in xfs_alloc_fix_freelist() argument
2832 error = xfs_alloc_read_agf(pag, tp, alloc_flags, &agbp); in xfs_alloc_fix_freelist()
2848 (alloc_flags & XFS_ALLOC_FLAG_TRYLOCK)) { in xfs_alloc_fix_freelist()
2849 ASSERT(!(alloc_flags & XFS_ALLOC_FLAG_FREEING)); in xfs_alloc_fix_freelist()
2854 if (!xfs_alloc_space_available(args, need, alloc_flags | in xfs_alloc_fix_freelist()
2863 error = xfs_alloc_read_agf(pag, tp, alloc_flags, &agbp); in xfs_alloc_fix_freelist()
2878 if (!xfs_alloc_space_available(args, need, alloc_flags)) in xfs_alloc_fix_freelist()
2915 if (alloc_flags & XFS_ALLOC_FLAG_NORMAP) in xfs_alloc_fix_freelist()
2919 while (!(alloc_flags & XFS_ALLOC_FLAG_NOSHRINK) && in xfs_alloc_fix_freelist()
2961 error = xfs_alloc_ag_vextent_size(&targs, alloc_flags); in xfs_alloc_fix_freelist()
2971 if (alloc_flags & XFS_ALLOC_FLAG_FREEING) in xfs_alloc_fix_freelist()
3523 uint32_t alloc_flags) in xfs_alloc_vextent_prepare_ag() argument
3532 error = xfs_alloc_fix_freelist(args, alloc_flags); in xfs_alloc_vextent_prepare_ag()
3654 uint32_t alloc_flags = 0; in xfs_alloc_vextent_this_ag() local
3673 error = xfs_alloc_vextent_prepare_ag(args, alloc_flags); in xfs_alloc_vextent_this_ag()
3675 error = xfs_alloc_ag_vextent_size(args, alloc_flags); in xfs_alloc_vextent_this_ag()
3704 uint32_t alloc_flags) in xfs_alloc_vextent_iterate_ags() argument
3711 if (alloc_flags & XFS_ALLOC_FLAG_TRYLOCK) in xfs_alloc_vextent_iterate_ags()
3717 error = xfs_alloc_vextent_prepare_ag(args, alloc_flags); in xfs_alloc_vextent_iterate_ags()
3731 error = xfs_alloc_ag_vextent_near(args, alloc_flags); in xfs_alloc_vextent_iterate_ags()
3734 error = xfs_alloc_ag_vextent_size(args, alloc_flags); in xfs_alloc_vextent_iterate_ags()
3751 if (alloc_flags & XFS_ALLOC_FLAG_TRYLOCK) { in xfs_alloc_vextent_iterate_ags()
3752 alloc_flags &= ~XFS_ALLOC_FLAG_TRYLOCK; in xfs_alloc_vextent_iterate_ags()
3780 uint32_t alloc_flags = XFS_ALLOC_FLAG_TRYLOCK; in xfs_alloc_vextent_start_ag() local
3807 XFS_FSB_TO_AGBNO(mp, target), alloc_flags); in xfs_alloc_vextent_start_ag()
3834 uint32_t alloc_flags = XFS_ALLOC_FLAG_TRYLOCK; in xfs_alloc_vextent_first_ag() local
3853 XFS_FSB_TO_AGBNO(mp, target), alloc_flags); in xfs_alloc_vextent_first_ag()
3906 uint32_t alloc_flags = 0; in xfs_alloc_vextent_near_bno() local
3927 error = xfs_alloc_vextent_prepare_ag(args, alloc_flags); in xfs_alloc_vextent_near_bno()
3929 error = xfs_alloc_ag_vextent_near(args, alloc_flags); in xfs_alloc_vextent_near_bno()