/linux-master/fs/xfs/ |
H A D | xfs_discard.c | 119 trace_xfs_discard_extent(mp, busyp->agno, busyp->bno, 123 XFS_AGB_TO_DADDR(mp, busyp->agno, busyp->bno), 382 xfs_agnumber_t agno; local 421 agno = xfs_daddr_to_agno(mp, start); 422 for_each_perag_range(mp, agno, xfs_daddr_to_agno(mp, end), pag) {
|
H A D | xfs_iwalk.c | 103 xfs_agnumber_t agno = pag->pag_agno; local 117 XFS_AGB_TO_DADDR(mp, agno, agbno), 568 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, startino); local 571 ASSERT(agno < mp->m_sb.sb_agcount); 578 for_each_perag_from(mp, agno, pag) { 583 iwag.startino = XFS_AGINO_TO_INO(mp, agno + 1, 0); 646 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, startino); local 649 ASSERT(agno < mp->m_sb.sb_agcount); 656 for_each_perag_from(mp, agno, pag) { 753 xfs_agnumber_t agno local [all...] |
H A D | xfs_extent_busy.h | 23 xfs_agnumber_t agno; member in struct:xfs_extent_busy
|
H A D | xfs_itable.c | 263 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, startino); local 266 return agno >= mp->m_sb.sb_agcount || 267 startino != XFS_AGINO_TO_INO(mp, agno, agino); 390 xfs_agnumber_t agno, 395 .xi_startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino), 407 ic->breq->startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino) + 387 xfs_inumbers_walk( struct xfs_mount *mp, struct xfs_trans *tp, xfs_agnumber_t agno, const struct xfs_inobt_rec_incore *irec, void *data) argument
|
H A D | xfs_health.c | 32 xfs_agnumber_t agno; local 41 for_each_perag(mp, agno, pag) { 44 trace_xfs_ag_unfixed_corruption(mp, agno, sick); 216 xfs_agnumber_t agno, 219 struct xfs_perag *pag = xfs_perag_get(mp, agno); 214 xfs_agno_mark_sick( struct xfs_mount *mp, xfs_agnumber_t agno, unsigned int mask) argument
|
H A D | xfs_icache.c | 1358 xfs_agnumber_t agno; local 1363 for_each_perag(mp, agno, pag) 1374 xfs_agnumber_t agno; local 1380 for_each_perag_tag(mp, agno, pag, XFS_ICI_BLOCKGC_TAG) 1497 xfs_agnumber_t agno; local 1506 for_each_perag_tag(mp, agno, pag, XFS_ICI_BLOCKGC_TAG) 1510 for_each_perag_tag(mp, agno, pag, XFS_ICI_BLOCKGC_TAG) 1759 xfs_agnumber_t agno; local 1761 for_each_perag_tag(mp, agno, pag, goal) {
|
H A D | xfs_refcount_item.c | 333 xfs_agnumber_t agno; local 335 agno = XFS_FSB_TO_AGNO(mp, ri->ri_startblock); 336 ri->ri_pag = xfs_perag_intent_get(mp, agno);
|
H A D | xfs_bmap_item.c | 327 xfs_agnumber_t agno; local 332 agno = XFS_FSB_TO_AGNO(mp, bi->bi_bmap.br_startblock); 341 bi->bi_pag = xfs_perag_intent_get(mp, agno);
|
/linux-master/fs/jfs/ |
H A D | jfs_dmap.c | 83 static int dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, 727 int rc, agno; local 782 agno = blkno >> bmp->db_agl2size; 793 if (atomic_read(&bmp->db_active[agno])) 827 writers = atomic_read(&bmp->db_active[agno]); 829 ((writers == 1) && (JFS_IP(ip)->active_ag != agno))) { 872 if ((rc = dbAllocAG(bmp, agno, nblocks, l2nb, results)) != -ENOSPC) 882 agno = dbNextAG(ipbmap); 888 if ((rc = dbAllocAG(bmp, agno, nblocks, l2nb, results)) == -ENOSPC) 1309 * agno 1323 dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, s64 * results) argument 1576 dbDiscardAG(struct inode *ip, int agno, s64 minlen) argument 2140 int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; local 2287 int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; local 3242 int dbitno, word, rembits, nb, nwords, wbitno, agno; local 3371 int agno, l2agsize, oldl2agsize; local [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_rmap_btree.h | 69 struct xfs_buftarg *btp, xfs_agnumber_t agno);
|
H A D | xfs_alloc.c | 1162 XFS_AGB_TO_DADDR(args->mp, args->agno, fbno), 1211 * Allocate a variable extent at exactly agno/bno. 1570 * Allocate a variable extent near bno in the allocation group agno. 1685 * Allocate a variable extent anywhere in the allocation group agno. 1935 * Free the extent starting at agno/bno for length. 1941 xfs_agnumber_t agno, 2255 trace_xfs_free_extent(mp, agno, bno, len, type, haveleft, haveright); 2260 trace_xfs_free_extent(mp, agno, bno, len, type, -1, -1); 2430 xfs_agnumber_t agno, 2438 error = xfs_free_ag_extent(tp, agbp, agno, agbn 1938 xfs_free_ag_extent( struct xfs_trans *tp, struct xfs_buf *agbp, xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type) argument 2428 xfs_free_agfl_block( struct xfs_trans *tp, xfs_agnumber_t agno, xfs_agblock_t agbno, struct xfs_buf *agbp, struct xfs_owner_info *oinfo) argument 2552 xfs_defer_agfl_block( struct xfs_trans *tp, xfs_agnumber_t agno, xfs_agblock_t agbno, struct xfs_owner_info *oinfo) argument 2599 xfs_agnumber_t agno; local 3610 xfs_alloc_vextent_this_ag( struct xfs_alloc_arg *args, xfs_agnumber_t agno) argument 3670 xfs_agnumber_t agno; local [all...] |
H A D | xfs_sb.c | 1093 xfs_agnumber_t agno = 1; local 1099 for_each_perag_from(mp, agno, pag) { 1129 if (agno % 16) 1146 error, agno); 1284 xfs_agnumber_t agno, 1290 ASSERT(agno != 0 && agno != NULLAGNUMBER); 1292 XFS_AG_DADDR(mp, agno, XFS_SB_BLOCK(mp)), 1295 xfs_agno_mark_sick(mp, agno, XFS_SICK_AG_SB); 1308 xfs_agnumber_t agno, 1281 xfs_sb_read_secondary( struct xfs_mount *mp, struct xfs_trans *tp, xfs_agnumber_t agno, struct xfs_buf **bpp) argument 1305 xfs_sb_get_secondary( struct xfs_mount *mp, struct xfs_trans *tp, xfs_agnumber_t agno, struct xfs_buf **bpp) argument [all...] |
H A D | xfs_ialloc.h | 89 xfs_agnumber_t agno, xfs_agblock_t agbno,
|
H A D | xfs_alloc.h | 38 struct xfs_perag *pag; /* per-ag struct for this agno */ 40 xfs_agnumber_t agno; /* allocation group number */ member in struct:xfs_alloc_arg 104 int xfs_alloc_vextent_this_ag(struct xfs_alloc_arg *args, xfs_agnumber_t agno);
|
H A D | xfs_rmap.h | 180 void xfs_rmap_alloc_extent(struct xfs_trans *tp, xfs_agnumber_t agno, 182 void xfs_rmap_free_extent(struct xfs_trans *tp, xfs_agnumber_t agno,
|
H A D | xfs_health.h | 196 void xfs_agno_mark_sick(struct xfs_mount *mp, xfs_agnumber_t agno,
|
H A D | xfs_format.h | 670 #define XFS_AGB_TO_FSB(mp,agno,agbno) \ 671 (((xfs_fsblock_t)(agno) << (mp)->m_sb.sb_agblklog) | (agbno)) 676 #define XFS_AGB_TO_DADDR(mp,agno,agbno) \ 678 (xfs_fsblock_t)(agno) * (mp)->m_sb.sb_agblocks + (agbno))) 679 #define XFS_AG_DADDR(mp,agno,d) (XFS_AGB_TO_DADDR(mp, agno, 0) + (d))
|
/linux-master/fs/xfs/scrub/ |
H A D | common.c | 71 xfs_agnumber_t agno, 93 trace_xchk_op_error(sc, agno, bno, *error, ret_ip); 103 trace_xchk_op_error(sc, agno, bno, *error, ret_ip); 112 xfs_agnumber_t agno, 116 return __xchk_process_error(sc, agno, bno, error, 123 xfs_agnumber_t agno, 127 return __xchk_process_error(sc, agno, bno, error, 544 xfs_agnumber_t agno, 550 sa->pag = xfs_perag_get(mp, agno); 670 xfs_agnumber_t agno, 69 __xchk_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error, __u32 errflag, void *ret_ip) argument 110 xchk_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error) argument 121 xchk_xref_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error) argument 542 xchk_ag_read_headers( struct xfs_scrub *sc, xfs_agnumber_t agno, struct xchk_ag *sa) argument 668 xchk_ag_init( struct xfs_scrub *sc, xfs_agnumber_t agno, struct xchk_ag *sa) argument 938 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, sc->sm->sm_ino); local [all...] |
H A D | inode.c | 82 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, sc->sm->sm_ino); local 199 trace_xchk_op_error(sc, agno, XFS_INO_TO_AGBNO(mp, sc->sm->sm_ino), 688 xfs_agnumber_t agno; local 695 agno = XFS_INO_TO_AGNO(sc->mp, ino); 698 error = xchk_ag_init_existing(sc, agno, &sc->sa); 699 if (!xchk_xref_process_error(sc, agno, agbno, &error))
|
H A D | reap.c | 224 xfs_agnumber_t agno = sc->sa.pag->pag_agno; local 259 daddr = XFS_AGB_TO_DADDR(mp, agno, bno); 551 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(sc->mp, fsbno); local 564 sc->sa.pag = xfs_perag_get(sc->mp, agno);
|
H A D | cow_repair.c | 243 xfs_agnumber_t agno; local 246 agno = XFS_FSB_TO_AGNO(sc->mp, xc->irec.br_startblock); 249 pag = xfs_perag_get(sc->mp, agno);
|
H A D | bmap.c | 330 xfs_agnumber_t agno; local 335 agno = XFS_FSB_TO_AGNO(mp, irec->br_startblock); 339 error = xchk_ag_init_existing(info->sc, agno, &info->sc->sa); 765 xfs_agnumber_t agno; local 768 for_each_perag(sc->mp, agno, pag) {
|
H A D | btree.c | 371 xfs_agnumber_t agno; local 379 agno = xfs_daddr_to_agno(bs->cur->bc_mp, daddr); 389 error = xchk_ag_init_existing(bs->sc, agno, &bs->sc->sa);
|
H A D | ialloc.c | 371 xfs_agnumber_t agno = bs->cur->bc_ag.pag->pag_agno; local 399 imap.im_blkno = XFS_AGB_TO_DADDR(mp, agno, agbno); 410 trace_xchk_iallocbt_check_cluster(mp, agno, irec->ir_startino,
|
/linux-master/fs/ext4/ |
H A D | mballoc.h | 251 ext4_group_t agno, 259 ext4_group_t agno,
|