Lines Matching defs:ag
3132 xfs_agnumber_t fb_agno; /* ag number of ap->firstblock */
3280 xfs_agnumber_t ag,
3289 pag = xfs_perag_get(mp, ag);
3291 error = xfs_alloc_pagf_init(mp, tp, ag, XFS_ALLOC_FLAG_TRYLOCK);
3348 xfs_agnumber_t ag, startag;
3355 startag = ag = XFS_FSB_TO_AGNO(mp, args->fsbno);
3357 startag = ag = 0;
3360 error = xfs_bmap_longest_free_extent(args->tp, ag, blen,
3365 if (++ag == mp->m_sb.sb_agcount)
3366 ag = 0;
3367 if (ag == startag)
3382 xfs_agnumber_t ag;
3389 ag = XFS_FSB_TO_AGNO(mp, args->fsbno);
3390 if (ag == NULLAGNUMBER)
3391 ag = 0;
3393 error = xfs_bmap_longest_free_extent(args->tp, ag, blen, ¬init);
3398 error = xfs_filestream_new_ag(ap, &ag);
3402 error = xfs_bmap_longest_free_extent(args->tp, ag, blen,
3415 ap->blkno = args->fsbno = XFS_AGB_TO_FSB(mp, ag, 0);
3473 xfs_agnumber_t fb_agno; /* ag number of ap->firstblock */
3474 xfs_agnumber_t ag;
3518 ag = xfs_filestream_lookup_ag(ap->ip);
3519 ag = (ag != NULLAGNUMBER) ? ag : 0;
3520 ap->blkno = XFS_AGB_TO_FSB(mp, ag, 0);