Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
A Dxfs_ag.c571 struct xfs_agf *agf = bp->b_addr; in xfs_agfblock_init() local
580 agf->agf_bno_level = cpu_to_be32(1); in xfs_agfblock_init()
588 agf->agf_flfirst = cpu_to_be32(1); in xfs_agfblock_init()
589 agf->agf_fllast = 0; in xfs_agfblock_init()
590 agf->agf_flcount = 0; in xfs_agfblock_init()
834 struct xfs_agf *agf; in xfs_ag_shrink_space() local
849 agf = agfbp->b_addr; in xfs_ag_shrink_space()
963 struct xfs_agf *agf; in xfs_ag_extend_space() local
983 agf = bp->b_addr; in xfs_ag_extend_space()
1020 struct xfs_agf *agf; in xfs_ag_get_geometry() local
[all …]
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
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
175 ptr->s = agf->agf_refcount_root; in xfs_refcountbt_init_ptr_from_cur()
374 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_init_cursor() local
391 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_commit_staged_btree() local
496 struct xfs_agf *agf; in xfs_refcountbt_calc_reserves() local
[all …]
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 …]
A Dxfs_alloc.c2558 struct xfs_agf *agf) in xfs_agfl_needs_reset() argument
2617 agf->agf_flfirst = 0; in xfs_agfl_reset()
2619 agf->agf_flcount = 0; in xfs_agfl_reset()
3057 agf->agf_flfirst = 0; in xfs_alloc_get_freelist()
3146 agf->agf_fllast = 0; in xfs_alloc_put_freelist()
3268 if (be32_to_cpu(agf->agf_freeblks) < be32_to_cpu(agf->agf_longest) || in xfs_agf_verify()
3392 struct xfs_agf *agf; in xfs_alloc_read_agf() local
3407 agf = agfbp->b_addr; in xfs_alloc_read_agf()
3982 struct xfs_agf *agf; in __xfs_free_extent() local
4000 agf = agbp->b_addr; in __xfs_free_extent()
[all …]
A Dxfs_rmap_btree.c70 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_set_root() local
74 agf->agf_rmap_root = ptr->s; in xfs_rmapbt_set_root()
75 be32_add_cpu(&agf->agf_rmap_level, inc); in xfs_rmapbt_set_root()
89 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_alloc_block() local
108 be32_add_cpu(&agf->agf_rmap_blocks, 1); in xfs_rmapbt_alloc_block()
127 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_free_block() local
232 ptr->s = agf->agf_rmap_root; in xfs_rmapbt_init_ptr_from_cur()
544 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 …]
A Dxfs_alloc.h222 int xfs_agfl_walk(struct xfs_mount *mp, struct xfs_agf *agf,
/linux/fs/xfs/scrub/
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 …]
A Dagheader.c417 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()
559 agbno = be32_to_cpu(agf->agf_bno_root); in xchk_agf()
563 agbno = be32_to_cpu(agf->agf_cnt_root); in xchk_agf()
567 level = be32_to_cpu(agf->agf_bno_level); in xchk_agf()
571 level = be32_to_cpu(agf->agf_cnt_level); in xchk_agf()
576 agbno = be32_to_cpu(agf->agf_rmap_root); in xchk_agf()
722 struct xfs_agf *agf; in xchk_agfl() local
[all …]
A Dalloc_repair.c367 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xrep_abt_find_freespace() local
385 agend = be32_to_cpu(agf->agf_length); in xrep_abt_find_freespace()
397 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()
A Drepair.c312 struct xfs_agf *agf = bp->b_addr; in xrep_calc_ag_resblks() local
314 aglen = be32_to_cpu(agf->agf_length); in xrep_calc_ag_resblks()
315 freelen = be32_to_cpu(agf->agf_freeblks); in xrep_calc_ag_resblks()
454 struct xfs_agf *agf; member
495 error = xfs_agfl_walk(mp, ri->agf, ri->agfl_bp, in xrep_findroot_block()
680 ri.agf = agf_bp->b_addr; in xrep_find_ag_btree_roots()
A Drmap_repair.c983 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xrep_rmap_try_reserve() local
1047 error = xfs_agfl_walk(sc->mp, agf, agfl_bp, xrep_rmap_walk_agfl, &ra); in xrep_rmap_try_reserve()
1123 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xrep_rmap_reset_counters() local
1131 agf->agf_btreeblks = cpu_to_be32(rr->freesp_btblocks + rmap_btblocks); in xrep_rmap_reset_counters()
1273 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xrep_rmap_build_new_tree() local
1283 rr->old_rmapbt_fsbcount = be32_to_cpu(agf->agf_rmap_blocks); in xrep_rmap_build_new_tree()
1444 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xrep_rmap_remove_old_tree() local
1461 agend = be32_to_cpu(agf->agf_length); in xrep_rmap_remove_old_tree()
A Dbmap.c639 struct xfs_buf *agf; in xchk_bmap_check_ag_rmaps() local
642 error = xfs_alloc_read_agf(pag, sc->tp, 0, &agf); in xchk_bmap_check_ag_rmaps()
646 cur = xfs_rmapbt_init_cursor(sc->mp, sc->tp, agf, pag); in xchk_bmap_check_ag_rmaps()
655 xfs_trans_brelse(sc->tp, agf); in xchk_bmap_check_ag_rmaps()
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()
A Dinode_repair.c745 struct xfs_buf *agf; in xrep_dinode_count_ag_rmaps() local
748 error = xfs_alloc_read_agf(pag, ri->sc->tp, 0, &agf); in xrep_dinode_count_ag_rmaps()
752 cur = xfs_rmapbt_init_cursor(ri->sc->mp, ri->sc->tp, agf, pag); in xrep_dinode_count_ag_rmaps()
755 xfs_trans_brelse(ri->sc->tp, agf); in xrep_dinode_count_ag_rmaps()
/linux/fs/xfs/
A Dxfs_notify_failure.c195 struct xfs_agf *agf; in xfs_dax_notify_ddev_failure() local
217 agf = agf_bp->b_addr; in xfs_dax_notify_ddev_failure()
218 range_agend = min(be32_to_cpu(agf->agf_length) - 1, in xfs_dax_notify_ddev_failure()
A Dxfs_trace.h1701 TP_ARGS(mp, agf, flags, caller_ip),
1720 __entry->agno = be32_to_cpu(agf->agf_seqno),
1722 __entry->length = be32_to_cpu(agf->agf_length),
1723 __entry->bno_root = be32_to_cpu(agf->agf_bno_root),
1724 __entry->cnt_root = be32_to_cpu(agf->agf_cnt_root),
1727 __entry->flfirst = be32_to_cpu(agf->agf_flfirst),
1728 __entry->fllast = be32_to_cpu(agf->agf_fllast),
1729 __entry->flcount = be32_to_cpu(agf->agf_flcount),
1730 __entry->freeblks = be32_to_cpu(agf->agf_freeblks),
1731 __entry->longest = be32_to_cpu(agf->agf_longest);
[all …]
/linux/arch/s390/tools/
A Dopcodes.txt755 e318 agf RXY_RRRD

Completed in 50 milliseconds