agno 91 fs/ext4/fsmap.c ext4_group_t agno; agno 135 fs/ext4/fsmap.c &agno, &cno); agno 136 fs/ext4/fsmap.c trace_ext4_fsmap_mapping(sb, info->gfi_dev, agno, agno 159 fs/ext4/fsmap.c ext4_get_group_no_and_offset(sb, rec_fsblk, &agno, &cno); agno 160 fs/ext4/fsmap.c trace_ext4_fsmap_mapping(sb, info->gfi_dev, agno, EXT4_C2B(sbi, cno), agno 187 fs/ext4/fsmap.c ext4_group_t agno, ext4_grpblk_t start, agno 199 fs/ext4/fsmap.c fsb = (EXT4_C2B(sbi, start) + ext4_group_first_block_no(sb, agno)); agno 243 fs/ext4/fsmap.c ext4_group_first_block_no(sb, agno + 1)) { agno 312 fs/ext4/fsmap.c ext4_group_t agno, agno 316 fs/ext4/fsmap.c ext4_fsblk_t fsb = ext4_group_first_block_no(sb, agno); agno 319 fs/ext4/fsmap.c unsigned long metagroup = agno / EXT4_DESC_PER_BLOCK(sb); agno 323 fs/ext4/fsmap.c if (ext4_bg_has_super(sb, agno)) { agno 331 fs/ext4/fsmap.c len = ext4_bg_num_gdb(sb, agno); agno 409 fs/ext4/fsmap.c ext4_group_t agno; agno 415 fs/ext4/fsmap.c for (agno = 0; agno < EXT4_SB(sb)->s_groups_count; agno++) { agno 416 fs/ext4/fsmap.c gdp = ext4_get_group_desc(sb, agno, NULL); agno 423 fs/ext4/fsmap.c error = ext4_getfsmap_find_sb(sb, agno, meta_list); agno 204 fs/ext4/mballoc.h ext4_group_t agno, agno 212 fs/ext4/mballoc.h ext4_group_t agno, agno 70 fs/jfs/jfs_discard.c int agno, agno_end; agno 97 fs/jfs/jfs_discard.c agno = BLKTOAG(start, JFS_SBI(ip->i_sb)); agno 99 fs/jfs/jfs_discard.c while (agno <= agno_end) { agno 100 fs/jfs/jfs_discard.c trimmed += dbDiscardAG(ip, agno, minlen); agno 101 fs/jfs/jfs_discard.c agno++; agno 83 fs/jfs/jfs_dmap.c static int dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, agno 689 fs/jfs/jfs_dmap.c int rc, agno; agno 744 fs/jfs/jfs_dmap.c agno = blkno >> bmp->db_agl2size; agno 755 fs/jfs/jfs_dmap.c if (atomic_read(&bmp->db_active[agno])) agno 789 fs/jfs/jfs_dmap.c writers = atomic_read(&bmp->db_active[agno]); agno 791 fs/jfs/jfs_dmap.c ((writers == 1) && (JFS_IP(ip)->active_ag != agno))) { agno 834 fs/jfs/jfs_dmap.c if ((rc = dbAllocAG(bmp, agno, nblocks, l2nb, results)) != -ENOSPC) agno 844 fs/jfs/jfs_dmap.c agno = dbNextAG(ipbmap); agno 850 fs/jfs/jfs_dmap.c if ((rc = dbAllocAG(bmp, agno, nblocks, l2nb, results)) == -ENOSPC) agno 1353 fs/jfs/jfs_dmap.c dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, s64 * results) agno 1373 fs/jfs/jfs_dmap.c blkno = (s64) agno << bmp->db_agl2size; agno 1393 fs/jfs/jfs_dmap.c || bmp->db_agfree[agno] == bmp->db_agsize) { agno 1396 fs/jfs/jfs_dmap.c (bmp->db_agfree[agno] == bmp->db_agsize)) { agno 1431 fs/jfs/jfs_dmap.c ti = bmp->db_agstart + bmp->db_agwidth * (agno & (agperlev - 1)); agno 1606 fs/jfs/jfs_dmap.c s64 dbDiscardAG(struct inode *ip, int agno, s64 minlen) agno 1627 fs/jfs/jfs_dmap.c nblocks = bmp->db_agfree[agno]; agno 1643 fs/jfs/jfs_dmap.c rc = dbAllocAG(bmp, agno, nblocks, l2nb, &blkno); agno 1650 fs/jfs/jfs_dmap.c if (bmp->db_agfree[agno] == 0) agno 1654 fs/jfs/jfs_dmap.c nblocks = bmp->db_agfree[agno]; agno 2167 fs/jfs/jfs_dmap.c int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; agno 2277 fs/jfs/jfs_dmap.c agno = blkno >> bmp->db_agl2size; agno 2278 fs/jfs/jfs_dmap.c if (agno > bmp->db_maxag) agno 2279 fs/jfs/jfs_dmap.c bmp->db_maxag = agno; agno 2282 fs/jfs/jfs_dmap.c bmp->db_agfree[agno] -= nblocks; agno 2314 fs/jfs/jfs_dmap.c int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; agno 2420 fs/jfs/jfs_dmap.c agno = blkno >> bmp->db_agl2size; agno 2422 fs/jfs/jfs_dmap.c bmp->db_agfree[agno] += nblocks; agno 2429 fs/jfs/jfs_dmap.c if ((bmp->db_agfree[agno] == bmp->db_agsize && agno == bmp->db_maxag) || agno 2430 fs/jfs/jfs_dmap.c (agno == bmp->db_numag - 1 && agno 2431 fs/jfs/jfs_dmap.c bmp->db_agfree[agno] == (bmp-> db_mapsize & (BPERDMAP - 1)))) { agno 3254 fs/jfs/jfs_dmap.c int dbitno, word, rembits, nb, nwords, wbitno, agno; agno 3329 fs/jfs/jfs_dmap.c agno = blkno >> bmp->db_agl2size; agno 3330 fs/jfs/jfs_dmap.c if (agno > bmp->db_maxag) agno 3331 fs/jfs/jfs_dmap.c bmp->db_maxag = agno; agno 3334 fs/jfs/jfs_dmap.c bmp->db_agfree[agno] -= nblocks; agno 3383 fs/jfs/jfs_dmap.c int agno, l2agsize, oldl2agsize; agno 3410 fs/jfs/jfs_dmap.c agno = bmp->db_numag; agno 3426 fs/jfs/jfs_dmap.c for (i = 0, n = 0; i < agno; n++) { agno 3430 fs/jfs/jfs_dmap.c for (j = 0; j < k && i < agno; j++, i++) { agno 3561 fs/jfs/jfs_dmap.c agno = le64_to_cpu(dp->start) >> l2agsize; agno 3562 fs/jfs/jfs_dmap.c bmp->db_agfree[agno] += n; agno 301 fs/jfs/jfs_dmap.h extern s64 dbDiscardAG(struct inode *ip, int agno, s64 minlen); agno 57 fs/jfs/jfs_imap.c #define AG_LOCK(imap,agno) mutex_lock(&imap->im_aglock[agno]) agno 58 fs/jfs/jfs_imap.c #define AG_UNLOCK(imap,agno) mutex_unlock(&imap->im_aglock[agno]) agno 849 fs/jfs/jfs_imap.c int iagno, ino, extno, bitno, sword, agno; agno 883 fs/jfs/jfs_imap.c agno = BLKTOAG(JFS_IP(ip)->agstart, JFS_SBI(ip->i_sb)); agno 887 fs/jfs/jfs_imap.c AG_LOCK(imap, agno); agno 898 fs/jfs/jfs_imap.c AG_UNLOCK(imap, agno); agno 918 fs/jfs/jfs_imap.c AG_UNLOCK(imap, agno); agno 927 fs/jfs/jfs_imap.c if (imap->im_agctl[agno].numfree > imap->im_agctl[agno].numinos) { agno 930 fs/jfs/jfs_imap.c AG_UNLOCK(imap, agno); agno 939 fs/jfs/jfs_imap.c imap->im_agctl[agno].numfree < 96 || agno 940 fs/jfs/jfs_imap.c (imap->im_agctl[agno].numfree < 288 && agno 941 fs/jfs/jfs_imap.c (((imap->im_agctl[agno].numfree * 100) / agno 942 fs/jfs/jfs_imap.c imap->im_agctl[agno].numinos) <= 25))) { agno 953 fs/jfs/jfs_imap.c if ((fwd = imap->im_agctl[agno].inofree) >= 0) { agno 959 fs/jfs/jfs_imap.c AG_UNLOCK(imap, agno); agno 976 fs/jfs/jfs_imap.c cpu_to_le32(imap->im_agctl[agno].inofree); agno 978 fs/jfs/jfs_imap.c imap->im_agctl[agno].inofree = iagno; agno 1002 fs/jfs/jfs_imap.c imap->im_agctl[agno].numfree += 1; agno 1007 fs/jfs/jfs_imap.c AG_UNLOCK(imap, agno); agno 1037 fs/jfs/jfs_imap.c if ((fwd = imap->im_agctl[agno].extfree) >= 0) { agno 1132 fs/jfs/jfs_imap.c cpu_to_le32(imap->im_agctl[agno].extfree); agno 1134 fs/jfs/jfs_imap.c imap->im_agctl[agno].extfree = iagno; agno 1146 fs/jfs/jfs_imap.c imap->im_agctl[agno].extfree = agno 1168 fs/jfs/jfs_imap.c imap->im_agctl[agno].inofree = agno 1206 fs/jfs/jfs_imap.c imap->im_agctl[agno].numfree -= (INOSPEREXT - 1); agno 1207 fs/jfs/jfs_imap.c imap->im_agctl[agno].numinos -= INOSPEREXT; agno 1266 fs/jfs/jfs_imap.c AG_UNLOCK(imap, agno); agno 1282 fs/jfs/jfs_imap.c AG_UNLOCK(imap, agno); agno 1324 fs/jfs/jfs_imap.c int nwords, rem, i, agno; agno 1344 fs/jfs/jfs_imap.c agno = dbNextAG(JFS_SBI(pip->i_sb)->ipbmap); agno 1345 fs/jfs/jfs_imap.c AG_LOCK(imap, agno); agno 1359 fs/jfs/jfs_imap.c agno = BLKTOAG(JFS_IP(pip)->agstart, JFS_SBI(pip->i_sb)); agno 1361 fs/jfs/jfs_imap.c if (atomic_read(&JFS_SBI(pip->i_sb)->bmap->db_active[agno])) { agno 1367 fs/jfs/jfs_imap.c agno = dbNextAG(JFS_SBI(pip->i_sb)->ipbmap); agno 1368 fs/jfs/jfs_imap.c AG_LOCK(imap, agno); agno 1380 fs/jfs/jfs_imap.c AG_LOCK(imap, agno); agno 1389 fs/jfs/jfs_imap.c AG_UNLOCK(imap, agno); agno 1398 fs/jfs/jfs_imap.c addext = (imap->im_agctl[agno].numfree < 32 && iagp->nfreeexts); agno 1441 fs/jfs/jfs_imap.c AG_UNLOCK(imap, agno); agno 1497 fs/jfs/jfs_imap.c AG_UNLOCK(imap, agno); agno 1524 fs/jfs/jfs_imap.c AG_UNLOCK(imap, agno); agno 1564 fs/jfs/jfs_imap.c AG_UNLOCK(imap, agno); agno 1585 fs/jfs/jfs_imap.c rc = diAllocAG(imap, agno, dir, ip); agno 1587 fs/jfs/jfs_imap.c AG_UNLOCK(imap, agno); agno 1595 fs/jfs/jfs_imap.c return (diAllocAny(imap, agno, dir, ip)); agno 1629 fs/jfs/jfs_imap.c diAllocAG(struct inomap * imap, int agno, bool dir, struct inode *ip) agno 1636 fs/jfs/jfs_imap.c numfree = imap->im_agctl[agno].numfree; agno 1637 fs/jfs/jfs_imap.c numinos = imap->im_agctl[agno].numinos; agno 1664 fs/jfs/jfs_imap.c if ((rc = diAllocExt(imap, agno, ip)) != -ENOSPC) agno 1671 fs/jfs/jfs_imap.c return (diAllocIno(imap, agno, ip)); agno 1699 fs/jfs/jfs_imap.c diAllocAny(struct inomap * imap, int agno, bool dir, struct inode *ip) agno 1708 fs/jfs/jfs_imap.c for (ag = agno + 1; ag <= maxag; ag++) { agno 1721 fs/jfs/jfs_imap.c for (ag = 0; ag < agno; ag++) { agno 1763 fs/jfs/jfs_imap.c static int diAllocIno(struct inomap * imap, int agno, struct inode *ip) agno 1771 fs/jfs/jfs_imap.c if ((iagno = imap->im_agctl[agno].inofree) < 0) agno 1887 fs/jfs/jfs_imap.c static int diAllocExt(struct inomap * imap, int agno, struct inode *ip) agno 1896 fs/jfs/jfs_imap.c if ((iagno = imap->im_agctl[agno].extfree) < 0) { agno 1900 fs/jfs/jfs_imap.c if ((rc = diNewIAG(imap, &iagno, agno, &mp))) { agno 1908 fs/jfs/jfs_imap.c cpu_to_le64(AGTOBLK(agno, imap->im_ipimap)); agno 2006 fs/jfs/jfs_imap.c int extno, bitno, agno, sword, rc; agno 2041 fs/jfs/jfs_imap.c agno = BLKTOAG(le64_to_cpu(iagp->agstart), JFS_SBI(imap->im_ipimap->i_sb)); agno 2090 fs/jfs/jfs_imap.c imap->im_agctl[agno].inofree = agno 2100 fs/jfs/jfs_imap.c imap->im_agctl[agno].numfree -= 1; agno 2152 fs/jfs/jfs_imap.c int agno, iagno, fwd, back, freei = 0, sword, rc; agno 2179 fs/jfs/jfs_imap.c agno = BLKTOAG(le64_to_cpu(iagp->agstart), sbi); agno 2208 fs/jfs/jfs_imap.c if ((fwd = imap->im_agctl[agno].extfree) >= 0) { agno 2224 fs/jfs/jfs_imap.c freei = imap->im_agctl[agno].inofree; agno 2248 fs/jfs/jfs_imap.c hint = ((s64) agno << sbi->bmap->db_agl2size) - 1; agno 2299 fs/jfs/jfs_imap.c imap->im_agctl[agno].extfree = agno 2313 fs/jfs/jfs_imap.c imap->im_agctl[agno].extfree = iagno; agno 2325 fs/jfs/jfs_imap.c cpu_to_le32(imap->im_agctl[agno].inofree); agno 2327 fs/jfs/jfs_imap.c imap->im_agctl[agno].inofree = iagno; agno 2358 fs/jfs/jfs_imap.c imap->im_agctl[agno].numfree += (INOSPEREXT - 1); agno 2359 fs/jfs/jfs_imap.c imap->im_agctl[agno].numinos += INOSPEREXT; agno 2432 fs/jfs/jfs_imap.c diNewIAG(struct inomap * imap, int *iagnop, int agno, struct metapage ** mpp) agno 50 fs/xfs/libxfs/xfs_ag.c id->agno == XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart); agno 62 fs/xfs/libxfs/xfs_ag.c xfs_btree_init_block(mp, bp, id->type, 0, 0, id->agno); agno 129 fs/xfs/libxfs/xfs_ag.c xfs_btree_init_block(mp, bp, XFS_BTNUM_BNO, 0, 1, id->agno); agno 139 fs/xfs/libxfs/xfs_ag.c xfs_btree_init_block(mp, bp, XFS_BTNUM_CNT, 0, 1, id->agno); agno 155 fs/xfs/libxfs/xfs_ag.c xfs_btree_init_block(mp, bp, XFS_BTNUM_RMAP, 0, 4, id->agno); agno 248 fs/xfs/libxfs/xfs_ag.c agf->agf_seqno = cpu_to_be32(id->agno); agno 297 fs/xfs/libxfs/xfs_ag.c agfl->agfl_seqno = cpu_to_be32(id->agno); agno 317 fs/xfs/libxfs/xfs_ag.c agi->agi_seqno = cpu_to_be32(id->agno); agno 385 fs/xfs/libxfs/xfs_ag.c .daddr = XFS_AG_DADDR(mp, id->agno, XFS_SB_DADDR), agno 392 fs/xfs/libxfs/xfs_ag.c .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGF_DADDR(mp)), agno 399 fs/xfs/libxfs/xfs_ag.c .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGFL_DADDR(mp)), agno 406 fs/xfs/libxfs/xfs_ag.c .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGI_DADDR(mp)), agno 413 fs/xfs/libxfs/xfs_ag.c .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_BNO_BLOCK(mp)), agno 420 fs/xfs/libxfs/xfs_ag.c .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_CNT_BLOCK(mp)), agno 427 fs/xfs/libxfs/xfs_ag.c .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_IBT_BLOCK(mp)), agno 435 fs/xfs/libxfs/xfs_ag.c .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_FIBT_BLOCK(mp)), agno 443 fs/xfs/libxfs/xfs_ag.c .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_RMAP_BLOCK(mp)), agno 450 fs/xfs/libxfs/xfs_ag.c .daddr = XFS_AGB_TO_DADDR(mp, id->agno, xfs_refc_block(mp)), agno 498 fs/xfs/libxfs/xfs_ag.c error = xfs_ialloc_read_agi(mp, tp, id->agno, &bp); agno 504 fs/xfs/libxfs/xfs_ag.c ASSERT(id->agno == mp->m_sb.sb_agcount - 1 || agno 511 fs/xfs/libxfs/xfs_ag.c error = xfs_alloc_read_agf(mp, tp, id->agno, 0, &bp); agno 526 fs/xfs/libxfs/xfs_ag.c error = xfs_rmap_free(tp, bp, id->agno, agno 532 fs/xfs/libxfs/xfs_ag.c return xfs_free_extent(tp, XFS_AGB_TO_FSB(mp, id->agno, agno 542 fs/xfs/libxfs/xfs_ag.c xfs_agnumber_t agno, agno 553 fs/xfs/libxfs/xfs_ag.c if (agno >= mp->m_sb.sb_agcount) agno 557 fs/xfs/libxfs/xfs_ag.c error = xfs_ialloc_read_agi(mp, NULL, agno, &agi_bp); agno 560 fs/xfs/libxfs/xfs_ag.c error = xfs_alloc_read_agf(mp, NULL, agno, 0, &agf_bp); agno 563 fs/xfs/libxfs/xfs_ag.c pag = xfs_perag_get(mp, agno); agno 567 fs/xfs/libxfs/xfs_ag.c ageo->ag_number = agno; agno 15 fs/xfs/libxfs/xfs_ag.h xfs_agblock_t agno; /* ag to init */ agno 29 fs/xfs/libxfs/xfs_ag.h int xfs_ag_get_geometry(struct xfs_mount *mp, xfs_agnumber_t agno, agno 247 fs/xfs/libxfs/xfs_ag_resv.c xfs_agnumber_t agno = pag->pag_agno; agno 256 fs/xfs/libxfs/xfs_ag_resv.c error = xfs_refcountbt_calc_reserves(mp, tp, agno, &ask, &used); agno 260 fs/xfs/libxfs/xfs_ag_resv.c error = xfs_finobt_calc_reserves(mp, tp, agno, &ask, &used); agno 278 fs/xfs/libxfs/xfs_ag_resv.c error = xfs_refcountbt_calc_reserves(mp, tp, agno, &ask, agno 294 fs/xfs/libxfs/xfs_ag_resv.c error = xfs_rmapbt_calc_reserves(mp, tp, agno, &ask, &used); agno 29 fs/xfs/libxfs/xfs_ag_resv.h xfs_agnumber_t agno) agno 35 fs/xfs/libxfs/xfs_ag_resv.h pag = xfs_perag_get(mp, agno); agno 43 fs/xfs/libxfs/xfs_ag_resv.h xfs_agnumber_t agno) agno 47 fs/xfs/libxfs/xfs_ag_resv.h pag = xfs_perag_get(mp, agno); agno 215 fs/xfs/libxfs/xfs_alloc.c xfs_agnumber_t agno = cur->bc_private.a.agno; agno 230 fs/xfs/libxfs/xfs_alloc.c if (!xfs_verify_agbno(mp, agno, *bno)) agno 234 fs/xfs/libxfs/xfs_alloc.c if (!xfs_verify_agbno(mp, agno, *bno + *len - 1)) agno 242 fs/xfs/libxfs/xfs_alloc.c cur->bc_btnum == XFS_BTNUM_BNO ? "Block" : "Size", agno); agno 655 fs/xfs/libxfs/xfs_alloc.c xfs_agnumber_t agno, /* allocation group number */ agno 661 fs/xfs/libxfs/xfs_alloc.c ASSERT(agno != NULLAGNUMBER); agno 664 fs/xfs/libxfs/xfs_alloc.c XFS_AG_DADDR(mp, agno, XFS_AGFL_DADDR(mp)), agno 746 fs/xfs/libxfs/xfs_alloc.c xfs_extent_busy_reuse(args->mp, args->agno, fbno, 1, agno 752 fs/xfs/libxfs/xfs_alloc.c bp = xfs_btree_get_bufs(args->mp, args->tp, args->agno, fbno); agno 771 fs/xfs/libxfs/xfs_alloc.c error = xfs_rmap_free(args->tp, args->agbp, args->agno, fbno, 1, agno 848 fs/xfs/libxfs/xfs_alloc.c error = xfs_rmap_alloc(args->tp, args->agbp, args->agno, agno 861 fs/xfs/libxfs/xfs_alloc.c ASSERT(!xfs_extent_busy_search(args->mp, args->agno, agno 899 fs/xfs/libxfs/xfs_alloc.c args->agno, XFS_BTNUM_BNO); agno 956 fs/xfs/libxfs/xfs_alloc.c args->agno, XFS_BTNUM_CNT); agno 1144 fs/xfs/libxfs/xfs_alloc.c args->agno, XFS_BTNUM_CNT); agno 1269 fs/xfs/libxfs/xfs_alloc.c args->agbp, args->agno, XFS_BTNUM_BNO); agno 1298 fs/xfs/libxfs/xfs_alloc.c args->agno, XFS_BTNUM_BNO); agno 1509 fs/xfs/libxfs/xfs_alloc.c args->agno, XFS_BTNUM_CNT); agno 1651 fs/xfs/libxfs/xfs_alloc.c args->agno, XFS_BTNUM_BNO); agno 1689 fs/xfs/libxfs/xfs_alloc.c xfs_agnumber_t agno, agno 1714 fs/xfs/libxfs/xfs_alloc.c error = xfs_rmap_free(tp, agbp, agno, bno, len, oinfo); agno 1722 fs/xfs/libxfs/xfs_alloc.c bno_cur = xfs_allocbt_init_cursor(mp, tp, agbp, agno, XFS_BTNUM_BNO); agno 1781 fs/xfs/libxfs/xfs_alloc.c cnt_cur = xfs_allocbt_init_cursor(mp, tp, agbp, agno, XFS_BTNUM_CNT); agno 1919 fs/xfs/libxfs/xfs_alloc.c pag = xfs_perag_get(mp, agno); agno 1929 fs/xfs/libxfs/xfs_alloc.c trace_xfs_free_extent(mp, agno, bno, len, type, haveleft, haveright); agno 1934 fs/xfs/libxfs/xfs_alloc.c trace_xfs_free_extent(mp, agno, bno, len, type, -1, -1); agno 2076 fs/xfs/libxfs/xfs_alloc.c xfs_agnumber_t agno, agno 2084 fs/xfs/libxfs/xfs_alloc.c error = xfs_free_ag_extent(tp, agbp, agno, agbno, 1, oinfo, agno 2089 fs/xfs/libxfs/xfs_alloc.c bp = xfs_btree_get_bufs(tp->t_mountp, tp, agno, agbno); agno 2198 fs/xfs/libxfs/xfs_alloc.c xfs_agnumber_t agno, agno 2209 fs/xfs/libxfs/xfs_alloc.c new->xefi_startblock = XFS_AGB_TO_FSB(mp, agno, agbno); agno 2213 fs/xfs/libxfs/xfs_alloc.c trace_xfs_agfl_free_defer(mp, agno, 0, agbno, 1); agno 2241 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_read_agf(mp, tp, args->agno, flags, &agbp); agno 2272 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_read_agf(mp, tp, args->agno, flags, &agbp); agno 2327 fs/xfs/libxfs/xfs_alloc.c xfs_defer_agfl_block(tp, args->agno, bno, &targs.oinfo); agno 2333 fs/xfs/libxfs/xfs_alloc.c targs.agno = args->agno; agno 2337 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_read_agfl(mp, tp, targs.agno, &agflbp); agno 2502 fs/xfs/libxfs/xfs_alloc.c xfs_agnumber_t agno, /* allocation group number */ agno 2508 fs/xfs/libxfs/xfs_alloc.c if ((error = xfs_alloc_read_agf(mp, tp, agno, flags, &bp))) agno 2689 fs/xfs/libxfs/xfs_alloc.c xfs_agnumber_t agno, /* allocation group number */ agno 2695 fs/xfs/libxfs/xfs_alloc.c trace_xfs_read_agf(mp, agno); agno 2697 fs/xfs/libxfs/xfs_alloc.c ASSERT(agno != NULLAGNUMBER); agno 2700 fs/xfs/libxfs/xfs_alloc.c XFS_AG_DADDR(mp, agno, XFS_AGF_DADDR(mp)), agno 2719 fs/xfs/libxfs/xfs_alloc.c xfs_agnumber_t agno, /* allocation group number */ agno 2727 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_read_agf(mp, agno); agno 2729 fs/xfs/libxfs/xfs_alloc.c ASSERT(agno != NULLAGNUMBER); agno 2730 fs/xfs/libxfs/xfs_alloc.c error = xfs_read_agf(mp, tp, agno, agno 2740 fs/xfs/libxfs/xfs_alloc.c pag = xfs_perag_get(mp, agno); agno 2824 fs/xfs/libxfs/xfs_alloc.c args->agno = XFS_FSB_TO_AGNO(mp, args->fsbno); agno 2825 fs/xfs/libxfs/xfs_alloc.c args->pag = xfs_perag_get(mp, args->agno); agno 2862 fs/xfs/libxfs/xfs_alloc.c args->agno = XFS_FSB_TO_AGNO(mp, args->fsbno); agno 2870 fs/xfs/libxfs/xfs_alloc.c args->agno = sagno = XFS_FSB_TO_AGNO(mp, args->fsbno); agno 2878 fs/xfs/libxfs/xfs_alloc.c args->pag = xfs_perag_get(mp, args->agno); agno 2898 fs/xfs/libxfs/xfs_alloc.c if (args->agno == sagno && agno 2908 fs/xfs/libxfs/xfs_alloc.c if (++(args->agno) == mp->m_sb.sb_agcount) { agno 2910 fs/xfs/libxfs/xfs_alloc.c args->agno = sagno; agno 2912 fs/xfs/libxfs/xfs_alloc.c args->agno = 0; agno 2918 fs/xfs/libxfs/xfs_alloc.c if (args->agno == sagno) { agno 2935 fs/xfs/libxfs/xfs_alloc.c if (args->agno == sagno) agno 2939 fs/xfs/libxfs/xfs_alloc.c mp->m_agfrotor = (args->agno * rotorstep + 1) % agno 2950 fs/xfs/libxfs/xfs_alloc.c args->fsbno = XFS_AGB_TO_FSB(mp, args->agno, args->agbno); agno 2978 fs/xfs/libxfs/xfs_alloc.c xfs_agnumber_t agno, agno 2987 fs/xfs/libxfs/xfs_alloc.c args.agno = agno; agno 2993 fs/xfs/libxfs/xfs_alloc.c if (args.agno >= args.mp->m_sb.sb_agcount) agno 2996 fs/xfs/libxfs/xfs_alloc.c args.pag = xfs_perag_get(args.mp, args.agno); agno 3025 fs/xfs/libxfs/xfs_alloc.c xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, bno); agno 3037 fs/xfs/libxfs/xfs_alloc.c error = xfs_free_extent_fix_freelist(tp, agno, &agbp); agno 3048 fs/xfs/libxfs/xfs_alloc.c error = xfs_free_ag_extent(tp, agbp, agno, agbno, len, oinfo, type); agno 3054 fs/xfs/libxfs/xfs_alloc.c xfs_extent_busy_insert(tp, agno, agbno, len, busy_flags); agno 59 fs/xfs/libxfs/xfs_alloc.h xfs_agnumber_t agno; /* allocation group number */ agno 145 fs/xfs/libxfs/xfs_alloc.h xfs_agnumber_t agno, /* allocation group number */ agno 166 fs/xfs/libxfs/xfs_alloc.h xfs_agnumber_t agno, /* allocation group number */ agno 222 fs/xfs/libxfs/xfs_alloc.h xfs_agnumber_t agno, int flags, struct xfs_buf **bpp); agno 224 fs/xfs/libxfs/xfs_alloc.h xfs_agnumber_t agno, struct xfs_buf **bpp); agno 228 fs/xfs/libxfs/xfs_alloc.h int xfs_free_extent_fix_freelist(struct xfs_trans *tp, xfs_agnumber_t agno, agno 28 fs/xfs/libxfs/xfs_alloc_btree.c cur->bc_private.a.agbp, cur->bc_private.a.agno, agno 75 fs/xfs/libxfs/xfs_alloc_btree.c xfs_extent_busy_reuse(cur->bc_mp, cur->bc_private.a.agno, bno, 1, false); agno 231 fs/xfs/libxfs/xfs_alloc_btree.c ASSERT(cur->bc_private.a.agno == be32_to_cpu(agf->agf_seqno)); agno 482 fs/xfs/libxfs/xfs_alloc_btree.c xfs_agnumber_t agno, /* allocation group number */ agno 509 fs/xfs/libxfs/xfs_alloc_btree.c cur->bc_private.a.agno = agno; agno 540 fs/xfs/libxfs/xfs_bmap.c xfs_agnumber_t agno; agno 547 fs/xfs/libxfs/xfs_bmap.c agno = XFS_FSB_TO_AGNO(mp, bno); agno 549 fs/xfs/libxfs/xfs_bmap.c ASSERT(agno < mp->m_sb.sb_agcount); agno 725 fs/xfs/libxfs/xfs_bmap.c args.agno >= XFS_FSB_TO_AGNO(mp, tp->t_firstblock)); agno 3617 fs/xfs/libxfs/xfs_bmap.c ASSERT(nullfb || fb_agno <= args.agno); agno 5202 fs/xfs/libxfs/xfs_bmap.c xfs_agnumber_t prev_agno = NULLAGNUMBER, agno; agno 5304 fs/xfs/libxfs/xfs_bmap.c agno = XFS_FSB_TO_AGNO(mp, del.br_startblock); agno 5305 fs/xfs/libxfs/xfs_bmap.c if (prev_agno != NULLAGNUMBER && prev_agno > agno) agno 5307 fs/xfs/libxfs/xfs_bmap.c prev_agno = agno; agno 219 fs/xfs/libxfs/xfs_btree.c return xfs_verify_agbno(cur->bc_mp, cur->bc_private.a.agno, agbno); agno 248 fs/xfs/libxfs/xfs_btree.c cur->bc_private.a.agno, cur->bc_btnum, agno 708 fs/xfs/libxfs/xfs_btree.c xfs_agnumber_t agno, /* allocation group number */ agno 713 fs/xfs/libxfs/xfs_btree.c ASSERT(agno != NULLAGNUMBER); agno 715 fs/xfs/libxfs/xfs_btree.c d = XFS_AGB_TO_DADDR(mp, agno, agbno); agno 891 fs/xfs/libxfs/xfs_btree.c xfs_agnumber_t agno, /* allocation group number */ agno 898 fs/xfs/libxfs/xfs_btree.c ASSERT(agno != NULLAGNUMBER); agno 900 fs/xfs/libxfs/xfs_btree.c d = XFS_AGB_TO_DADDR(mp, agno, agbno); agno 941 fs/xfs/libxfs/xfs_btree.c xfs_btree_reada_bufs(cur->bc_mp, cur->bc_private.a.agno, agno 947 fs/xfs/libxfs/xfs_btree.c xfs_btree_reada_bufs(cur->bc_mp, cur->bc_private.a.agno, agno 1005 fs/xfs/libxfs/xfs_btree.c *daddr = XFS_AGB_TO_DADDR(cur->bc_mp, cur->bc_private.a.agno, agno 1206 fs/xfs/libxfs/xfs_btree.c owner = cur->bc_private.a.agno; agno 4502 fs/xfs/libxfs/xfs_btree.c xfs_agblock_t agno; agno 4509 fs/xfs/libxfs/xfs_btree.c agno = xfs_daddr_to_agno(mp, XFS_BUF_ADDR(bp)); agno 4511 fs/xfs/libxfs/xfs_btree.c !xfs_verify_agbno(mp, agno, be32_to_cpu(block->bb_u.s.bb_leftsib))) agno 4514 fs/xfs/libxfs/xfs_btree.c !xfs_verify_agbno(mp, agno, be32_to_cpu(block->bb_u.s.bb_rightsib))) agno 211 fs/xfs/libxfs/xfs_btree.h xfs_agnumber_t agno; /* ag number */ agno 314 fs/xfs/libxfs/xfs_btree.h xfs_agnumber_t agno, /* allocation group number */ agno 368 fs/xfs/libxfs/xfs_btree.h xfs_agnumber_t agno, /* allocation group number */ agno 804 fs/xfs/libxfs/xfs_format.h #define XFS_AGB_TO_FSB(mp,agno,agbno) \ agno 805 fs/xfs/libxfs/xfs_format.h (((xfs_fsblock_t)(agno) << (mp)->m_sb.sb_agblklog) | (agbno)) agno 810 fs/xfs/libxfs/xfs_format.h #define XFS_AGB_TO_DADDR(mp,agno,agbno) \ agno 812 fs/xfs/libxfs/xfs_format.h (xfs_fsblock_t)(agno) * (mp)->m_sb.sb_agblocks + (agbno))) agno 813 fs/xfs/libxfs/xfs_format.h #define XFS_AG_DADDR(mp,agno,d) (XFS_AGB_TO_DADDR(mp, agno, 0) + (d)) agno 465 fs/xfs/libxfs/xfs_fs.h uint32_t agno; /* I: see comment for IREQ_AGNO */ agno 108 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno = cur->bc_private.a.agno; agno 119 fs/xfs/libxfs/xfs_ialloc.c if (!xfs_verify_agino(mp, agno, irec->ir_startino)) agno 140 fs/xfs/libxfs/xfs_ialloc.c cur->bc_btnum == XFS_BTNUM_INO ? "Used" : "Free", agno); agno 181 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); agno 186 fs/xfs/libxfs/xfs_ialloc.c cur = xfs_inobt_init_cursor(mp, tp, agbp, agno, btnum); agno 267 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno, agno 308 fs/xfs/libxfs/xfs_ialloc.c ino = XFS_AGINO_TO_INO(mp, agno, XFS_AGB_TO_AGINO(mp, agbno)); agno 319 fs/xfs/libxfs/xfs_ialloc.c xfs_icreate_log(tp, agno, agbno, icount, agno 328 fs/xfs/libxfs/xfs_ialloc.c d = XFS_AGB_TO_DADDR(mp, agno, agbno + agno 529 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); agno 534 fs/xfs/libxfs/xfs_ialloc.c cur = xfs_inobt_init_cursor(mp, tp, agbp, agno, btnum); agno 572 fs/xfs/libxfs/xfs_ialloc.c trace_xfs_irec_merge_pre(mp, agno, rec.ir_startino, agno 579 fs/xfs/libxfs/xfs_ialloc.c trace_xfs_irec_merge_post(mp, agno, nrec->ir_startino, agno 611 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno; agno 654 fs/xfs/libxfs/xfs_ialloc.c agno = be32_to_cpu(agi->agi_seqno); agno 661 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); agno 721 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); agno 742 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); agno 758 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); agno 804 fs/xfs/libxfs/xfs_ialloc.c error = xfs_ialloc_inode_init(args.mp, tp, NULL, newlen, agno, agno 836 fs/xfs/libxfs/xfs_ialloc.c XFS_AGINO_TO_INO(args.mp, agno, agno 882 fs/xfs/libxfs/xfs_ialloc.c pag = xfs_perag_get(args.mp, agno); agno 906 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno; agno 909 fs/xfs/libxfs/xfs_ialloc.c agno = mp->m_agirotor; agno 914 fs/xfs/libxfs/xfs_ialloc.c return agno; agno 928 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno; /* current ag number */ agno 962 fs/xfs/libxfs/xfs_ialloc.c agno = pagno; agno 965 fs/xfs/libxfs/xfs_ialloc.c pag = xfs_perag_get(mp, agno); agno 972 fs/xfs/libxfs/xfs_ialloc.c error = xfs_ialloc_pagi_init(mp, tp, agno); agno 979 fs/xfs/libxfs/xfs_ialloc.c return agno; agno 983 fs/xfs/libxfs/xfs_ialloc.c error = xfs_alloc_pagf_init(mp, tp, agno, flags); agno 1014 fs/xfs/libxfs/xfs_ialloc.c return agno; agno 1024 fs/xfs/libxfs/xfs_ialloc.c agno++; agno 1025 fs/xfs/libxfs/xfs_ialloc.c if (agno >= agcount) agno 1026 fs/xfs/libxfs/xfs_ialloc.c agno = 0; agno 1027 fs/xfs/libxfs/xfs_ialloc.c if (agno == pagno) { agno 1123 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); agno 1135 fs/xfs/libxfs/xfs_ialloc.c pag = xfs_perag_get(mp, agno); agno 1142 fs/xfs/libxfs/xfs_ialloc.c cur = xfs_inobt_init_cursor(mp, tp, agbp, agno, XFS_BTNUM_INO); agno 1157 fs/xfs/libxfs/xfs_ialloc.c if (pagno == agno) { agno 1345 fs/xfs/libxfs/xfs_ialloc.c ino = XFS_AGINO_TO_INO(mp, agno, rec.ir_startino + offset); agno 1547 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); agno 1562 fs/xfs/libxfs/xfs_ialloc.c pag = xfs_perag_get(mp, agno); agno 1571 fs/xfs/libxfs/xfs_ialloc.c cur = xfs_inobt_init_cursor(mp, tp, agbp, agno, XFS_BTNUM_FINO); agno 1582 fs/xfs/libxfs/xfs_ialloc.c if (agno == pagno) agno 1594 fs/xfs/libxfs/xfs_ialloc.c ino = XFS_AGINO_TO_INO(mp, agno, rec.ir_startino + offset); agno 1614 fs/xfs/libxfs/xfs_ialloc.c icur = xfs_inobt_init_cursor(mp, tp, agbp, agno, XFS_BTNUM_INO); agno 1686 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno; agno 1735 fs/xfs/libxfs/xfs_ialloc.c agno = start_agno; agno 1737 fs/xfs/libxfs/xfs_ialloc.c pag = xfs_perag_get(mp, agno); agno 1744 fs/xfs/libxfs/xfs_ialloc.c error = xfs_ialloc_pagi_init(mp, tp, agno); agno 1759 fs/xfs/libxfs/xfs_ialloc.c error = xfs_ialloc_read_agi(mp, tp, agno, &agbp); agno 1803 fs/xfs/libxfs/xfs_ialloc.c if (++agno == mp->m_sb.sb_agcount) agno 1804 fs/xfs/libxfs/xfs_ialloc.c agno = 0; agno 1805 fs/xfs/libxfs/xfs_ialloc.c if (agno == start_agno) { agno 1827 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno, agno 1841 fs/xfs/libxfs/xfs_ialloc.c xfs_bmap_add_free(tp, XFS_AGB_TO_FSB(mp, agno, sagbno), agno 1886 fs/xfs/libxfs/xfs_ialloc.c xfs_bmap_add_free(tp, XFS_AGB_TO_FSB(mp, agno, agbno), agno 1907 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); agno 1922 fs/xfs/libxfs/xfs_ialloc.c cur = xfs_inobt_init_cursor(mp, tp, agbp, agno, XFS_BTNUM_INO); agno 1965 fs/xfs/libxfs/xfs_ialloc.c xic->first_ino = XFS_AGINO_TO_INO(mp, agno, rec.ir_startino); agno 1977 fs/xfs/libxfs/xfs_ialloc.c pag = xfs_perag_get(mp, agno); agno 1990 fs/xfs/libxfs/xfs_ialloc.c xfs_difree_inode_chunk(tp, agno, &rec); agno 2006 fs/xfs/libxfs/xfs_ialloc.c pag = xfs_perag_get(mp, agno); agno 2037 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); agno 2044 fs/xfs/libxfs/xfs_ialloc.c cur = xfs_inobt_init_cursor(mp, tp, agbp, agno, XFS_BTNUM_FINO); agno 2141 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno; /* allocation group number */ agno 2151 fs/xfs/libxfs/xfs_ialloc.c agno = XFS_INO_TO_AGNO(mp, inode); agno 2152 fs/xfs/libxfs/xfs_ialloc.c if (agno >= mp->m_sb.sb_agcount) { agno 2154 fs/xfs/libxfs/xfs_ialloc.c __func__, agno, mp->m_sb.sb_agcount); agno 2159 fs/xfs/libxfs/xfs_ialloc.c if (inode != XFS_AGINO_TO_INO(mp, agno, agino)) { agno 2162 fs/xfs/libxfs/xfs_ialloc.c (unsigned long long)XFS_AGINO_TO_INO(mp, agno, agino)); agno 2176 fs/xfs/libxfs/xfs_ialloc.c error = xfs_ialloc_read_agi(mp, tp, agno, &agbp); agno 2209 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno, agno 2222 fs/xfs/libxfs/xfs_ialloc.c error = xfs_ialloc_read_agi(mp, tp, agno, &agbp); agno 2226 fs/xfs/libxfs/xfs_ialloc.c __func__, error, agno); agno 2236 fs/xfs/libxfs/xfs_ialloc.c cur = xfs_inobt_init_cursor(mp, tp, agbp, agno, XFS_BTNUM_INO); agno 2278 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno; /* allocation group number */ agno 2290 fs/xfs/libxfs/xfs_ialloc.c agno = XFS_INO_TO_AGNO(mp, ino); agno 2293 fs/xfs/libxfs/xfs_ialloc.c if (agno >= mp->m_sb.sb_agcount || agbno >= mp->m_sb.sb_agblocks || agno 2294 fs/xfs/libxfs/xfs_ialloc.c ino != XFS_AGINO_TO_INO(mp, agno, agino)) { agno 2302 fs/xfs/libxfs/xfs_ialloc.c if (agno >= mp->m_sb.sb_agcount) { agno 2305 fs/xfs/libxfs/xfs_ialloc.c __func__, agno, mp->m_sb.sb_agcount); agno 2313 fs/xfs/libxfs/xfs_ialloc.c if (ino != XFS_AGINO_TO_INO(mp, agno, agino)) { agno 2317 fs/xfs/libxfs/xfs_ialloc.c XFS_AGINO_TO_INO(mp, agno, agino)); agno 2332 fs/xfs/libxfs/xfs_ialloc.c error = xfs_imap_lookup(mp, tp, agno, agino, agbno, agno 2347 fs/xfs/libxfs/xfs_ialloc.c imap->im_blkno = XFS_AGB_TO_DADDR(mp, agno, agbno); agno 2363 fs/xfs/libxfs/xfs_ialloc.c error = xfs_imap_lookup(mp, tp, agno, agino, agbno, agno 2377 fs/xfs/libxfs/xfs_ialloc.c imap->im_blkno = XFS_AGB_TO_DADDR(mp, agno, cluster_agbno); agno 2572 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno, /* allocation group number */ agno 2577 fs/xfs/libxfs/xfs_ialloc.c trace_xfs_read_agi(mp, agno); agno 2579 fs/xfs/libxfs/xfs_ialloc.c ASSERT(agno != NULLAGNUMBER); agno 2581 fs/xfs/libxfs/xfs_ialloc.c XFS_AG_DADDR(mp, agno, XFS_AGI_DADDR(mp)), agno 2596 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno, /* allocation group number */ agno 2603 fs/xfs/libxfs/xfs_ialloc.c trace_xfs_ialloc_read_agi(mp, agno); agno 2605 fs/xfs/libxfs/xfs_ialloc.c error = xfs_read_agi(mp, tp, agno, bpp); agno 2610 fs/xfs/libxfs/xfs_ialloc.c pag = xfs_perag_get(mp, agno); agno 2634 fs/xfs/libxfs/xfs_ialloc.c xfs_agnumber_t agno) /* allocation group number */ agno 2639 fs/xfs/libxfs/xfs_ialloc.c error = xfs_ialloc_read_agi(mp, tp, agno, &bp); agno 104 fs/xfs/libxfs/xfs_ialloc.h xfs_agnumber_t agno, /* allocation group number */ agno 115 fs/xfs/libxfs/xfs_ialloc.h xfs_agnumber_t agno); /* allocation group number */ agno 134 fs/xfs/libxfs/xfs_ialloc.h xfs_agnumber_t agno, xfs_agblock_t agbno, agno 138 fs/xfs/libxfs/xfs_ialloc.h xfs_agnumber_t agno, struct xfs_buf **bpp); agno 37 fs/xfs/libxfs/xfs_ialloc_btree.c cur->bc_private.a.agbp, cur->bc_private.a.agno, agno 86 fs/xfs/libxfs/xfs_ialloc_btree.c args.fsbno = XFS_AGB_TO_FSB(args.mp, cur->bc_private.a.agno, sbno); agno 217 fs/xfs/libxfs/xfs_ialloc_btree.c ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); agno 229 fs/xfs/libxfs/xfs_ialloc_btree.c ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); agno 410 fs/xfs/libxfs/xfs_ialloc_btree.c xfs_agnumber_t agno, /* allocation group number */ agno 437 fs/xfs/libxfs/xfs_ialloc_btree.c cur->bc_private.a.agno = agno; agno 543 fs/xfs/libxfs/xfs_ialloc_btree.c xfs_agnumber_t agno) agno 545 fs/xfs/libxfs/xfs_ialloc_btree.c xfs_agblock_t agblocks = xfs_ag_block_count(mp, agno); agno 557 fs/xfs/libxfs/xfs_ialloc_btree.c XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart) == agno) agno 570 fs/xfs/libxfs/xfs_ialloc_btree.c xfs_agnumber_t agno, agno 581 fs/xfs/libxfs/xfs_ialloc_btree.c error = xfs_ialloc_read_agi(mp, tp, agno, agi_bpp); agno 585 fs/xfs/libxfs/xfs_ialloc_btree.c cur = xfs_inobt_init_cursor(mp, tp, *agi_bpp, agno, which); agno 599 fs/xfs/libxfs/xfs_ialloc_btree.c xfs_agnumber_t agno, agno 607 fs/xfs/libxfs/xfs_ialloc_btree.c error = xfs_inobt_cur(mp, tp, agno, btnum, &cur, &agbp); agno 625 fs/xfs/libxfs/xfs_ialloc_btree.c xfs_agnumber_t agno, agno 635 fs/xfs/libxfs/xfs_ialloc_btree.c error = xfs_inobt_count_blocks(mp, tp, agno, XFS_BTNUM_FINO, &tree_len); agno 639 fs/xfs/libxfs/xfs_ialloc_btree.c *ask += xfs_inobt_max_size(mp, agno); agno 64 fs/xfs/libxfs/xfs_ialloc_btree.h xfs_agnumber_t agno, xfs_extlen_t *ask, xfs_extlen_t *used); agno 68 fs/xfs/libxfs/xfs_ialloc_btree.h xfs_agnumber_t agno, xfs_btnum_t btnum, agno 79 fs/xfs/libxfs/xfs_inode_buf.c xfs_agnumber_t agno; agno 86 fs/xfs/libxfs/xfs_inode_buf.c agno = xfs_daddr_to_agno(mp, XFS_BUF_ADDR(bp)); agno 97 fs/xfs/libxfs/xfs_inode_buf.c xfs_verify_agino_or_null(mp, agno, unlinked_ino); agno 49 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_private.a.agno, bno, agno 66 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_private.a.agno, bno, agno 83 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_private.a.agno, bno, agno 111 fs/xfs/libxfs/xfs_refcount.c xfs_agnumber_t agno = cur->bc_private.a.agno; agno 122 fs/xfs/libxfs/xfs_refcount.c agno = cur->bc_private.a.agno; agno 137 fs/xfs/libxfs/xfs_refcount.c if (!xfs_verify_agbno(mp, agno, realstart)) agno 141 fs/xfs/libxfs/xfs_refcount.c if (!xfs_verify_agbno(mp, agno, realstart + irec->rc_blockcount - 1)) agno 147 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_get(cur->bc_mp, cur->bc_private.a.agno, irec); agno 152 fs/xfs/libxfs/xfs_refcount.c "Refcount BTree record corruption in AG %d detected!", agno); agno 172 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_update(cur->bc_mp, cur->bc_private.a.agno, irec); agno 179 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, error, _RET_IP_); agno 196 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_insert(cur->bc_mp, cur->bc_private.a.agno, irec); agno 208 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, error, _RET_IP_); agno 231 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_delete(cur->bc_mp, cur->bc_private.a.agno, &irec); agno 240 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, error, _RET_IP_); agno 357 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_split_extent(cur->bc_mp, cur->bc_private.a.agno, agno 379 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, error, _RET_IP_); agno 399 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, left, center, right); agno 445 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, error, _RET_IP_); agno 464 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, left, cleft); agno 500 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, error, _RET_IP_); agno 518 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, cright, right); agno 557 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, error, _RET_IP_); agno 637 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_find_left_extent(cur->bc_mp, cur->bc_private.a.agno, agno 643 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, error, _RET_IP_); agno 721 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_find_right_extent(cur->bc_mp, cur->bc_private.a.agno, agno 727 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, error, _RET_IP_); agno 905 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, &tmp); agno 921 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, agno 948 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, &ext); agno 964 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, agno 983 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, error, _RET_IP_); agno 1005 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_increase(cur->bc_mp, cur->bc_private.a.agno, agno 1008 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_decrease(cur->bc_mp, cur->bc_private.a.agno, agno 1047 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_adjust_error(cur->bc_mp, cur->bc_private.a.agno, agno 1090 fs/xfs/libxfs/xfs_refcount.c xfs_agnumber_t agno; agno 1096 fs/xfs/libxfs/xfs_refcount.c agno = XFS_FSB_TO_AGNO(mp, startblock); agno 1097 fs/xfs/libxfs/xfs_refcount.c ASSERT(agno != NULLAGNUMBER); agno 1113 fs/xfs/libxfs/xfs_refcount.c if (rcur != NULL && rcur->bc_private.a.agno != agno) { agno 1121 fs/xfs/libxfs/xfs_refcount.c error = xfs_alloc_read_agf(tp->t_mountp, tp, agno, agno 1128 fs/xfs/libxfs/xfs_refcount.c rcur = xfs_refcountbt_init_cursor(mp, tp, agbp, agno); agno 1142 fs/xfs/libxfs/xfs_refcount.c *new_fsb = XFS_AGB_TO_FSB(mp, agno, new_agbno); agno 1147 fs/xfs/libxfs/xfs_refcount.c *new_fsb = XFS_AGB_TO_FSB(mp, agno, new_agbno); agno 1164 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_finish_one_leftover(mp, agno, type, agno 1253 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_find_shared(cur->bc_mp, cur->bc_private.a.agno, agno 1324 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, *fbno, *flen); agno 1329 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, error, _RET_IP_); agno 1423 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, &tmp); agno 1443 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, &ext); agno 1457 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, error, _RET_IP_); agno 1503 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_adjust_cow_error(cur->bc_mp, cur->bc_private.a.agno, agno 1517 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_cow_increase(rcur->bc_mp, rcur->bc_private.a.agno, agno 1534 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_cow_decrease(rcur->bc_mp, rcur->bc_private.a.agno, agno 1608 fs/xfs/libxfs/xfs_refcount.c xfs_agnumber_t agno) agno 1640 fs/xfs/libxfs/xfs_refcount.c error = xfs_alloc_read_agf(mp, tp, agno, 0, &agbp); agno 1647 fs/xfs/libxfs/xfs_refcount.c cur = xfs_refcountbt_init_cursor(mp, tp, agbp, agno); agno 1669 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_recover_extent(mp, agno, &rr->rr_rrec); agno 1673 fs/xfs/libxfs/xfs_refcount.c fsb = XFS_AGB_TO_FSB(mp, agno, agbno); agno 53 fs/xfs/libxfs/xfs_refcount.h xfs_agnumber_t agno); agno 28 fs/xfs/libxfs/xfs_refcount_btree.c cur->bc_private.a.agbp, cur->bc_private.a.agno); agno 69 fs/xfs/libxfs/xfs_refcount_btree.c args.fsbno = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, agno 78 fs/xfs/libxfs/xfs_refcount_btree.c trace_xfs_refcountbt_alloc_block(cur->bc_mp, cur->bc_private.a.agno, agno 84 fs/xfs/libxfs/xfs_refcount_btree.c ASSERT(args.agno == cur->bc_private.a.agno); agno 109 fs/xfs/libxfs/xfs_refcount_btree.c trace_xfs_refcountbt_free_block(cur->bc_mp, cur->bc_private.a.agno, agno 174 fs/xfs/libxfs/xfs_refcount_btree.c ASSERT(cur->bc_private.a.agno == be32_to_cpu(agf->agf_seqno)); agno 321 fs/xfs/libxfs/xfs_refcount_btree.c xfs_agnumber_t agno) agno 326 fs/xfs/libxfs/xfs_refcount_btree.c ASSERT(agno != NULLAGNUMBER); agno 327 fs/xfs/libxfs/xfs_refcount_btree.c ASSERT(agno < mp->m_sb.sb_agcount); agno 340 fs/xfs/libxfs/xfs_refcount_btree.c cur->bc_private.a.agno = agno; agno 405 fs/xfs/libxfs/xfs_refcount_btree.c xfs_agnumber_t agno, agno 419 fs/xfs/libxfs/xfs_refcount_btree.c error = xfs_alloc_read_agf(mp, tp, agno, 0, &agbp); agno 434 fs/xfs/libxfs/xfs_refcount_btree.c XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart) == agno) agno 48 fs/xfs/libxfs/xfs_refcount_btree.h xfs_agnumber_t agno); agno 58 fs/xfs/libxfs/xfs_refcount_btree.h struct xfs_trans *tp, xfs_agnumber_t agno, xfs_extlen_t *ask, agno 82 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_update(cur->bc_mp, cur->bc_private.a.agno, agno 94 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, error, _RET_IP_); agno 110 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_insert(rcur->bc_mp, rcur->bc_private.a.agno, agbno, agno 130 fs/xfs/libxfs/xfs_rmap.c rcur->bc_private.a.agno, error, _RET_IP_); agno 146 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_delete(rcur->bc_mp, rcur->bc_private.a.agno, agbno, agno 161 fs/xfs/libxfs/xfs_rmap.c rcur->bc_private.a.agno, error, _RET_IP_); agno 188 fs/xfs/libxfs/xfs_rmap.c xfs_agnumber_t agno = cur->bc_private.a.agno; agno 208 fs/xfs/libxfs/xfs_rmap.c if (!xfs_verify_agbno(mp, agno, irec->rm_startblock)) agno 213 fs/xfs/libxfs/xfs_rmap.c if (!xfs_verify_agbno(mp, agno, agno 227 fs/xfs/libxfs/xfs_rmap.c agno); agno 251 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, rec->rm_startblock, agno 303 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, bno, 0, owner, offset, flags); agno 311 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, irec->rm_startblock, agno 327 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, rec->rm_startblock, agno 376 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, bno, 0, owner, offset, flags); agno 383 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, irec->rm_startblock, agno 474 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_unmap(mp, cur->bc_private.a.agno, bno, len, agno 492 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, ltrec.rm_startblock, agno 547 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_delete(mp, cur->bc_private.a.agno, agno 622 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_insert(mp, cur->bc_private.a.agno, agno 634 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_unmap_done(mp, cur->bc_private.a.agno, bno, len, agno 638 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_unmap_error(mp, cur->bc_private.a.agno, agno 650 fs/xfs/libxfs/xfs_rmap.c xfs_agnumber_t agno, agno 662 fs/xfs/libxfs/xfs_rmap.c cur = xfs_rmapbt_init_cursor(mp, tp, agbp, agno); agno 729 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_map(mp, cur->bc_private.a.agno, bno, len, agno 748 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, ltrec.rm_startblock, agno 776 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, gtrec.rm_startblock, agno 815 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_delete(mp, cur->bc_private.a.agno, agno 863 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_insert(mp, cur->bc_private.a.agno, bno, len, agno 871 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_map_done(mp, cur->bc_private.a.agno, bno, len, agno 875 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_map_error(mp, cur->bc_private.a.agno, agno 887 fs/xfs/libxfs/xfs_rmap.c xfs_agnumber_t agno, agno 899 fs/xfs/libxfs/xfs_rmap.c cur = xfs_rmapbt_init_cursor(mp, tp, agbp, agno); agno 949 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_convert(mp, cur->bc_private.a.agno, bno, len, agno 967 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, PREV.rm_startblock, agno 1003 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, LEFT.rm_startblock, agno 1033 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, RIGHT.rm_startblock, agno 1051 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_convert_state(mp, cur->bc_private.a.agno, state, agno 1075 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_delete(mp, cur->bc_private.a.agno, agno 1087 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_delete(mp, cur->bc_private.a.agno, agno 1111 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_delete(mp, cur->bc_private.a.agno, agno 1139 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_delete(mp, cur->bc_private.a.agno, agno 1212 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_insert(mp, cur->bc_private.a.agno, bno, agno 1263 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_insert(mp, cur->bc_private.a.agno, bno, agno 1291 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_insert(mp, cur->bc_private.a.agno, agno 1312 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_insert(mp, cur->bc_private.a.agno, bno, len, agno 1333 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_convert_done(mp, cur->bc_private.a.agno, bno, len, agno 1338 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, error, _RET_IP_); agno 1374 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_convert(mp, cur->bc_private.a.agno, bno, len, agno 1430 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, RIGHT.rm_startblock, agno 1446 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_convert_state(mp, cur->bc_private.a.agno, state, agno 1713 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_convert_done(mp, cur->bc_private.a.agno, bno, len, agno 1718 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, error, _RET_IP_); agno 1756 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_unmap(mp, cur->bc_private.a.agno, bno, len, agno 1880 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_unmap_done(mp, cur->bc_private.a.agno, bno, len, agno 1885 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, error, _RET_IP_); agno 1920 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_map(mp, cur->bc_private.a.agno, bno, len, agno 1943 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, gtrec.rm_startblock, agno 2033 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_map_done(mp, cur->bc_private.a.agno, bno, len, agno 2038 fs/xfs/libxfs/xfs_rmap.c cur->bc_private.a.agno, error, _RET_IP_); agno 2167 fs/xfs/libxfs/xfs_rmap.c xfs_agnumber_t agno; agno 2172 fs/xfs/libxfs/xfs_rmap.c agno = XFS_FSB_TO_AGNO(mp, startblock); agno 2173 fs/xfs/libxfs/xfs_rmap.c ASSERT(agno != NULLAGNUMBER); agno 2176 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_deferred(mp, agno, type, bno, owner, whichfork, agno 2188 fs/xfs/libxfs/xfs_rmap.c if (rcur != NULL && rcur->bc_private.a.agno != agno) { agno 2199 fs/xfs/libxfs/xfs_rmap.c error = xfs_free_extent_fix_freelist(tp, agno, &agbp); agno 2205 fs/xfs/libxfs/xfs_rmap.c rcur = xfs_rmapbt_init_cursor(mp, tp, agbp, agno); agno 2357 fs/xfs/libxfs/xfs_rmap.c xfs_agnumber_t agno, agno 2367 fs/xfs/libxfs/xfs_rmap.c bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); agno 2379 fs/xfs/libxfs/xfs_rmap.c xfs_agnumber_t agno, agno 2389 fs/xfs/libxfs/xfs_rmap.c bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); agno 116 fs/xfs/libxfs/xfs_rmap.h xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len, agno 119 fs/xfs/libxfs/xfs_rmap.h xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len, agno 172 fs/xfs/libxfs/xfs_rmap.h void xfs_rmap_alloc_extent(struct xfs_trans *tp, xfs_agnumber_t agno, agno 174 fs/xfs/libxfs/xfs_rmap.h void xfs_rmap_free_extent(struct xfs_trans *tp, xfs_agnumber_t agno, agno 54 fs/xfs/libxfs/xfs_rmap_btree.c cur->bc_private.a.agbp, cur->bc_private.a.agno); agno 97 fs/xfs/libxfs/xfs_rmap_btree.c trace_xfs_rmapbt_alloc_block(cur->bc_mp, cur->bc_private.a.agno, agno 104 fs/xfs/libxfs/xfs_rmap_btree.c xfs_extent_busy_reuse(cur->bc_mp, cur->bc_private.a.agno, bno, 1, agno 112 fs/xfs/libxfs/xfs_rmap_btree.c xfs_ag_resv_rmapbt_alloc(cur->bc_mp, cur->bc_private.a.agno); agno 129 fs/xfs/libxfs/xfs_rmap_btree.c trace_xfs_rmapbt_free_block(cur->bc_mp, cur->bc_private.a.agno, agno 141 fs/xfs/libxfs/xfs_rmap_btree.c xfs_ag_resv_rmapbt_free(cur->bc_mp, cur->bc_private.a.agno); agno 220 fs/xfs/libxfs/xfs_rmap_btree.c ASSERT(cur->bc_private.a.agno == be32_to_cpu(agf->agf_seqno)); agno 459 fs/xfs/libxfs/xfs_rmap_btree.c xfs_agnumber_t agno) agno 476 fs/xfs/libxfs/xfs_rmap_btree.c cur->bc_private.a.agno = agno; agno 555 fs/xfs/libxfs/xfs_rmap_btree.c xfs_agnumber_t agno, agno 568 fs/xfs/libxfs/xfs_rmap_btree.c error = xfs_alloc_read_agf(mp, tp, agno, 0, &agbp); agno 583 fs/xfs/libxfs/xfs_rmap_btree.c XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart) == agno) agno 45 fs/xfs/libxfs/xfs_rmap_btree.h xfs_agnumber_t agno); agno 55 fs/xfs/libxfs/xfs_rmap_btree.h xfs_agnumber_t agno, xfs_extlen_t *ask, xfs_extlen_t *used); agno 40 fs/xfs/libxfs/xfs_sb.c xfs_agnumber_t agno) agno 46 fs/xfs/libxfs/xfs_sb.c pag = radix_tree_lookup(&mp->m_perag_tree, agno); agno 52 fs/xfs/libxfs/xfs_sb.c trace_xfs_perag_get(mp, agno, ref, _RET_IP_); agno 978 fs/xfs/libxfs/xfs_sb.c xfs_agnumber_t agno; agno 984 fs/xfs/libxfs/xfs_sb.c for (agno = 1; agno < mp->m_sb.sb_agcount; agno++) { agno 988 fs/xfs/libxfs/xfs_sb.c XFS_AG_DADDR(mp, agno, XFS_SB_DADDR), agno 1000 fs/xfs/libxfs/xfs_sb.c agno); agno 1014 fs/xfs/libxfs/xfs_sb.c if (agno % 16) agno 1021 fs/xfs/libxfs/xfs_sb.c error, agno); agno 1031 fs/xfs/libxfs/xfs_sb.c error, agno); agno 1161 fs/xfs/libxfs/xfs_sb.c xfs_agnumber_t agno, agno 1167 fs/xfs/libxfs/xfs_sb.c ASSERT(agno != 0 && agno != NULLAGNUMBER); agno 1169 fs/xfs/libxfs/xfs_sb.c XFS_AG_DADDR(mp, agno, XFS_SB_BLOCK(mp)), agno 1183 fs/xfs/libxfs/xfs_sb.c xfs_agnumber_t agno, agno 1188 fs/xfs/libxfs/xfs_sb.c ASSERT(agno != 0 && agno != NULLAGNUMBER); agno 1190 fs/xfs/libxfs/xfs_sb.c XFS_AG_DADDR(mp, agno, XFS_SB_BLOCK(mp)), agno 39 fs/xfs/libxfs/xfs_sb.h struct xfs_trans *tp, xfs_agnumber_t agno, agno 42 fs/xfs/libxfs/xfs_sb.h struct xfs_trans *tp, xfs_agnumber_t agno, agno 19 fs/xfs/libxfs/xfs_types.c xfs_agnumber_t agno) agno 21 fs/xfs/libxfs/xfs_types.c ASSERT(agno < mp->m_sb.sb_agcount); agno 23 fs/xfs/libxfs/xfs_types.c if (agno < mp->m_sb.sb_agcount - 1) agno 25 fs/xfs/libxfs/xfs_types.c return mp->m_sb.sb_dblocks - (agno * mp->m_sb.sb_agblocks); agno 35 fs/xfs/libxfs/xfs_types.c xfs_agnumber_t agno, agno 40 fs/xfs/libxfs/xfs_types.c eoag = xfs_ag_block_count(mp, agno); agno 57 fs/xfs/libxfs/xfs_types.c xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, fsbno); agno 59 fs/xfs/libxfs/xfs_types.c if (agno >= mp->m_sb.sb_agcount) agno 61 fs/xfs/libxfs/xfs_types.c return xfs_verify_agbno(mp, agno, XFS_FSB_TO_AGBNO(mp, fsbno)); agno 68 fs/xfs/libxfs/xfs_types.c xfs_agnumber_t agno, agno 75 fs/xfs/libxfs/xfs_types.c eoag = xfs_ag_block_count(mp, agno); agno 99 fs/xfs/libxfs/xfs_types.c xfs_agnumber_t agno, agno 105 fs/xfs/libxfs/xfs_types.c xfs_agino_range(mp, agno, &first, &last); agno 116 fs/xfs/libxfs/xfs_types.c xfs_agnumber_t agno, agno 119 fs/xfs/libxfs/xfs_types.c return agino == NULLAGINO || xfs_verify_agino(mp, agno, agino); agno 131 fs/xfs/libxfs/xfs_types.c xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, ino); agno 134 fs/xfs/libxfs/xfs_types.c if (agno >= mp->m_sb.sb_agcount) agno 136 fs/xfs/libxfs/xfs_types.c if (XFS_AGINO_TO_INO(mp, agno, agino) != ino) agno 138 fs/xfs/libxfs/xfs_types.c return xfs_verify_agino(mp, agno, agino); agno 186 fs/xfs/libxfs/xfs_types.c xfs_agnumber_t agno; agno 191 fs/xfs/libxfs/xfs_types.c for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { agno 194 fs/xfs/libxfs/xfs_types.c xfs_agino_range(mp, agno, &first, &last); agno 185 fs/xfs/libxfs/xfs_types.h xfs_agblock_t xfs_ag_block_count(struct xfs_mount *mp, xfs_agnumber_t agno); agno 186 fs/xfs/libxfs/xfs_types.h bool xfs_verify_agbno(struct xfs_mount *mp, xfs_agnumber_t agno, agno 190 fs/xfs/libxfs/xfs_types.h void xfs_agino_range(struct xfs_mount *mp, xfs_agnumber_t agno, agno 192 fs/xfs/libxfs/xfs_types.h bool xfs_verify_agino(struct xfs_mount *mp, xfs_agnumber_t agno, agno 194 fs/xfs/libxfs/xfs_types.h bool xfs_verify_agino_or_null(struct xfs_mount *mp, xfs_agnumber_t agno, agno 29 fs/xfs/scrub/agheader.c xfs_agnumber_t agno = sc->sm->sm_agno; agno 38 fs/xfs/scrub/agheader.c error = xchk_ag_init(sc, agno, &sc->sa); agno 39 fs/xfs/scrub/agheader.c if (!xchk_xref_process_error(sc, agno, agbno, &error)) agno 65 fs/xfs/scrub/agheader.c xfs_agnumber_t agno; agno 71 fs/xfs/scrub/agheader.c agno = sc->sm->sm_agno; agno 72 fs/xfs/scrub/agheader.c if (agno == 0) agno 75 fs/xfs/scrub/agheader.c error = xfs_sb_read_secondary(mp, sc->tp, agno, &bp); agno 92 fs/xfs/scrub/agheader.c if (!xchk_process_error(sc, agno, XFS_SB_BLOCK(mp), &error)) agno 511 fs/xfs/scrub/agheader.c xfs_agnumber_t agno; agno 521 fs/xfs/scrub/agheader.c agno = sc->sa.agno = sc->sm->sm_agno; agno 522 fs/xfs/scrub/agheader.c error = xchk_ag_read_headers(sc, agno, &sc->sa.agi_bp, agno 524 fs/xfs/scrub/agheader.c if (!xchk_process_error(sc, agno, XFS_AGF_BLOCK(sc->mp), &error)) agno 532 fs/xfs/scrub/agheader.c if (eoag != xfs_ag_block_count(mp, agno)) agno 537 fs/xfs/scrub/agheader.c if (!xfs_verify_agbno(mp, agno, agbno)) agno 541 fs/xfs/scrub/agheader.c if (!xfs_verify_agbno(mp, agno, agbno)) agno 554 fs/xfs/scrub/agheader.c if (!xfs_verify_agbno(mp, agno, agbno)) agno 564 fs/xfs/scrub/agheader.c if (!xfs_verify_agbno(mp, agno, agbno)) agno 584 fs/xfs/scrub/agheader.c pag = xfs_perag_get(mp, agno); agno 631 fs/xfs/scrub/agheader.c xfs_agnumber_t agno = sc->sa.agno; agno 633 fs/xfs/scrub/agheader.c if (xfs_verify_agbno(mp, agno, agbno) && agno 694 fs/xfs/scrub/agheader.c xfs_agnumber_t agno; agno 699 fs/xfs/scrub/agheader.c agno = sc->sa.agno = sc->sm->sm_agno; agno 700 fs/xfs/scrub/agheader.c error = xchk_ag_read_headers(sc, agno, &sc->sa.agi_bp, agno 702 fs/xfs/scrub/agheader.c if (!xchk_process_error(sc, agno, XFS_AGFL_BLOCK(sc->mp), &error)) agno 819 fs/xfs/scrub/agheader.c xfs_agnumber_t agno; agno 830 fs/xfs/scrub/agheader.c agno = sc->sa.agno = sc->sm->sm_agno; agno 831 fs/xfs/scrub/agheader.c error = xchk_ag_read_headers(sc, agno, &sc->sa.agi_bp, agno 833 fs/xfs/scrub/agheader.c if (!xchk_process_error(sc, agno, XFS_AGI_BLOCK(sc->mp), &error)) agno 841 fs/xfs/scrub/agheader.c if (eoag != xfs_ag_block_count(mp, agno)) agno 846 fs/xfs/scrub/agheader.c if (!xfs_verify_agbno(mp, agno, agbno)) agno 855 fs/xfs/scrub/agheader.c if (!xfs_verify_agbno(mp, agno, agbno)) agno 864 fs/xfs/scrub/agheader.c xfs_agino_range(mp, agno, &first_agino, &last_agino); agno 872 fs/xfs/scrub/agheader.c if (!xfs_verify_agino_or_null(mp, agno, agino)) agno 876 fs/xfs/scrub/agheader.c if (!xfs_verify_agino_or_null(mp, agno, agino)) agno 882 fs/xfs/scrub/agheader.c if (!xfs_verify_agino_or_null(mp, agno, agino)) agno 890 fs/xfs/scrub/agheader.c pag = xfs_perag_get(mp, agno); agno 38 fs/xfs/scrub/agheader_repair.c xfs_agnumber_t agno; agno 42 fs/xfs/scrub/agheader_repair.c agno = sc->sm->sm_agno; agno 43 fs/xfs/scrub/agheader_repair.c if (agno == 0) agno 46 fs/xfs/scrub/agheader_repair.c error = xfs_sb_get_secondary(mp, sc->tp, agno, &bp); agno 96 fs/xfs/scrub/agheader_repair.c if (!xfs_verify_agbno(mp, sc->sa.agno, agbno)) agno 121 fs/xfs/scrub/agheader_repair.c xfs_agnumber_t agno = sc->sm->sm_agno; agno 123 fs/xfs/scrub/agheader_repair.c return xfs_verify_agbno(mp, agno, fab->root) && agno 190 fs/xfs/scrub/agheader_repair.c agf->agf_seqno = cpu_to_be32(sc->sa.agno); agno 191 fs/xfs/scrub/agheader_repair.c agf->agf_length = cpu_to_be32(xfs_ag_block_count(mp, sc->sa.agno)); agno 248 fs/xfs/scrub/agheader_repair.c cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, agno 262 fs/xfs/scrub/agheader_repair.c cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, agno 271 fs/xfs/scrub/agheader_repair.c cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno); agno 284 fs/xfs/scrub/agheader_repair.c sc->sa.agno); agno 374 fs/xfs/scrub/agheader_repair.c XFS_AG_DADDR(mp, sc->sa.agno, XFS_AGF_DADDR(mp)), agno 390 fs/xfs/scrub/agheader_repair.c error = xfs_alloc_read_agfl(mp, sc->tp, sc->sa.agno, &agfl_bp); agno 456 fs/xfs/scrub/agheader_repair.c fsb = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, agno 494 fs/xfs/scrub/agheader_repair.c cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno); agno 501 fs/xfs/scrub/agheader_repair.c cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, agno 509 fs/xfs/scrub/agheader_repair.c cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, agno 596 fs/xfs/scrub/agheader_repair.c agfl->agfl_seqno = cpu_to_be32(sc->sa.agno); agno 609 fs/xfs/scrub/agheader_repair.c trace_xrep_agfl_insert(mp, sc->sa.agno, agbno, br->len); agno 659 fs/xfs/scrub/agheader_repair.c error = xfs_alloc_read_agf(mp, sc->tp, sc->sa.agno, 0, &agf_bp); agno 670 fs/xfs/scrub/agheader_repair.c XFS_AG_DADDR(mp, sc->sa.agno, XFS_AGFL_DADDR(mp)), agno 735 fs/xfs/scrub/agheader_repair.c error = xfs_alloc_read_agf(mp, sc->tp, sc->sa.agno, 0, &agf_bp); agno 775 fs/xfs/scrub/agheader_repair.c agi->agi_seqno = cpu_to_be32(sc->sa.agno); agno 776 fs/xfs/scrub/agheader_repair.c agi->agi_length = cpu_to_be32(xfs_ag_block_count(mp, sc->sa.agno)); agno 820 fs/xfs/scrub/agheader_repair.c cur = xfs_inobt_init_cursor(mp, sc->tp, agi_bp, sc->sa.agno, agno 894 fs/xfs/scrub/agheader_repair.c XFS_AG_DADDR(mp, sc->sa.agno, XFS_AGI_DADDR(mp)), agno 97 fs/xfs/scrub/alloc.c xfs_agnumber_t agno = bs->cur->bc_private.a.agno; agno 105 fs/xfs/scrub/alloc.c !xfs_verify_agbno(mp, agno, bno) || agno 106 fs/xfs/scrub/alloc.c !xfs_verify_agbno(mp, agno, bno + len - 1)) agno 234 fs/xfs/scrub/bmap.c xfs_agnumber_t agno; agno 239 fs/xfs/scrub/bmap.c agno = XFS_FSB_TO_AGNO(mp, irec->br_startblock); agno 243 fs/xfs/scrub/bmap.c error = xchk_ag_init(info->sc, agno, &info->sc->sa); agno 504 fs/xfs/scrub/bmap.c cur->bc_private.a.agno, rec->rm_startblock)) agno 534 fs/xfs/scrub/bmap.c xfs_agnumber_t agno) agno 541 fs/xfs/scrub/bmap.c error = xfs_alloc_read_agf(sc->mp, sc->tp, agno, 0, &agf); agno 545 fs/xfs/scrub/bmap.c cur = xfs_rmapbt_init_cursor(sc->mp, sc->tp, agf, agno); agno 570 fs/xfs/scrub/bmap.c xfs_agnumber_t agno; agno 604 fs/xfs/scrub/bmap.c for (agno = 0; agno < sc->mp->m_sb.sb_agcount; agno++) { agno 605 fs/xfs/scrub/bmap.c error = xchk_bmap_check_ag_rmaps(sc, whichfork, agno); agno 361 fs/xfs/scrub/btree.c xfs_agnumber_t agno; agno 371 fs/xfs/scrub/btree.c agno = xfs_daddr_to_agno(bs->cur->bc_mp, daddr); agno 376 fs/xfs/scrub/btree.c error = xchk_ag_init(bs->sc, agno, &bs->sc->sa); agno 66 fs/xfs/scrub/common.c xfs_agnumber_t agno, agno 86 fs/xfs/scrub/common.c trace_xchk_op_error(sc, agno, bno, *error, agno 96 fs/xfs/scrub/common.c xfs_agnumber_t agno, agno 100 fs/xfs/scrub/common.c return __xchk_process_error(sc, agno, bno, error, agno 107 fs/xfs/scrub/common.c xfs_agnumber_t agno, agno 111 fs/xfs/scrub/common.c return __xchk_process_error(sc, agno, bno, error, agno 404 fs/xfs/scrub/common.c xfs_agnumber_t agno, agno 412 fs/xfs/scrub/common.c error = xfs_ialloc_read_agi(mp, sc->tp, agno, agi); agno 416 fs/xfs/scrub/common.c error = xfs_alloc_read_agf(mp, sc->tp, agno, 0, agf); agno 420 fs/xfs/scrub/common.c error = xfs_alloc_read_agfl(mp, sc->tp, agno, agfl); agno 461 fs/xfs/scrub/common.c xfs_agnumber_t agno = sa->agno; agno 468 fs/xfs/scrub/common.c agno, XFS_BTNUM_BNO); agno 477 fs/xfs/scrub/common.c agno, XFS_BTNUM_CNT); agno 486 fs/xfs/scrub/common.c agno, XFS_BTNUM_INO); agno 495 fs/xfs/scrub/common.c agno, XFS_BTNUM_FINO); agno 504 fs/xfs/scrub/common.c agno); agno 513 fs/xfs/scrub/common.c sa->agf_bp, agno); agno 546 fs/xfs/scrub/common.c sa->agno = NULLAGNUMBER; agno 559 fs/xfs/scrub/common.c xfs_agnumber_t agno, agno 564 fs/xfs/scrub/common.c sa->agno = agno; agno 565 fs/xfs/scrub/common.c error = xchk_ag_read_headers(sc, agno, &sa->agi_bp, agno 583 fs/xfs/scrub/common.c sa->pag = xfs_perag_get(mp, sa->agno); agno 35 fs/xfs/scrub/common.h bool xchk_process_error(struct xfs_scrub *sc, xfs_agnumber_t agno, agno 41 fs/xfs/scrub/common.h xfs_agnumber_t agno, xfs_agblock_t bno, int *error); agno 119 fs/xfs/scrub/common.h int xchk_ag_init(struct xfs_scrub *sc, xfs_agnumber_t agno, agno 122 fs/xfs/scrub/common.h int xchk_ag_read_headers(struct xfs_scrub *sc, xfs_agnumber_t agno, agno 70 fs/xfs/scrub/fscounters.c xfs_agnumber_t agno; agno 73 fs/xfs/scrub/fscounters.c for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { agno 74 fs/xfs/scrub/fscounters.c pag = xfs_perag_get(mp, agno); agno 80 fs/xfs/scrub/fscounters.c error = xfs_ialloc_read_agi(mp, sc->tp, agno, &agi_bp); agno 83 fs/xfs/scrub/fscounters.c error = xfs_alloc_read_agf(mp, sc->tp, agno, 0, &agf_bp); agno 164 fs/xfs/scrub/fscounters.c xfs_agnumber_t agno; agno 172 fs/xfs/scrub/fscounters.c for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { agno 173 fs/xfs/scrub/fscounters.c pag = xfs_perag_get(mp, agno); agno 107 fs/xfs/scrub/ialloc.c xfs_agnumber_t agno = bs->cur->bc_private.a.agno; agno 112 fs/xfs/scrub/ialloc.c !xfs_verify_agbno(mp, agno, bno) || agno 113 fs/xfs/scrub/ialloc.c !xfs_verify_agbno(mp, agno, bno + len - 1)) agno 167 fs/xfs/scrub/ialloc.c fsino = XFS_AGINO_TO_INO(mp, bs->cur->bc_private.a.agno, agino); agno 218 fs/xfs/scrub/ialloc.c xfs_agnumber_t agno = bs->cur->bc_private.a.agno; agno 246 fs/xfs/scrub/ialloc.c imap.im_blkno = XFS_AGB_TO_DADDR(mp, agno, agbno); agno 257 fs/xfs/scrub/ialloc.c trace_xchk_iallocbt_check_cluster(mp, agno, irec->ir_startino, agno 429 fs/xfs/scrub/ialloc.c xfs_agnumber_t agno = bs->cur->bc_private.a.agno; agno 451 fs/xfs/scrub/ialloc.c if (!xfs_verify_agino(mp, agno, agino) || agno 452 fs/xfs/scrub/ialloc.c !xfs_verify_agino(mp, agno, agino + XFS_INODES_PER_CHUNK - 1)) { agno 502 fs/xfs/scrub/inode.c xfs_agnumber_t agno; agno 509 fs/xfs/scrub/inode.c agno = XFS_INO_TO_AGNO(sc->mp, ino); agno 512 fs/xfs/scrub/inode.c error = xchk_ag_init(sc, agno, &sc->sa); agno 513 fs/xfs/scrub/inode.c if (!xchk_xref_process_error(sc, agno, agbno, &error)) agno 339 fs/xfs/scrub/refcount.c xfs_agnumber_t agno = bs->cur->bc_private.a.agno; agno 359 fs/xfs/scrub/refcount.c !xfs_verify_agbno(mp, agno, bno) || agno 360 fs/xfs/scrub/refcount.c !xfs_verify_agbno(mp, agno, bno + len - 1)) agno 301 fs/xfs/scrub/repair.c xfs_extent_busy_reuse(sc->mp, sc->sa.agno, bno, agno 303 fs/xfs/scrub/repair.c *fsbno = XFS_AGB_TO_FSB(sc->mp, sc->sa.agno, bno); agno 305 fs/xfs/scrub/repair.c xfs_ag_resv_rmapbt_alloc(sc->mp, sc->sa.agno); agno 314 fs/xfs/scrub/repair.c args.fsbno = XFS_AGB_TO_FSB(args.mp, sc->sa.agno, 0); agno 348 fs/xfs/scrub/repair.c ASSERT(XFS_FSB_TO_AGNO(mp, fsb) == sc->sa.agno); agno 352 fs/xfs/scrub/repair.c xfs_btree_init_block(mp, bp, btnum, 0, 0, sc->sa.agno); agno 474 fs/xfs/scrub/repair.c args.agno = sc->sa.agno; agno 502 fs/xfs/scrub/repair.c error = xfs_rmap_alloc(sc->tp, sc->sa.agf_bp, sc->sa.agno, agbno, 1, agno 512 fs/xfs/scrub/repair.c xfs_extent_busy_insert(sc->tp, sc->sa.agno, agbno, 1, agno 528 fs/xfs/scrub/repair.c xfs_agnumber_t agno; agno 533 fs/xfs/scrub/repair.c agno = XFS_FSB_TO_AGNO(sc->mp, fsbno); agno 542 fs/xfs/scrub/repair.c error = xfs_alloc_read_agf(sc->mp, sc->tp, agno, 0, &agf_bp); agno 550 fs/xfs/scrub/repair.c cur = xfs_rmapbt_init_cursor(sc->mp, sc->tp, agf_bp, agno); agno 572 fs/xfs/scrub/repair.c error = xfs_rmap_free(sc->tp, agf_bp, agno, agbno, 1, oinfo); agno 609 fs/xfs/scrub/repair.c XFS_FSB_TO_AGNO(sc->mp, fsbno) == sc->sa.agno); agno 686 fs/xfs/scrub/repair.c daddr = XFS_AGB_TO_DADDR(mp, ri->sc->sa.agno, agbno); agno 815 fs/xfs/scrub/repair.c trace_xrep_findroot_block(mp, ri->sc->sa.agno, agbno, agno 889 fs/xfs/scrub/repair.c cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno); agno 95 fs/xfs/scrub/rmap.c xfs_agnumber_t agno = bs->cur->bc_private.a.agno; agno 124 fs/xfs/scrub/rmap.c if (!xfs_verify_agbno(mp, agno, irec.rm_startblock) || agno 125 fs/xfs/scrub/rmap.c !xfs_verify_agbno(mp, agno, irec.rm_startblock + agno 464 fs/xfs/scrub/scrub.c .agno = NULLAGNUMBER, agno 39 fs/xfs/scrub/scrub.h xfs_agnumber_t agno; agno 29 fs/xfs/scrub/trace.c return XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, 0); agno 90 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 100 fs/xfs/scrub/trace.h __entry->agno = sm->sm_agno; agno 110 fs/xfs/scrub/trace.h __entry->agno, agno 129 fs/xfs/scrub/trace.h TP_PROTO(struct xfs_scrub *sc, xfs_agnumber_t agno, agno 131 fs/xfs/scrub/trace.h TP_ARGS(sc, agno, bno, error, ret_ip), agno 135 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 143 fs/xfs/scrub/trace.h __entry->agno = agno; agno 151 fs/xfs/scrub/trace.h __entry->agno, agno 195 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 201 fs/xfs/scrub/trace.h xfs_agnumber_t agno; agno 205 fs/xfs/scrub/trace.h agno = XFS_FSB_TO_AGNO(sc->mp, fsbno); agno 210 fs/xfs/scrub/trace.h __entry->agno = agno; agno 217 fs/xfs/scrub/trace.h __entry->agno, agno 330 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 343 fs/xfs/scrub/trace.h __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); agno 355 fs/xfs/scrub/trace.h __entry->agno, agno 373 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 387 fs/xfs/scrub/trace.h __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); agno 400 fs/xfs/scrub/trace.h __entry->agno, agno 415 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 426 fs/xfs/scrub/trace.h __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); agno 437 fs/xfs/scrub/trace.h __entry->agno, agno 453 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 466 fs/xfs/scrub/trace.h __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); agno 479 fs/xfs/scrub/trace.h __entry->agno, agno 492 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 504 fs/xfs/scrub/trace.h __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); agno 514 fs/xfs/scrub/trace.h __entry->agno, agno 552 fs/xfs/scrub/trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 557 fs/xfs/scrub/trace.h TP_ARGS(mp, agno, startino, map_daddr, map_len, chunk_ino, nr_inodes, agno 561 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 573 fs/xfs/scrub/trace.h __entry->agno = agno; agno 585 fs/xfs/scrub/trace.h __entry->agno, agno 658 fs/xfs/scrub/trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 660 fs/xfs/scrub/trace.h TP_ARGS(mp, agno, agbno, len), agno 663 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 669 fs/xfs/scrub/trace.h __entry->agno = agno; agno 675 fs/xfs/scrub/trace.h __entry->agno, agno 681 fs/xfs/scrub/trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 683 fs/xfs/scrub/trace.h TP_ARGS(mp, agno, agbno, len)) agno 688 fs/xfs/scrub/trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 691 fs/xfs/scrub/trace.h TP_ARGS(mp, agno, agbno, len, owner, offset, flags), agno 694 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 703 fs/xfs/scrub/trace.h __entry->agno = agno; agno 712 fs/xfs/scrub/trace.h __entry->agno, agno 721 fs/xfs/scrub/trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 724 fs/xfs/scrub/trace.h TP_ARGS(mp, agno, agbno, len, owner, offset, flags)) agno 731 fs/xfs/scrub/trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 733 fs/xfs/scrub/trace.h TP_ARGS(mp, agno, irec), agno 736 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 743 fs/xfs/scrub/trace.h __entry->agno = agno; agno 750 fs/xfs/scrub/trace.h __entry->agno, agno 757 fs/xfs/scrub/trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t agbno, agno 759 fs/xfs/scrub/trace.h TP_ARGS(mp, agno, agbno, btnum), agno 762 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 768 fs/xfs/scrub/trace.h __entry->agno = agno; agno 774 fs/xfs/scrub/trace.h __entry->agno, agno 779 fs/xfs/scrub/trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t agbno, agno 781 fs/xfs/scrub/trace.h TP_ARGS(mp, agno, agbno, magic, level), agno 784 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 791 fs/xfs/scrub/trace.h __entry->agno = agno; agno 798 fs/xfs/scrub/trace.h __entry->agno, agno 804 fs/xfs/scrub/trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 807 fs/xfs/scrub/trace.h TP_ARGS(mp, agno, icount, aglen, freelen, usedlen), agno 810 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 818 fs/xfs/scrub/trace.h __entry->agno = agno; agno 826 fs/xfs/scrub/trace.h __entry->agno, agno 833 fs/xfs/scrub/trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 836 fs/xfs/scrub/trace.h TP_ARGS(mp, agno, bnobt_sz, inobt_sz, rmapbt_sz, refcbt_sz), agno 839 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 847 fs/xfs/scrub/trace.h __entry->agno = agno; agno 855 fs/xfs/scrub/trace.h __entry->agno, agno 875 fs/xfs/scrub/trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 878 fs/xfs/scrub/trace.h TP_ARGS(mp, agno, startino, holemask, count, freecount, freemask), agno 881 fs/xfs/scrub/trace.h __field(xfs_agnumber_t, agno) agno 890 fs/xfs/scrub/trace.h __entry->agno = agno; agno 899 fs/xfs/scrub/trace.h __entry->agno, agno 24 fs/xfs/xfs_discard.c xfs_agnumber_t agno, agno 37 fs/xfs/xfs_discard.c pag = xfs_perag_get(mp, agno); agno 46 fs/xfs/xfs_discard.c error = xfs_alloc_read_agf(mp, NULL, agno, 0, &agbp); agno 50 fs/xfs/xfs_discard.c cur = xfs_allocbt_init_cursor(mp, NULL, agbp, agno, XFS_BTNUM_CNT); agno 81 fs/xfs/xfs_discard.c dbno = XFS_AGB_TO_DADDR(mp, agno, fbno); agno 88 fs/xfs/xfs_discard.c trace_xfs_discard_toosmall(mp, agno, fbno, flen); agno 98 fs/xfs/xfs_discard.c trace_xfs_discard_exclude(mp, agno, fbno, flen); agno 106 fs/xfs/xfs_discard.c if (xfs_extent_busy_search(mp, agno, fbno, flen)) { agno 107 fs/xfs/xfs_discard.c trace_xfs_discard_busy(mp, agno, fbno, flen); agno 111 fs/xfs/xfs_discard.c trace_xfs_discard_extent(mp, agno, fbno, flen); agno 154 fs/xfs/xfs_discard.c xfs_agnumber_t start_agno, end_agno, agno; agno 196 fs/xfs/xfs_discard.c for (agno = start_agno; agno <= end_agno; agno++) { agno 197 fs/xfs/xfs_discard.c error = xfs_trim_extents(mp, agno, start, end, minlen, agno 25 fs/xfs/xfs_extent_busy.c xfs_agnumber_t agno, agno 37 fs/xfs/xfs_extent_busy.c new->agno = agno; agno 44 fs/xfs/xfs_extent_busy.c trace_xfs_extent_busy(tp->t_mountp, agno, bno, len); agno 46 fs/xfs/xfs_extent_busy.c pag = xfs_perag_get(tp->t_mountp, new->agno); agno 84 fs/xfs/xfs_extent_busy.c xfs_agnumber_t agno, agno 93 fs/xfs/xfs_extent_busy.c pag = xfs_perag_get(mp, agno); agno 284 fs/xfs/xfs_extent_busy.c xfs_agnumber_t agno, agno 294 fs/xfs/xfs_extent_busy.c pag = xfs_perag_get(mp, agno); agno 504 fs/xfs/xfs_extent_busy.c trace_xfs_extent_busy_trim(args->mp, args->agno, *bno, *len, agno 529 fs/xfs/xfs_extent_busy.c trace_xfs_extent_busy_clear(mp, busyp->agno, busyp->bno, agno 566 fs/xfs/xfs_extent_busy.c xfs_agnumber_t agno = NULLAGNUMBER; agno 570 fs/xfs/xfs_extent_busy.c if (busyp->agno != agno) { agno 573 fs/xfs/xfs_extent_busy.c agno = busyp->agno; agno 574 fs/xfs/xfs_extent_busy.c pag = xfs_perag_get(mp, agno); agno 623 fs/xfs/xfs_extent_busy.c xfs_agnumber_t agno; agno 625 fs/xfs/xfs_extent_busy.c for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { agno 626 fs/xfs/xfs_extent_busy.c struct xfs_perag *pag = xfs_perag_get(mp, agno); agno 655 fs/xfs/xfs_extent_busy.c diff = b1->agno - b2->agno; agno 25 fs/xfs/xfs_extent_busy.h xfs_agnumber_t agno; agno 34 fs/xfs/xfs_extent_busy.h xfs_extent_busy_insert(struct xfs_trans *tp, xfs_agnumber_t agno, agno 42 fs/xfs/xfs_extent_busy.h xfs_extent_busy_search(struct xfs_mount *mp, xfs_agnumber_t agno, agno 46 fs/xfs/xfs_extent_busy.h xfs_extent_busy_reuse(struct xfs_mount *mp, xfs_agnumber_t agno, agno 368 fs/xfs/xfs_extfree_item.c xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, start_block); agno 373 fs/xfs/xfs_extfree_item.c trace_xfs_bmap_free_deferred(tp->t_mountp, agno, 0, agbno, ext_len); agno 541 fs/xfs/xfs_extfree_item.c xfs_agnumber_t agno; agno 547 fs/xfs/xfs_extfree_item.c agno = XFS_FSB_TO_AGNO(mp, free->xefi_startblock); agno 550 fs/xfs/xfs_extfree_item.c trace_xfs_agfl_free_deferred(mp, agno, 0, agbno, free->xefi_blockcount); agno 552 fs/xfs/xfs_extfree_item.c error = xfs_alloc_read_agf(mp, tp, agno, 0, &agbp); agno 554 fs/xfs/xfs_extfree_item.c error = xfs_free_agfl_block(tp, agno, agbno, agbp, agno 72 fs/xfs/xfs_filestream.c xfs_agnumber_t agno) agno 77 fs/xfs/xfs_filestream.c pag = xfs_perag_get(mp, agno); agno 86 fs/xfs/xfs_filestream.c xfs_agnumber_t agno) agno 91 fs/xfs/xfs_filestream.c pag = xfs_perag_get(mp, agno); agno 100 fs/xfs/xfs_filestream.c xfs_agnumber_t agno) agno 104 fs/xfs/xfs_filestream.c pag = xfs_perag_get(mp, agno); agno 18 fs/xfs/xfs_filestream.h int xfs_filestream_peek_ag(struct xfs_mount *mp, xfs_agnumber_t agno); agno 163 fs/xfs/xfs_fsmap.c xfs_agnumber_t agno; /* AG number, if applicable */ agno 207 fs/xfs/xfs_fsmap.c if (info->agno == NULLAGNUMBER) agno 213 fs/xfs/xfs_fsmap.c info->agno); agno 300 fs/xfs/xfs_fsmap.c trace_xfs_fsmap_mapping(mp, info->dev, info->agno, rec); agno 346 fs/xfs/xfs_fsmap.c fsb = XFS_AGB_TO_FSB(mp, cur->bc_private.a.agno, rec->rm_startblock); agno 364 fs/xfs/xfs_fsmap.c rec_daddr = XFS_AGB_TO_DADDR(mp, cur->bc_private.a.agno, agno 421 fs/xfs/xfs_fsmap.c trace_xfs_fsmap_low_key(mp, info->dev, info->agno, &info->low); agno 422 fs/xfs/xfs_fsmap.c trace_xfs_fsmap_high_key(mp, info->dev, info->agno, &info->high); agno 500 fs/xfs/xfs_fsmap.c trace_xfs_fsmap_low_key(mp, info->dev, info->agno, &info->low); agno 501 fs/xfs/xfs_fsmap.c trace_xfs_fsmap_high_key(mp, info->dev, info->agno, &info->high); agno 603 fs/xfs/xfs_fsmap.c for (info->agno = start_ag; info->agno <= end_ag; info->agno++) { agno 608 fs/xfs/xfs_fsmap.c if (info->agno == end_ag) { agno 626 fs/xfs/xfs_fsmap.c error = xfs_alloc_read_agf(mp, tp, info->agno, 0, agno 631 fs/xfs/xfs_fsmap.c trace_xfs_fsmap_low_key(mp, info->dev, info->agno, &info->low); agno 632 fs/xfs/xfs_fsmap.c trace_xfs_fsmap_high_key(mp, info->dev, info->agno, agno 643 fs/xfs/xfs_fsmap.c if (info->agno == start_ag) { agno 683 fs/xfs/xfs_fsmap.c info->agno); agno 716 fs/xfs/xfs_fsmap.c info->agno, XFS_BTNUM_BNO); agno 926 fs/xfs/xfs_fsmap.c info.agno = NULLAGNUMBER; agno 90 fs/xfs/xfs_fsops.c for (id.agno = nagcount - 1; agno 91 fs/xfs/xfs_fsops.c id.agno >= oagcount; agno 92 fs/xfs/xfs_fsops.c id.agno--, new -= id.agsize) { agno 94 fs/xfs/xfs_fsops.c if (id.agno == nagcount - 1) agno 96 fs/xfs/xfs_fsops.c (id.agno * (xfs_rfsblock_t)mp->m_sb.sb_agblocks); agno 149 fs/xfs/xfs_fsops.c pag = xfs_perag_get(mp, id.agno); agno 526 fs/xfs/xfs_fsops.c xfs_agnumber_t agno; agno 532 fs/xfs/xfs_fsops.c for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { agno 533 fs/xfs/xfs_fsops.c pag = xfs_perag_get(mp, agno); agno 556 fs/xfs/xfs_fsops.c xfs_agnumber_t agno; agno 561 fs/xfs/xfs_fsops.c for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { agno 562 fs/xfs/xfs_fsops.c pag = xfs_perag_get(mp, agno); agno 28 fs/xfs/xfs_health.c xfs_agnumber_t agno; agno 37 fs/xfs/xfs_health.c for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { agno 38 fs/xfs/xfs_health.c pag = xfs_perag_get(mp, agno); agno 41 fs/xfs/xfs_health.c trace_xfs_ag_unfixed_corruption(mp, agno, sick); agno 1614 fs/xfs/xfs_icache.c void (*set_tp)(struct xfs_mount *mp, xfs_agnumber_t agno, agno 1669 fs/xfs/xfs_icache.c void (*clear_tp)(struct xfs_mount *mp, xfs_agnumber_t agno, agno 83 fs/xfs/xfs_icreate_item.c xfs_agnumber_t agno, agno 99 fs/xfs/xfs_icreate_item.c icp->ic_format.icl_ag = cpu_to_be32(agno); agno 17 fs/xfs/xfs_icreate_item.h void xfs_icreate_log(struct xfs_trans *tp, xfs_agnumber_t agno, agno 2113 fs/xfs/xfs_inode.c xfs_agnumber_t agno, agno 2122 fs/xfs/xfs_inode.c ASSERT(xfs_verify_agino_or_null(tp->t_mountp, agno, new_agino)); agno 2125 fs/xfs/xfs_inode.c trace_xfs_iunlink_update_bucket(tp->t_mountp, agno, bucket_index, agno 2147 fs/xfs/xfs_inode.c xfs_agnumber_t agno, agno 2157 fs/xfs/xfs_inode.c ASSERT(xfs_verify_agino_or_null(mp, agno, next_agino)); agno 2159 fs/xfs/xfs_inode.c trace_xfs_iunlink_update_dinode(mp, agno, agino, agno 2178 fs/xfs/xfs_inode.c xfs_agnumber_t agno, agno 2188 fs/xfs/xfs_inode.c ASSERT(xfs_verify_agino_or_null(mp, agno, next_agino)); agno 2196 fs/xfs/xfs_inode.c if (!xfs_verify_agino_or_null(mp, agno, old_value)) { agno 2214 fs/xfs/xfs_inode.c xfs_iunlink_update_dinode(tp, agno, XFS_INO_TO_AGINO(mp, ip->i_ino), agno 2238 fs/xfs/xfs_inode.c xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, ip->i_ino); agno 2248 fs/xfs/xfs_inode.c error = xfs_read_agi(mp, tp, agno, &agibp); agno 2260 fs/xfs/xfs_inode.c !xfs_verify_agino_or_null(mp, agno, next_agino)) agno 2271 fs/xfs/xfs_inode.c error = xfs_iunlink_update_inode(tp, ip, agno, next_agino, agno 2281 fs/xfs/xfs_inode.c pag = xfs_perag_get(mp, agno); agno 2289 fs/xfs/xfs_inode.c return xfs_iunlink_update_bucket(tp, agno, agibp, bucket_index, agino); agno 2296 fs/xfs/xfs_inode.c xfs_agnumber_t agno, agno 2306 fs/xfs/xfs_inode.c error = xfs_imap(mp, tp, XFS_AGINO_TO_INO(mp, agno, agino), imap, 0); agno 2336 fs/xfs/xfs_inode.c xfs_agnumber_t agno, agno 2355 fs/xfs/xfs_inode.c error = xfs_iunlink_map_ino(tp, agno, *agino, imap, dipp, bpp); agno 2371 fs/xfs/xfs_inode.c trace_xfs_iunlink_map_prev_fallback(mp, agno); agno 2382 fs/xfs/xfs_inode.c error = xfs_iunlink_map_ino(tp, agno, next_agino, imap, dipp, agno 2392 fs/xfs/xfs_inode.c if (!xfs_verify_agino(mp, agno, unlinked_agino) || agno 2420 fs/xfs/xfs_inode.c xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, ip->i_ino); agno 2430 fs/xfs/xfs_inode.c error = xfs_read_agi(mp, tp, agno, &agibp); agno 2440 fs/xfs/xfs_inode.c if (!xfs_verify_agino(mp, agno, head_agino)) { agno 2451 fs/xfs/xfs_inode.c error = xfs_iunlink_update_inode(tp, ip, agno, NULLAGINO, &next_agino); agno 2463 fs/xfs/xfs_inode.c pag = xfs_perag_get(mp, agno); agno 2472 fs/xfs/xfs_inode.c error = xfs_iunlink_update_bucket(tp, agno, agibp, bucket_index, agno 2481 fs/xfs/xfs_inode.c pag = xfs_perag_get(mp, agno); agno 2484 fs/xfs/xfs_inode.c error = xfs_iunlink_map_prev(tp, agno, head_agino, agino, agno 2491 fs/xfs/xfs_inode.c xfs_iunlink_update_dinode(tp, agno, prev_agino, last_ibp, agno 882 fs/xfs/xfs_ioctl.c if (hdr->agno >= mp->m_sb.sb_agcount) agno 886 fs/xfs/xfs_ioctl.c breq->startino = XFS_AGINO_TO_INO(mp, hdr->agno, 0); agno 887 fs/xfs/xfs_ioctl.c else if (XFS_INO_TO_AGNO(mp, breq->startino) < hdr->agno) agno 893 fs/xfs/xfs_ioctl.c if (XFS_INO_TO_AGNO(mp, breq->startino) > hdr->agno) agno 895 fs/xfs/xfs_ioctl.c } else if (hdr->agno) agno 223 fs/xfs/xfs_itable.c xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, startino); agno 226 fs/xfs/xfs_itable.c return agno >= mp->m_sb.sb_agcount || agno 227 fs/xfs/xfs_itable.c startino != XFS_AGINO_TO_INO(mp, agno, agino); agno 331 fs/xfs/xfs_itable.c xfs_agnumber_t agno, agno 336 fs/xfs/xfs_itable.c .xi_startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino), agno 348 fs/xfs/xfs_itable.c ic->breq->startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino) + agno 90 fs/xfs/xfs_iwalk.c xfs_agnumber_t agno, agno 106 fs/xfs/xfs_iwalk.c xfs_btree_reada_bufs(mp, agno, agbno, agno 180 fs/xfs/xfs_iwalk.c xfs_agnumber_t agno; agno 183 fs/xfs/xfs_iwalk.c agno = XFS_INO_TO_AGNO(mp, iwag->startino); agno 187 fs/xfs/xfs_iwalk.c trace_xfs_iwalk_ag_rec(mp, agno, irec); agno 193 fs/xfs/xfs_iwalk.c error = iwag->inobt_walk_fn(mp, tp, agno, irec, agno 211 fs/xfs/xfs_iwalk.c ino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino + j); agno 257 fs/xfs/xfs_iwalk.c xfs_agnumber_t agno, agno 270 fs/xfs/xfs_iwalk.c error = xfs_inobt_cur(mp, tp, agno, XFS_BTNUM_INO, curpp, agi_bpp); agno 341 fs/xfs/xfs_iwalk.c xfs_agnumber_t agno, agno 370 fs/xfs/xfs_iwalk.c error = xfs_inobt_cur(mp, tp, agno, XFS_BTNUM_INO, curpp, agi_bpp); agno 386 fs/xfs/xfs_iwalk.c xfs_agnumber_t agno; agno 392 fs/xfs/xfs_iwalk.c agno = XFS_INO_TO_AGNO(mp, iwag->startino); agno 394 fs/xfs/xfs_iwalk.c error = xfs_iwalk_ag_start(iwag, agno, agino, &cur, &agi_bp, &has_more); agno 422 fs/xfs/xfs_iwalk.c xfs_iwalk_ichunk_ra(mp, agno, irec); agno 442 fs/xfs/xfs_iwalk.c error = xfs_iwalk_run_callbacks(iwag, agno, &cur, &agi_bp, agno 450 fs/xfs/xfs_iwalk.c error = xfs_iwalk_run_callbacks(iwag, agno, &cur, &agi_bp, &has_more); agno 538 fs/xfs/xfs_iwalk.c xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, startino); agno 541 fs/xfs/xfs_iwalk.c ASSERT(agno < mp->m_sb.sb_agcount); agno 548 fs/xfs/xfs_iwalk.c for (; agno < mp->m_sb.sb_agcount; agno++) { agno 552 fs/xfs/xfs_iwalk.c iwag.startino = XFS_AGINO_TO_INO(mp, agno + 1, 0); agno 600 fs/xfs/xfs_iwalk.c xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, startino); agno 604 fs/xfs/xfs_iwalk.c ASSERT(agno < mp->m_sb.sb_agcount); agno 613 fs/xfs/xfs_iwalk.c for (; agno < mp->m_sb.sb_agcount; agno++) { agno 626 fs/xfs/xfs_iwalk.c startino = XFS_AGINO_TO_INO(mp, agno + 1, 0); agno 699 fs/xfs/xfs_iwalk.c xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, startino); agno 702 fs/xfs/xfs_iwalk.c ASSERT(agno < mp->m_sb.sb_agcount); agno 709 fs/xfs/xfs_iwalk.c for (; agno < mp->m_sb.sb_agcount; agno++) { agno 713 fs/xfs/xfs_iwalk.c iwag.startino = XFS_AGINO_TO_INO(mp, agno + 1, 0); agno 35 fs/xfs/xfs_iwalk.h xfs_agnumber_t agno, agno 543 fs/xfs/xfs_log_cil.c trace_xfs_discard_extent(mp, busyp->agno, busyp->bno, agno 547 fs/xfs/xfs_log_cil.c XFS_AGB_TO_DADDR(mp, busyp->agno, busyp->bno), agno 3773 fs/xfs/xfs_log_recover.c xfs_agnumber_t agno; agno 3794 fs/xfs/xfs_log_recover.c agno = be32_to_cpu(icl->icl_ag); agno 3795 fs/xfs/xfs_log_recover.c if (agno >= mp->m_sb.sb_agcount) { agno 3850 fs/xfs/xfs_log_recover.c daddr = XFS_AGB_TO_DADDR(mp, agno, agno 3876 fs/xfs/xfs_log_recover.c return xfs_ialloc_inode_init(mp, NULL, buffer_list, count, agno, agbno, agno 4933 fs/xfs/xfs_log_recover.c xfs_agnumber_t agno, agno 4946 fs/xfs/xfs_log_recover.c error = xfs_read_agi(mp, tp, agno, &agibp); agno 4965 fs/xfs/xfs_log_recover.c xfs_warn(mp, "%s: failed to clear agi %d. Continuing.", __func__, agno); agno 4972 fs/xfs/xfs_log_recover.c xfs_agnumber_t agno, agno 4982 fs/xfs/xfs_log_recover.c ino = XFS_AGINO_TO_INO(mp, agno, agino); agno 5022 fs/xfs/xfs_log_recover.c xlog_recover_clear_agi_bucket(mp, agno, bucket); agno 5054 fs/xfs/xfs_log_recover.c xfs_agnumber_t agno; agno 5063 fs/xfs/xfs_log_recover.c for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { agno 5067 fs/xfs/xfs_log_recover.c error = xfs_read_agi(mp, NULL, agno, &agibp); agno 5093 fs/xfs/xfs_log_recover.c agno, agino, bucket); agno 5815 fs/xfs/xfs_log_recover.c xfs_agnumber_t agno; agno 5826 fs/xfs/xfs_log_recover.c for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { agno 5827 fs/xfs/xfs_log_recover.c error = xfs_read_agf(mp, NULL, agno, 0, &agfbp); agno 5830 fs/xfs/xfs_log_recover.c __func__, agno, error); agno 5838 fs/xfs/xfs_log_recover.c error = xfs_read_agi(mp, NULL, agno, &agibp); agno 5841 fs/xfs/xfs_log_recover.c __func__, agno, error); agno 140 fs/xfs/xfs_mount.c xfs_agnumber_t agno; agno 143 fs/xfs/xfs_mount.c for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { agno 145 fs/xfs/xfs_mount.c pag = radix_tree_delete(&mp->m_perag_tree, agno); agno 132 fs/xfs/xfs_reflink.c xfs_agnumber_t agno, agno 143 fs/xfs/xfs_reflink.c error = xfs_alloc_read_agf(mp, tp, agno, 0, &agbp); agno 149 fs/xfs/xfs_reflink.c cur = xfs_refcountbt_init_cursor(mp, tp, agbp, agno); agno 176 fs/xfs/xfs_reflink.c xfs_agnumber_t agno; agno 191 fs/xfs/xfs_reflink.c agno = XFS_FSB_TO_AGNO(ip->i_mount, irec->br_startblock); agno 195 fs/xfs/xfs_reflink.c error = xfs_reflink_find_shared(ip->i_mount, NULL, agno, agbno, agno 768 fs/xfs/xfs_reflink.c xfs_agnumber_t agno; agno 774 fs/xfs/xfs_reflink.c for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { agno 775 fs/xfs/xfs_reflink.c error = xfs_refcount_recover_cow_leftovers(mp, agno); agno 972 fs/xfs/xfs_reflink.c xfs_agnumber_t agno) agno 980 fs/xfs/xfs_reflink.c pag = xfs_perag_get(mp, agno); agno 1401 fs/xfs/xfs_reflink.c xfs_agnumber_t agno; agno 1428 fs/xfs/xfs_reflink.c agno = XFS_FSB_TO_AGNO(mp, map[1].br_startblock); agno 1432 fs/xfs/xfs_reflink.c error = xfs_reflink_find_shared(mp, NULL, agno, agbno, agno 1474 fs/xfs/xfs_reflink.c xfs_agnumber_t agno; agno 1496 fs/xfs/xfs_reflink.c agno = XFS_FSB_TO_AGNO(mp, got.br_startblock); agno 1500 fs/xfs/xfs_reflink.c error = xfs_reflink_find_shared(mp, tp, agno, agbno, aglen, agno 21 fs/xfs/xfs_reflink.h xfs_agnumber_t agno, xfs_agblock_t agbno, xfs_extlen_t aglen, agno 100 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, int refcount, agno 102 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, refcount, caller_ip), agno 105 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 111 fs/xfs/xfs_trace.h __entry->agno = agno; agno 117 fs/xfs/xfs_trace.h __entry->agno, agno 124 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, int refcount, \ agno 126 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, refcount, caller_ip)) agno 138 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno), agno 139 fs/xfs/xfs_trace.h TP_ARGS(mp, agno), agno 142 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 146 fs/xfs/xfs_trace.h __entry->agno = agno; agno 150 fs/xfs/xfs_trace.h __entry->agno) agno 154 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno), \ agno 155 fs/xfs/xfs_trace.h TP_ARGS(mp, agno)) agno 500 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_ino_t ino, xfs_agnumber_t agno), agno 501 fs/xfs/xfs_trace.h TP_ARGS(mp, ino, agno), agno 505 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 511 fs/xfs/xfs_trace.h __entry->agno = agno; agno 512 fs/xfs/xfs_trace.h __entry->streams = xfs_filestream_peek_ag(mp, agno); agno 517 fs/xfs/xfs_trace.h __entry->agno, agno 522 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_ino_t ino, xfs_agnumber_t agno), \ agno 523 fs/xfs/xfs_trace.h TP_ARGS(mp, ino, agno)) agno 529 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_inode *ip, xfs_agnumber_t agno, agno 531 fs/xfs/xfs_trace.h TP_ARGS(ip, agno, free, nscan), agno 535 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 543 fs/xfs/xfs_trace.h __entry->agno = agno; agno 544 fs/xfs/xfs_trace.h __entry->streams = xfs_filestream_peek_ag(ip->i_mount, agno); agno 551 fs/xfs/xfs_trace.h __entry->agno, agno 734 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino, agno 736 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agino, holemask, nagino, nholemask), agno 739 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 747 fs/xfs/xfs_trace.h __entry->agno = agno; agno 754 fs/xfs/xfs_trace.h MAJOR(__entry->dev), MINOR(__entry->dev), __entry->agno, agno 760 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino, agno 762 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agino, holemask), agno 765 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 771 fs/xfs/xfs_trace.h __entry->agno = agno; agno 776 fs/xfs/xfs_trace.h MINOR(__entry->dev), __entry->agno, __entry->agino, agno 1405 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 1407 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agbno, len), agno 1410 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 1416 fs/xfs/xfs_trace.h __entry->agno = agno; agno 1422 fs/xfs/xfs_trace.h __entry->agno, agno 1428 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 1430 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agbno, len)) agno 1438 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 1441 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agbno, len, tbno, tlen), agno 1444 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 1452 fs/xfs/xfs_trace.h __entry->agno = agno; agno 1460 fs/xfs/xfs_trace.h __entry->agno, agno 1473 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 1489 fs/xfs/xfs_trace.h __entry->agno = be32_to_cpu(agf->agf_seqno), agno 1509 fs/xfs/xfs_trace.h __entry->agno, agno 1532 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t agbno, agno 1535 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agbno, len, resv, haveleft, haveright), agno 1538 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 1547 fs/xfs/xfs_trace.h __entry->agno = agno; agno 1556 fs/xfs/xfs_trace.h __entry->agno, agno 1571 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 1592 fs/xfs/xfs_trace.h __entry->agno = args->agno; agno 1616 fs/xfs/xfs_trace.h __entry->agno, agno 2133 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2142 fs/xfs/xfs_trace.h __entry->agno = be32_to_cpu(in_f->icl_ag); agno 2151 fs/xfs/xfs_trace.h __entry->agno, __entry->agbno, __entry->count, __entry->isize, agno 2163 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 2165 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agbno, len), agno 2168 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2174 fs/xfs/xfs_trace.h __entry->agno = agno; agno 2180 fs/xfs/xfs_trace.h __entry->agno, agno 2187 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 2189 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agbno, len)) agno 2320 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 2322 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, type, agbno, len), agno 2325 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2332 fs/xfs/xfs_trace.h __entry->agno = agno; agno 2340 fs/xfs/xfs_trace.h __entry->agno, agno 2346 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 2350 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, type, bno, len)) agno 2353 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 2361 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, op, agbno, ino, whichfork, offset, len, state), agno 2364 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2375 fs/xfs/xfs_trace.h __entry->agno = agno; agno 2387 fs/xfs/xfs_trace.h __entry->agno, agno 2397 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 2405 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, op, agbno, ino, whichfork, offset, len, state)) agno 2429 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 2432 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agbno, len, unwritten, oinfo), agno 2435 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2444 fs/xfs/xfs_trace.h __entry->agno = agno; agno 2455 fs/xfs/xfs_trace.h __entry->agno, agno 2464 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 2467 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agbno, len, unwritten, oinfo)) agno 2471 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, int error, agno 2473 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, error, caller_ip), agno 2476 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2482 fs/xfs/xfs_trace.h __entry->agno = agno; agno 2488 fs/xfs/xfs_trace.h __entry->agno, agno 2495 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, int error, \ agno 2497 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, error, caller_ip)) agno 2511 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 2514 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agbno, len, owner, offset, flags), agno 2517 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2526 fs/xfs/xfs_trace.h __entry->agno = agno; agno 2535 fs/xfs/xfs_trace.h __entry->agno, agno 2544 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 2547 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agbno, len, owner, offset, flags)) agno 2582 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2594 fs/xfs/xfs_trace.h __entry->agno = pag->pag_agno; agno 2605 fs/xfs/xfs_trace.h __entry->agno, agno 2640 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 2642 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agbno, dir), agno 2645 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2651 fs/xfs/xfs_trace.h __entry->agno = agno; agno 2657 fs/xfs/xfs_trace.h __entry->agno, agno 2665 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 2667 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agbno, dir)) agno 2671 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 2673 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, irec), agno 2676 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2683 fs/xfs/xfs_trace.h __entry->agno = agno; agno 2690 fs/xfs/xfs_trace.h __entry->agno, agno 2698 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 2700 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, irec)) agno 2704 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 2706 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, irec, agbno), agno 2709 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2717 fs/xfs/xfs_trace.h __entry->agno = agno; agno 2725 fs/xfs/xfs_trace.h __entry->agno, agno 2734 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 2736 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, irec, agbno)) agno 2740 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 2742 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, i1, i2), agno 2745 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2755 fs/xfs/xfs_trace.h __entry->agno = agno; agno 2766 fs/xfs/xfs_trace.h __entry->agno, agno 2777 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 2779 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, i1, i2)) agno 2783 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 2786 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, i1, i2, agbno), agno 2789 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2800 fs/xfs/xfs_trace.h __entry->agno = agno; agno 2812 fs/xfs/xfs_trace.h __entry->agno, agno 2824 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 2827 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, i1, i2, agbno)) agno 2831 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 2834 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, i1, i2, i3), agno 2837 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2850 fs/xfs/xfs_trace.h __entry->agno = agno; agno 2865 fs/xfs/xfs_trace.h __entry->agno, agno 2879 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 2882 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, i1, i2, i3)) agno 2928 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 2931 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, type, agbno, len, new_agbno, new_len), agno 2934 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 2943 fs/xfs/xfs_trace.h __entry->agno = agno; agno 2953 fs/xfs/xfs_trace.h __entry->agno, agno 3227 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, u32 keydev, xfs_agnumber_t agno, agno 3229 fs/xfs/xfs_trace.h TP_ARGS(mp, keydev, agno, rmap), agno 3233 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 3243 fs/xfs/xfs_trace.h __entry->agno = agno; agno 3253 fs/xfs/xfs_trace.h __entry->agno, agno 3262 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, u32 keydev, xfs_agnumber_t agno, \ agno 3264 fs/xfs/xfs_trace.h TP_ARGS(mp, keydev, agno, rmap)) agno 3372 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, unsigned int bucket, agno 3374 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, bucket, old_ptr, new_ptr), agno 3377 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 3384 fs/xfs/xfs_trace.h __entry->agno = agno; agno 3391 fs/xfs/xfs_trace.h __entry->agno, agno 3398 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino, agno 3400 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, agino, old_ptr, new_ptr), agno 3403 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 3410 fs/xfs/xfs_trace.h __entry->agno = agno; agno 3417 fs/xfs/xfs_trace.h __entry->agno, agno 3428 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 3433 fs/xfs/xfs_trace.h __entry->agno = XFS_INO_TO_AGNO(ip->i_mount, ip->i_ino); agno 3438 fs/xfs/xfs_trace.h __entry->agno, __entry->agino) agno 3476 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, unsigned int flags), agno 3477 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, flags), agno 3480 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 3485 fs/xfs/xfs_trace.h __entry->agno = agno; agno 3490 fs/xfs/xfs_trace.h __entry->agno, __entry->flags) agno 3494 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, \ agno 3496 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, flags)) agno 3526 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 3528 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, startino), agno 3531 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 3536 fs/xfs/xfs_trace.h __entry->agno = agno; agno 3540 fs/xfs/xfs_trace.h MAJOR(__entry->dev), MINOR(__entry->dev), __entry->agno, agno 3545 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, agno 3547 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, irec), agno 3550 fs/xfs/xfs_trace.h __field(xfs_agnumber_t, agno) agno 3556 fs/xfs/xfs_trace.h __entry->agno = agno; agno 3561 fs/xfs/xfs_trace.h MAJOR(__entry->dev), MINOR(__entry->dev), __entry->agno, agno 2592 include/trace/events/ext4.h TP_PROTO(struct super_block *sb, u32 keydev, u32 agno, u64 bno, u64 len, agno 2594 include/trace/events/ext4.h TP_ARGS(sb, keydev, agno, bno, len, owner), agno 2598 include/trace/events/ext4.h __field(u32, agno) agno 2606 include/trace/events/ext4.h __entry->agno = agno; agno 2614 include/trace/events/ext4.h __entry->agno, agno 2621 include/trace/events/ext4.h TP_PROTO(struct super_block *sb, u32 keydev, u32 agno, u64 bno, u64 len, \ agno 2623 include/trace/events/ext4.h TP_ARGS(sb, keydev, agno, bno, len, owner))