Lines Matching refs:target

365 	xfs_agblock_t	wantbno,	/* target starting block */
366 xfs_extlen_t wantlen, /* target length */
367 xfs_extlen_t alignment, /* target alignment */
378 xfs_agblock_t wantend; /* end of target extent */
3273 xfs_fsblock_t target,
3301 ASSERT(XFS_FSB_TO_AGNO(mp, target) < mp->m_sb.sb_agcount);
3302 ASSERT(XFS_FSB_TO_AGBNO(mp, target) < agsize);
3307 if (XFS_FSB_TO_AGNO(mp, target) >= mp->m_sb.sb_agcount ||
3308 XFS_FSB_TO_AGBNO(mp, target) >= agsize ||
3583 xfs_fsblock_t target)
3600 error = xfs_alloc_vextent_check_args(args, target, &minimum_agno);
3609 target = XFS_AGB_TO_FSB(mp,
3615 start_agno = max(minimum_agno, XFS_FSB_TO_AGNO(mp, target));
3617 XFS_FSB_TO_AGBNO(mp, target), alloc_flags);
3632 * Iterate from the agno indicated via @target through to the end of the
3634 * pass, so will not recurse into AGs lower than indicated by the target.
3639 xfs_fsblock_t target)
3654 error = xfs_alloc_vextent_check_args(args, target, &minimum_agno);
3661 start_agno = max(minimum_agno, XFS_FSB_TO_AGNO(mp, target));
3663 XFS_FSB_TO_AGBNO(mp, target), alloc_flags);
3668 * Allocate at the exact block target or fail. Caller is expected to hold a
3674 xfs_fsblock_t target)
3681 ASSERT(args->pag->pag_agno == XFS_FSB_TO_AGNO(mp, target));
3683 args->agno = XFS_FSB_TO_AGNO(mp, target);
3684 args->agbno = XFS_FSB_TO_AGBNO(mp, target);
3688 error = xfs_alloc_vextent_check_args(args, target, &minimum_agno);
3703 * Allocate an extent as close to the target as possible. If there are not
3711 xfs_fsblock_t target)
3720 ASSERT(args->pag->pag_agno == XFS_FSB_TO_AGNO(mp, target));
3722 args->agno = XFS_FSB_TO_AGNO(mp, target);
3723 args->agbno = XFS_FSB_TO_AGBNO(mp, target);
3727 error = xfs_alloc_vextent_check_args(args, target, &minimum_agno);