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()
2611 uint32_t alloc_flags) in xfs_alloc_fix_freelist() argument
2627 error = xfs_alloc_read_agf(pag, tp, alloc_flags, &agbp); in xfs_alloc_fix_freelist()
2643 (alloc_flags & XFS_ALLOC_FLAG_TRYLOCK)) { in xfs_alloc_fix_freelist()
2644 ASSERT(!(alloc_flags & XFS_ALLOC_FLAG_FREEING)); in xfs_alloc_fix_freelist()
2649 if (!xfs_alloc_space_available(args, need, alloc_flags | in xfs_alloc_fix_freelist()
2658 error = xfs_alloc_read_agf(pag, tp, alloc_flags, &agbp); in xfs_alloc_fix_freelist()
2673 if (!xfs_alloc_space_available(args, need, alloc_flags)) in xfs_alloc_fix_freelist()
2711 if (alloc_flags & XFS_ALLOC_FLAG_NORMAP) in xfs_alloc_fix_freelist()
2715 while (!(alloc_flags & XFS_ALLOC_FLAG_NOSHRINK) && in xfs_alloc_fix_freelist()
2744 error = xfs_alloc_ag_vextent_size(&targs, alloc_flags); in xfs_alloc_fix_freelist()
2754 if (alloc_flags & XFS_ALLOC_FLAG_FREEING) in xfs_alloc_fix_freelist()
3312 uint32_t alloc_flags) in xfs_alloc_vextent_prepare_ag() argument
3321 error = xfs_alloc_fix_freelist(args, alloc_flags); in xfs_alloc_vextent_prepare_ag()
3443 uint32_t alloc_flags = 0; in xfs_alloc_vextent_this_ag() local
3462 error = xfs_alloc_vextent_prepare_ag(args, alloc_flags); in xfs_alloc_vextent_this_ag()
3464 error = xfs_alloc_ag_vextent_size(args, alloc_flags); in xfs_alloc_vextent_this_ag()
3493 uint32_t alloc_flags) in xfs_alloc_vextent_iterate_ags() argument
3500 if (alloc_flags & XFS_ALLOC_FLAG_TRYLOCK) in xfs_alloc_vextent_iterate_ags()
3506 error = xfs_alloc_vextent_prepare_ag(args, alloc_flags); in xfs_alloc_vextent_iterate_ags()
3520 error = xfs_alloc_ag_vextent_near(args, alloc_flags); in xfs_alloc_vextent_iterate_ags()
3523 error = xfs_alloc_ag_vextent_size(args, alloc_flags); in xfs_alloc_vextent_iterate_ags()
3540 if (alloc_flags & XFS_ALLOC_FLAG_TRYLOCK) { in xfs_alloc_vextent_iterate_ags()
3541 alloc_flags &= ~XFS_ALLOC_FLAG_TRYLOCK; in xfs_alloc_vextent_iterate_ags()
3569 uint32_t alloc_flags = XFS_ALLOC_FLAG_TRYLOCK; in xfs_alloc_vextent_start_ag() local
3596 XFS_FSB_TO_AGBNO(mp, target), alloc_flags); in xfs_alloc_vextent_start_ag()
3623 uint32_t alloc_flags = XFS_ALLOC_FLAG_TRYLOCK; in xfs_alloc_vextent_first_ag() local
3642 XFS_FSB_TO_AGBNO(mp, target), alloc_flags); in xfs_alloc_vextent_first_ag()
3695 uint32_t alloc_flags = 0; in xfs_alloc_vextent_near_bno() local
3716 error = xfs_alloc_vextent_prepare_ag(args, alloc_flags); in xfs_alloc_vextent_near_bno()
3718 error = xfs_alloc_ag_vextent_near(args, alloc_flags); in xfs_alloc_vextent_near_bno()