Home
last modified time | relevance | path

Searched refs:agf (Results 1 – 13 of 13) sorted by relevance

/linux/fs/xfs/scrub/
A Dagheader_repair.c209 struct xfs_agf *agf, in xrep_agf_set_roots() argument
212 agf->agf_roots[XFS_BTNUM_BNOi] = in xrep_agf_set_roots()
214 agf->agf_levels[XFS_BTNUM_BNOi] = in xrep_agf_set_roots()
217 agf->agf_roots[XFS_BTNUM_CNTi] = in xrep_agf_set_roots()
219 agf->agf_levels[XFS_BTNUM_CNTi] = in xrep_agf_set_roots()
222 agf->agf_roots[XFS_BTNUM_RMAPi] = in xrep_agf_set_roots()
224 agf->agf_levels[XFS_BTNUM_RMAPi] = in xrep_agf_set_roots()
228 agf->agf_refcount_root = in xrep_agf_set_roots()
230 agf->agf_refcount_level = in xrep_agf_set_roots()
367 struct xfs_agf *agf; in xrep_agf() local
[all …]
A Dagheader.c374 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xchk_agf_xref_freeblks() local
408 if (agf->agf_freeblks != cpu_to_be32(0)) in xchk_agf_xref_cntbt()
523 struct xfs_agf *agf; in xchk_agf() local
540 agf = sc->sa.agf_bp->b_addr; in xchk_agf()
544 eoag = be32_to_cpu(agf->agf_length); in xchk_agf()
586 agfl_first = be32_to_cpu(agf->agf_flfirst); in xchk_agf()
587 agfl_last = be32_to_cpu(agf->agf_fllast); in xchk_agf()
588 agfl_count = be32_to_cpu(agf->agf_flcount); in xchk_agf()
702 struct xfs_agf *agf; in xchk_agfl() local
721 agf = sc->sa.agf_bp->b_addr; in xchk_agfl()
[all …]
A Drepair.c215 struct xfs_agf *agf = bp->b_addr; in xrep_calc_ag_resblks() local
217 aglen = be32_to_cpu(agf->agf_length); in xrep_calc_ag_resblks()
218 freelen = be32_to_cpu(agf->agf_freeblks); in xrep_calc_ag_resblks()
661 struct xfs_agf *agf; member
702 error = xfs_agfl_walk(mp, ri->agf, ri->agfl_bp, in xrep_findroot_block()
887 ri.agf = agf_bp->b_addr; in xrep_find_ag_btree_roots()
A Dbmap.c556 struct xfs_buf *agf; in xchk_bmap_check_ag_rmaps() local
559 error = xfs_alloc_read_agf(sc->mp, sc->tp, pag->pag_agno, 0, &agf); in xchk_bmap_check_ag_rmaps()
563 cur = xfs_rmapbt_init_cursor(sc->mp, sc->tp, agf, pag); in xchk_bmap_check_ag_rmaps()
572 xfs_trans_brelse(sc->tp, agf); in xchk_bmap_check_ag_rmaps()
/linux/fs/xfs/libxfs/
A Dxfs_ag.c521 struct xfs_agf *agf = bp->b_addr; in xfs_agfblock_init() local
533 agf->agf_roots[XFS_BTNUM_RMAPi] = in xfs_agfblock_init()
539 agf->agf_flfirst = cpu_to_be32(1); in xfs_agfblock_init()
540 agf->agf_fllast = 0; in xfs_agfblock_init()
541 agf->agf_flcount = 0; in xfs_agfblock_init()
782 struct xfs_agf *agf; in xfs_ag_shrink_space() local
797 agf = agfbp->b_addr; in xfs_ag_shrink_space()
894 struct xfs_agf *agf; in xfs_ag_extend_space() local
917 agf = bp->b_addr; in xfs_ag_extend_space()
950 struct xfs_agf *agf; in xfs_ag_get_geometry() local
[all …]
A Dxfs_refcount_btree.c41 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_set_root() local
46 agf->agf_refcount_root = ptr->s; in xfs_refcountbt_set_root()
47 be32_add_cpu(&agf->agf_refcount_level, inc); in xfs_refcountbt_set_root()
62 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_alloc_block() local
89 be32_add_cpu(&agf->agf_refcount_blocks, 1); in xfs_refcountbt_alloc_block()
106 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_free_block() local
177 ptr->s = agf->agf_refcount_root; in xfs_refcountbt_init_ptr_from_cur()
351 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_init_cursor() local
384 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_commit_staged_btree() local
488 struct xfs_agf *agf; in xfs_refcountbt_calc_reserves() local
[all …]
A Dxfs_alloc.c2368 struct xfs_agf *agf) in xfs_agfl_needs_reset() argument
2431 agf->agf_flfirst = 0; in xfs_agfl_reset()
2433 agf->agf_flcount = 0; in xfs_agfl_reset()
2896 agf->agf_fllast = 0; in xfs_alloc_put_freelist()
2945 be32_to_cpu(agf->agf_freeblks) <= be32_to_cpu(agf->agf_length) && in xfs_agf_verify()
2954 if (be32_to_cpu(agf->agf_freeblks) < be32_to_cpu(agf->agf_longest) || in xfs_agf_verify()
2955 be32_to_cpu(agf->agf_freeblks) > be32_to_cpu(agf->agf_length)) in xfs_agf_verify()
2973 be32_to_cpu(agf->agf_rmap_blocks) > be32_to_cpu(agf->agf_length)) in xfs_agf_verify()
2986 be32_to_cpu(agf->agf_btreeblks) > be32_to_cpu(agf->agf_length)) in xfs_agf_verify()
3108 agf = (*bpp)->b_addr; in xfs_alloc_read_agf()
[all …]
A Dxfs_rmap_btree.c67 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_set_root() local
72 agf->agf_roots[btnum] = ptr->s; in xfs_rmapbt_set_root()
87 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_alloc_block() local
107 be32_add_cpu(&agf->agf_rmap_blocks, 1); in xfs_rmapbt_alloc_block()
122 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_free_block() local
130 be32_add_cpu(&agf->agf_rmap_blocks, -1); in xfs_rmapbt_free_block()
219 ptr->s = agf->agf_roots[cur->bc_btnum]; in xfs_rmapbt_init_ptr_from_cur()
478 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_init_cursor() local
511 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_commit_staged_btree() local
647 struct xfs_agf *agf; in xfs_rmapbt_calc_reserves() local
[all …]
A Dxfs_alloc_btree.c40 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_set_root() local
45 agf->agf_roots[btnum] = ptr->s; in xfs_allocbt_set_root()
46 be32_add_cpu(&agf->agf_levels[btnum], inc); in xfs_allocbt_set_root()
113 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_update_lastrec() local
132 be32_to_cpu(agf->agf_longest)) in xfs_allocbt_update_lastrec()
157 agf->agf_longest = len; in xfs_allocbt_update_lastrec()
224 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_init_ptr_from_cur() local
228 ptr->s = agf->agf_roots[cur->bc_btnum]; in xfs_allocbt_init_ptr_from_cur()
515 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_init_cursor() local
554 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_commit_staged_btree() local
[all …]
A Dxfs_alloc.h239 int xfs_agfl_walk(struct xfs_mount *mp, struct xfs_agf *agf,
/linux/fs/xfs/
A Dxfs_discard.c34 struct xfs_agf *agf; in xfs_trim_extents() local
51 agf = agbp->b_addr; in xfs_trim_extents()
58 error = xfs_alloc_lookup_ge(cur, 0, be32_to_cpu(agf->agf_longest), &i); in xfs_trim_extents()
79 ASSERT(flen <= be32_to_cpu(agf->agf_longest)); in xfs_trim_extents()
A Dxfs_trace.h1692 TP_ARGS(mp, agf, flags, caller_ip),
1711 __entry->agno = be32_to_cpu(agf->agf_seqno),
1713 __entry->length = be32_to_cpu(agf->agf_length),
1717 be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNO]),
1719 be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]),
1720 __entry->flfirst = be32_to_cpu(agf->agf_flfirst),
1721 __entry->fllast = be32_to_cpu(agf->agf_fllast),
1722 __entry->flcount = be32_to_cpu(agf->agf_flcount),
1723 __entry->freeblks = be32_to_cpu(agf->agf_freeblks),
1724 __entry->longest = be32_to_cpu(agf->agf_longest);
[all …]
/linux/arch/s390/tools/
A Dopcodes.txt750 e318 agf RXY_RRRD

Completed in 43 milliseconds