Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/scrub/
H A Dagheader_repair.c223 struct xfs_agf *agf, in xrep_agf_set_roots() argument
226 agf->agf_roots[XFS_BTNUM_BNOi] = in xrep_agf_set_roots()
228 agf->agf_levels[XFS_BTNUM_BNOi] = in xrep_agf_set_roots()
231 agf->agf_roots[XFS_BTNUM_CNTi] = in xrep_agf_set_roots()
233 agf->agf_levels[XFS_BTNUM_CNTi] = in xrep_agf_set_roots()
236 agf->agf_roots[XFS_BTNUM_RMAPi] = in xrep_agf_set_roots()
238 agf->agf_levels[XFS_BTNUM_RMAPi] = in xrep_agf_set_roots()
242 agf->agf_refcount_root = in xrep_agf_set_roots()
244 agf->agf_refcount_level = in xrep_agf_set_roots()
381 struct xfs_agf *agf; in xrep_agf() local
[all …]
H A Dagheader.c383 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xchk_agf_xref_freeblks() local
394 if (blocks != be32_to_cpu(agf->agf_freeblks)) in xchk_agf_xref_freeblks()
417 if (agf->agf_freeblks != cpu_to_be32(0)) in xchk_agf_xref_cntbt()
533 struct xfs_agf *agf; in xchk_agf() local
550 agf = sc->sa.agf_bp->b_addr; in xchk_agf()
554 eoag = be32_to_cpu(agf->agf_length); in xchk_agf()
596 agfl_first = be32_to_cpu(agf->agf_flfirst); in xchk_agf()
597 agfl_last = be32_to_cpu(agf->agf_fllast); in xchk_agf()
598 agfl_count = be32_to_cpu(agf->agf_flcount); in xchk_agf()
722 struct xfs_agf *agf; in xchk_agfl() local
[all …]
H A Drepair.c291 struct xfs_agf *agf = bp->b_addr; in xrep_calc_ag_resblks() local
293 aglen = be32_to_cpu(agf->agf_length); in xrep_calc_ag_resblks()
294 freelen = be32_to_cpu(agf->agf_freeblks); in xrep_calc_ag_resblks()
434 struct xfs_agf *agf; member
475 error = xfs_agfl_walk(mp, ri->agf, ri->agfl_bp, in xrep_findroot_block()
660 ri.agf = agf_bp->b_addr; in xrep_find_ag_btree_roots()
H A Dbmap.c615 struct xfs_buf *agf; in xchk_bmap_check_ag_rmaps() local
618 error = xfs_alloc_read_agf(pag, sc->tp, 0, &agf); in xchk_bmap_check_ag_rmaps()
622 cur = xfs_rmapbt_init_cursor(sc->mp, sc->tp, agf, pag); in xchk_bmap_check_ag_rmaps()
631 xfs_trans_brelse(sc->tp, agf); in xchk_bmap_check_ag_rmaps()
H A Drmap.c392 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xchk_rmapbt_walk_ag_metadata() local
440 error = xfs_agfl_walk(sc->mp, agf, agfl_bp, xchk_rmapbt_walk_agfl, in xchk_rmapbt_walk_ag_metadata()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_refcount_btree.c42 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_set_root() local
47 agf->agf_refcount_root = ptr->s; in xfs_refcountbt_set_root()
48 be32_add_cpu(&agf->agf_refcount_level, inc); in xfs_refcountbt_set_root()
63 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_alloc_block() local
90 be32_add_cpu(&agf->agf_refcount_blocks, 1); in xfs_refcountbt_alloc_block()
107 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_free_block() local
178 ptr->s = agf->agf_refcount_root; in xfs_refcountbt_init_ptr_from_cur()
369 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_init_cursor() local
402 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_commit_staged_btree() local
506 struct xfs_agf *agf; in xfs_refcountbt_calc_reserves() local
[all …]
H A Dxfs_ag.c674 struct xfs_agf *agf = bp->b_addr; in xfs_agfblock_init() local
686 agf->agf_roots[XFS_BTNUM_RMAPi] = in xfs_agfblock_init()
692 agf->agf_flfirst = cpu_to_be32(1); in xfs_agfblock_init()
693 agf->agf_fllast = 0; in xfs_agfblock_init()
694 agf->agf_flcount = 0; in xfs_agfblock_init()
935 struct xfs_agf *agf; in xfs_ag_shrink_space() local
950 agf = agfbp->b_addr; in xfs_ag_shrink_space()
1064 struct xfs_agf *agf; in xfs_ag_extend_space() local
1084 agf = bp->b_addr; in xfs_ag_extend_space()
1121 struct xfs_agf *agf; in xfs_ag_get_geometry() local
[all …]
H A Dxfs_alloc.c2410 struct xfs_agf *agf) in xfs_agfl_needs_reset() argument
2469 agf->agf_flfirst = 0; in xfs_agfl_reset()
2471 agf->agf_flcount = 0; in xfs_agfl_reset()
2861 agf->agf_flfirst = 0; in xfs_alloc_get_freelist()
2950 agf->agf_fllast = 0; in xfs_alloc_put_freelist()
3072 if (be32_to_cpu(agf->agf_freeblks) < be32_to_cpu(agf->agf_longest) || in xfs_agf_verify()
3197 struct xfs_agf *agf; in xfs_alloc_read_agf() local
3212 agf = agfbp->b_addr; in xfs_alloc_read_agf()
3792 struct xfs_agf *agf; in __xfs_free_extent() local
3806 agf = agbp->b_addr; in __xfs_free_extent()
[all …]
H 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()
229 ptr->s = agf->agf_roots[cur->bc_btnum]; in xfs_rmapbt_init_ptr_from_cur()
528 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_init_cursor() local
561 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_commit_staged_btree() local
697 struct xfs_agf *agf; in xfs_rmapbt_calc_reserves() local
[all …]
H 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()
114 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_update_lastrec() local
133 be32_to_cpu(agf->agf_longest)) in xfs_allocbt_update_lastrec()
158 agf->agf_longest = len; in xfs_allocbt_update_lastrec()
225 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_init_ptr_from_cur() local
229 ptr->s = agf->agf_roots[cur->bc_btnum]; in xfs_allocbt_init_ptr_from_cur()
536 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_init_cursor() local
575 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_commit_staged_btree() local
[all …]
H A Dxfs_alloc.h222 int xfs_agfl_walk(struct xfs_mount *mp, struct xfs_agf *agf,
/openbmc/linux/fs/xfs/
H A Dxfs_notify_failure.c128 struct xfs_agf *agf; in xfs_dax_notify_ddev_failure() local
150 agf = agf_bp->b_addr; in xfs_dax_notify_ddev_failure()
151 range_agend = min(be32_to_cpu(agf->agf_length) - 1, in xfs_dax_notify_ddev_failure()
H A Dxfs_trace.h1688 TP_ARGS(mp, agf, flags, caller_ip),
1707 __entry->agno = be32_to_cpu(agf->agf_seqno),
1709 __entry->length = be32_to_cpu(agf->agf_length),
1713 be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNO]),
1715 be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]),
1716 __entry->flfirst = be32_to_cpu(agf->agf_flfirst),
1717 __entry->fllast = be32_to_cpu(agf->agf_fllast),
1718 __entry->flcount = be32_to_cpu(agf->agf_flcount),
1719 __entry->freeblks = be32_to_cpu(agf->agf_freeblks),
1720 __entry->longest = be32_to_cpu(agf->agf_longest);
[all …]
/openbmc/linux/arch/s390/tools/
H A Dopcodes.txt751 e318 agf RXY_RRRD