Home
last modified time | relevance | path

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

/linux-6.15/fs/xfs/libxfs/
H A Dxfs_ag.c494 struct xfs_agf *agf = bp->b_addr; in xfs_agfblock_init() local
503 agf->agf_bno_level = cpu_to_be32(1); in xfs_agfblock_init()
511 agf->agf_flfirst = cpu_to_be32(1); in xfs_agfblock_init()
512 agf->agf_fllast = 0; in xfs_agfblock_init()
513 agf->agf_flcount = 0; in xfs_agfblock_init()
757 struct xfs_agf *agf; in xfs_ag_shrink_space() local
772 agf = agfbp->b_addr; in xfs_ag_shrink_space()
887 struct xfs_agf *agf; in xfs_ag_extend_space() local
907 agf = bp->b_addr; in xfs_ag_extend_space()
944 struct xfs_agf *agf; in xfs_ag_get_geometry() local
[all …]
H A Dxfs_refcount_btree.c43 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_set_root() local
48 agf->agf_refcount_root = ptr->s; in xfs_refcountbt_set_root()
49 be32_add_cpu(&agf->agf_refcount_level, inc); in xfs_refcountbt_set_root()
64 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_alloc_block() local
88 be32_add_cpu(&agf->agf_refcount_blocks, 1); in xfs_refcountbt_alloc_block()
105 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_free_block() local
174 ptr->s = agf->agf_refcount_root; in xfs_refcountbt_init_ptr_from_cur()
373 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_init_cursor() local
390 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_commit_staged_btree() local
495 struct xfs_agf *agf; in xfs_refcountbt_calc_reserves() local
[all …]
H A Dxfs_alloc_btree.c50 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_set_root() local
55 agf->agf_bno_root = ptr->s; in xfs_allocbt_set_root()
56 be32_add_cpu(&agf->agf_bno_level, inc); in xfs_allocbt_set_root()
59 agf->agf_cnt_root = ptr->s; in xfs_allocbt_set_root()
60 be32_add_cpu(&agf->agf_cnt_level, inc); in xfs_allocbt_set_root()
179 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_init_ptr_from_cur() local
184 ptr->s = agf->agf_bno_root; in xfs_allocbt_init_ptr_from_cur()
186 ptr->s = agf->agf_cnt_root; in xfs_allocbt_init_ptr_from_cur()
498 struct xfs_agf *agf = agbp->b_addr; in xfs_bnobt_init_cursor() local
524 struct xfs_agf *agf = agbp->b_addr; in xfs_cntbt_init_cursor() local
[all …]
H A Dxfs_alloc.c2559 struct xfs_agf *agf) in xfs_agfl_needs_reset() argument
2618 agf->agf_flfirst = 0; in xfs_agfl_reset()
2620 agf->agf_flcount = 0; in xfs_agfl_reset()
3068 agf->agf_flfirst = 0; in xfs_alloc_get_freelist()
3157 agf->agf_fllast = 0; in xfs_alloc_put_freelist()
3277 if (be32_to_cpu(agf->agf_freeblks) < be32_to_cpu(agf->agf_longest) || in xfs_agf_verify()
3402 struct xfs_agf *agf; in xfs_alloc_read_agf() local
3417 agf = agfbp->b_addr; in xfs_alloc_read_agf()
3990 struct xfs_agf *agf; in __xfs_free_extent() local
4008 agf = agbp->b_addr; in __xfs_free_extent()
[all …]
H A Dxfs_rmap_btree.c70 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_set_root() local
75 agf->agf_rmap_root = ptr->s; in xfs_rmapbt_set_root()
76 be32_add_cpu(&agf->agf_rmap_level, inc); in xfs_rmapbt_set_root()
90 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_alloc_block() local
109 be32_add_cpu(&agf->agf_rmap_blocks, 1); in xfs_rmapbt_alloc_block()
128 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_free_block() local
233 ptr->s = agf->agf_rmap_root; in xfs_rmapbt_init_ptr_from_cur()
545 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_init_cursor() local
706 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_commit_staged_btree() local
844 struct xfs_agf *agf; in xfs_rmapbt_calc_reserves() local
[all …]
H A Dxfs_alloc.h221 int xfs_agfl_walk(struct xfs_mount *mp, struct xfs_agf *agf,
/linux-6.15/fs/xfs/scrub/
H A Dagheader_repair.c205 struct xfs_agf *agf = agf_bp->b_addr; in xrep_agf_init_header() local
214 agf->agf_fllast = old_agf->agf_fllast; in xrep_agf_init_header()
228 struct xfs_agf *agf, in xrep_agf_set_roots() argument
241 agf->agf_refcount_root = in xrep_agf_set_roots()
243 agf->agf_refcount_level = in xrep_agf_set_roots()
256 struct xfs_agf *agf = agf_bp->b_addr; in xrep_agf_calc_from_btrees() local
318 struct xfs_agf *agf = agf_bp->b_addr; in xrep_agf_commit_new() local
375 struct xfs_agf *agf; in xrep_agf() local
393 agf = agf_bp->b_addr; in xrep_agf()
431 xrep_agf_set_roots(sc, agf, fab); in xrep_agf()
[all …]
H A Dagheader.c484 if (agf->agf_freeblks != cpu_to_be32(0)) in xchk_agf_xref_cntbt()
600 struct xfs_agf *agf; in xchk_agf() local
617 agf = sc->sa.agf_bp->b_addr; in xchk_agf()
621 eoag = be32_to_cpu(agf->agf_length); in xchk_agf()
626 agbno = be32_to_cpu(agf->agf_bno_root); in xchk_agf()
630 agbno = be32_to_cpu(agf->agf_cnt_root); in xchk_agf()
634 level = be32_to_cpu(agf->agf_bno_level); in xchk_agf()
638 level = be32_to_cpu(agf->agf_cnt_level); in xchk_agf()
643 agbno = be32_to_cpu(agf->agf_rmap_root); in xchk_agf()
789 struct xfs_agf *agf; in xchk_agfl() local
[all …]
H A Dalloc_repair.c366 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xrep_abt_find_freespace() local
384 agend = be32_to_cpu(agf->agf_length); in xrep_abt_find_freespace()
396 error = xfs_agfl_walk(mp, agf, agfl_bp, xrep_abt_walk_agfl, ra); in xrep_abt_find_freespace()
653 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xrep_abt_reset_counters() local
671 agf->agf_btreeblks = cpu_to_be32(freesp_btreeblks + in xrep_abt_reset_counters()
672 (be32_to_cpu(agf->agf_rmap_blocks) - 1)); in xrep_abt_reset_counters()
673 agf->agf_freeblks = cpu_to_be32(ra->nr_blocks); in xrep_abt_reset_counters()
674 agf->agf_longest = cpu_to_be32(ra->longest); in xrep_abt_reset_counters()
H A Drmap_repair.c1052 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xrep_rmap_try_reserve() local
1116 error = xfs_agfl_walk(sc->mp, agf, agfl_bp, xrep_rmap_walk_agfl, &ra); in xrep_rmap_try_reserve()
1192 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xrep_rmap_reset_counters() local
1200 agf->agf_btreeblks = cpu_to_be32(rr->freesp_btblocks + rmap_btblocks); in xrep_rmap_reset_counters()
1342 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xrep_rmap_build_new_tree() local
1351 rr->old_rmapbt_fsbcount = be32_to_cpu(agf->agf_rmap_blocks); in xrep_rmap_build_new_tree()
1512 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xrep_rmap_remove_old_tree() local
1529 agend = be32_to_cpu(agf->agf_length); in xrep_rmap_remove_old_tree()
H A Drepair.c321 struct xfs_agf *agf = bp->b_addr; in xrep_calc_ag_resblks() local
323 aglen = be32_to_cpu(agf->agf_length); in xrep_calc_ag_resblks()
324 freelen = be32_to_cpu(agf->agf_freeblks); in xrep_calc_ag_resblks()
497 struct xfs_agf *agf; member
538 error = xfs_agfl_walk(mp, ri->agf, ri->agfl_bp, in xrep_findroot_block()
723 ri.agf = agf_bp->b_addr; in xrep_find_ag_btree_roots()
H A Dbmap.c698 struct xfs_buf *agf; in xchk_bmap_check_ag_rmaps() local
701 error = xfs_alloc_read_agf(pag, sc->tp, 0, &agf); in xchk_bmap_check_ag_rmaps()
705 cur = xfs_rmapbt_init_cursor(sc->mp, sc->tp, agf, pag); in xchk_bmap_check_ag_rmaps()
714 xfs_trans_brelse(sc->tp, agf); in xchk_bmap_check_ag_rmaps()
H A Drmap.c402 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xchk_rmapbt_walk_ag_metadata() local
450 error = xfs_agfl_walk(sc->mp, agf, agfl_bp, xchk_rmapbt_walk_agfl, in xchk_rmapbt_walk_ag_metadata()
H A Dinode_repair.c765 struct xfs_buf *agf; in xrep_dinode_count_ag_rmaps() local
768 error = xfs_alloc_read_agf(pag, ri->sc->tp, 0, &agf); in xrep_dinode_count_ag_rmaps()
772 cur = xfs_rmapbt_init_cursor(ri->sc->mp, ri->sc->tp, agf, pag); in xrep_dinode_count_ag_rmaps()
775 xfs_trans_brelse(ri->sc->tp, agf); in xrep_dinode_count_ag_rmaps()
/linux-6.15/fs/xfs/
H A Dxfs_trace.h1986 TP_ARGS(mp, agf, flags, caller_ip),
2005 __entry->agno = be32_to_cpu(agf->agf_seqno),
2007 __entry->length = be32_to_cpu(agf->agf_length),
2008 __entry->bno_root = be32_to_cpu(agf->agf_bno_root),
2009 __entry->cnt_root = be32_to_cpu(agf->agf_cnt_root),
2012 __entry->flfirst = be32_to_cpu(agf->agf_flfirst),
2013 __entry->fllast = be32_to_cpu(agf->agf_fllast),
2014 __entry->flcount = be32_to_cpu(agf->agf_flcount),
2015 __entry->freeblks = be32_to_cpu(agf->agf_freeblks),
2016 __entry->longest = be32_to_cpu(agf->agf_longest);
[all …]
/linux-6.15/arch/s390/tools/
H A Dopcodes.txt755 e318 agf RXY_RRRD