Lines Matching refs:alloc_flags
1540 uint32_t alloc_flags) in xfs_alloc_ag_vextent_near() argument
1560 alloc_flags |= XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_near()
1625 acur.busy_gen, alloc_flags); in xfs_alloc_ag_vextent_near()
1629 alloc_flags &= ~XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_near()
1655 uint32_t alloc_flags) in xfs_alloc_ag_vextent_size() argument
1670 alloc_flags |= XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_size()
1740 busy_gen, alloc_flags); in xfs_alloc_ag_vextent_size()
1744 alloc_flags &= ~XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_size()
1835 busy_gen, alloc_flags); in xfs_alloc_ag_vextent_size()
1839 alloc_flags &= ~XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_size()
2630 uint32_t alloc_flags) in xfs_alloc_fix_freelist() argument
2646 error = xfs_alloc_read_agf(pag, tp, alloc_flags, &agbp); in xfs_alloc_fix_freelist()
2662 (alloc_flags & XFS_ALLOC_FLAG_TRYLOCK)) { in xfs_alloc_fix_freelist()
2663 ASSERT(!(alloc_flags & XFS_ALLOC_FLAG_FREEING)); in xfs_alloc_fix_freelist()
2668 if (!xfs_alloc_space_available(args, need, alloc_flags | in xfs_alloc_fix_freelist()
2677 error = xfs_alloc_read_agf(pag, tp, alloc_flags, &agbp); in xfs_alloc_fix_freelist()
2692 if (!xfs_alloc_space_available(args, need, alloc_flags)) in xfs_alloc_fix_freelist()
2729 if (alloc_flags & XFS_ALLOC_FLAG_NORMAP) in xfs_alloc_fix_freelist()
2733 while (!(alloc_flags & XFS_ALLOC_FLAG_NOSHRINK) && in xfs_alloc_fix_freelist()
2762 error = xfs_alloc_ag_vextent_size(&targs, alloc_flags); in xfs_alloc_fix_freelist()
2772 if (alloc_flags & XFS_ALLOC_FLAG_FREEING) in xfs_alloc_fix_freelist()
3330 uint32_t alloc_flags) in xfs_alloc_vextent_prepare_ag() argument
3339 error = xfs_alloc_fix_freelist(args, alloc_flags); in xfs_alloc_vextent_prepare_ag()
3461 uint32_t alloc_flags = 0; in xfs_alloc_vextent_this_ag() local
3480 error = xfs_alloc_vextent_prepare_ag(args, alloc_flags); in xfs_alloc_vextent_this_ag()
3482 error = xfs_alloc_ag_vextent_size(args, alloc_flags); in xfs_alloc_vextent_this_ag()
3511 uint32_t alloc_flags) in xfs_alloc_vextent_iterate_ags() argument
3518 if (alloc_flags & XFS_ALLOC_FLAG_TRYLOCK) in xfs_alloc_vextent_iterate_ags()
3524 error = xfs_alloc_vextent_prepare_ag(args, alloc_flags); in xfs_alloc_vextent_iterate_ags()
3538 error = xfs_alloc_ag_vextent_near(args, alloc_flags); in xfs_alloc_vextent_iterate_ags()
3541 error = xfs_alloc_ag_vextent_size(args, alloc_flags); in xfs_alloc_vextent_iterate_ags()
3558 if (alloc_flags & XFS_ALLOC_FLAG_TRYLOCK) { in xfs_alloc_vextent_iterate_ags()
3559 alloc_flags &= ~XFS_ALLOC_FLAG_TRYLOCK; in xfs_alloc_vextent_iterate_ags()
3587 uint32_t alloc_flags = XFS_ALLOC_FLAG_TRYLOCK; in xfs_alloc_vextent_start_ag() local
3614 XFS_FSB_TO_AGBNO(mp, target), alloc_flags); in xfs_alloc_vextent_start_ag()
3641 uint32_t alloc_flags = XFS_ALLOC_FLAG_TRYLOCK; in xfs_alloc_vextent_first_ag() local
3660 XFS_FSB_TO_AGBNO(mp, target), alloc_flags); in xfs_alloc_vextent_first_ag()
3713 uint32_t alloc_flags = 0; in xfs_alloc_vextent_near_bno() local
3734 error = xfs_alloc_vextent_prepare_ag(args, alloc_flags); in xfs_alloc_vextent_near_bno()
3736 error = xfs_alloc_ag_vextent_near(args, alloc_flags); in xfs_alloc_vextent_near_bno()