/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_alloc_btree.c | 30 return xfs_bnobt_init_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ag.agbp, in xfs_bnobt_dup_cursor() 31 cur->bc_ag.pag); in xfs_bnobt_dup_cursor() 38 return xfs_cntbt_init_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ag.agbp, in xfs_cntbt_dup_cursor() 39 cur->bc_ag.pag); in xfs_cntbt_dup_cursor() 49 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_set_root() 57 cur->bc_ag.pag->pagf_bno_level += inc; in xfs_allocbt_set_root() 61 cur->bc_ag.pag->pagf_cnt_level += inc; in xfs_allocbt_set_root() 78 error = xfs_alloc_get_freelist(cur->bc_ag.pag, cur->bc_tp, in xfs_allocbt_alloc_block() 79 cur->bc_ag.agbp, &bno, 1); in xfs_allocbt_alloc_block() 89 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_ag.pag, bno, 1, false); in xfs_allocbt_alloc_block() [all …]
|
D | xfs_ialloc_btree.c | 40 return xfs_inobt_init_cursor(cur->bc_ag.pag, cur->bc_tp, in xfs_inobt_dup_cursor() 41 cur->bc_ag.agbp); in xfs_inobt_dup_cursor() 48 return xfs_finobt_init_cursor(cur->bc_ag.pag, cur->bc_tp, in xfs_finobt_dup_cursor() 49 cur->bc_ag.agbp); in xfs_finobt_dup_cursor() 58 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_set_root() 72 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_finobt_set_root() 87 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_mod_blockcount() 115 args.pag = cur->bc_ag.pag; in __xfs_inobt_alloc_block() 249 struct xfs_agi *agi = cur->bc_ag.agbp->b_addr; in xfs_inobt_init_ptr_from_cur() 251 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agi->agi_seqno)); in xfs_inobt_init_ptr_from_cur() [all …]
|
D | xfs_refcount_btree.c | 33 cur->bc_ag.agbp, cur->bc_ag.pag); in xfs_refcountbt_dup_cursor() 42 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_set_root() 63 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_alloc_block() 71 args.pag = cur->bc_ag.pag; in xfs_refcountbt_alloc_block() 85 ASSERT(args.agno == cur->bc_ag.pag->pag_agno); in xfs_refcountbt_alloc_block() 105 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_free_block() 171 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_refcountbt_init_ptr_from_cur() 173 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_refcountbt_init_ptr_from_cur() 369 cur->bc_ag.pag = xfs_perag_hold(pag); in xfs_refcountbt_init_cursor() 372 cur->bc_ag.agbp = agbp; in xfs_refcountbt_init_cursor() [all …]
|
D | xfs_rmap_btree.c | 60 cur->bc_ag.agbp, cur->bc_ag.pag); in xfs_rmapbt_dup_cursor() 69 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_set_root() 76 cur->bc_ag.pag->pagf_rmap_level += inc; in xfs_rmapbt_set_root() 88 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_alloc_block() 90 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_rmapbt_alloc_block() 96 error = xfs_alloc_get_freelist(pag, cur->bc_tp, cur->bc_ag.agbp, in xfs_rmapbt_alloc_block() 126 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_free_block() 128 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_rmapbt_free_block() 228 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_rmapbt_init_ptr_from_cur() 230 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_rmapbt_init_ptr_from_cur() [all …]
|
D | xfs_btree_staging.c | 67 cur->bc_ag.afake = afake; in xfs_btree_stage_afakeroot() 89 cur->bc_ag.afake = NULL; in xfs_btree_commit_afakeroot() 90 cur->bc_ag.agbp = agbp; in xfs_btree_commit_afakeroot() 793 cur->bc_ag.afake->af_root = be32_to_cpu(ptr.s); in xfs_btree_bload() 794 cur->bc_ag.afake->af_levels = cur->bc_nlevels; in xfs_btree_bload() 795 cur->bc_ag.afake->af_blocks = total_blocks; in xfs_btree_bload()
|
D | xfs_refcount.c | 157 cur->bc_ag.pag->pag_agno, fa); in xfs_refcount_complain_bad_rec() 183 fa = xfs_refcount_check_irec(cur->bc_ag.pag, irec); in xfs_refcount_get_rec() 1158 cur->bc_ag.pag->pag_agno, in xfs_refcount_adjust_extents() 1221 cur->bc_ag.pag->pag_agno, in xfs_refcount_adjust_extents() 1315 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_refcount_continue_op() 1363 if (rcur != NULL && rcur->bc_ag.pag != ri->ri_pag) { in xfs_refcount_finish_one() 1883 if (xfs_refcount_check_irec(cur->bc_ag.pag, &rr->rr_rrec) != NULL || in xfs_refcount_recover_extent() 2032 fa = xfs_refcount_check_irec(cur->bc_ag.pag, &irec); in xfs_refcount_query_range_helper()
|
D | xfs_btree.c | 228 struct xfs_perag *pag = cur->bc_ag.pag; in __xfs_btree_check_agblock() 334 if (!xfs_verify_agbno(cur->bc_ag.pag, in __xfs_btree_check_ptr() 375 cur->bc_ag.pag->pag_agno, cur->bc_ops->name, in xfs_btree_check_ptr() 528 if (cur->bc_ag.pag) in xfs_btree_del_cursor() 529 xfs_perag_put(cur->bc_ag.pag); in xfs_btree_del_cursor() 1020 xfs_agnumber_t agno = cur->bc_ag.pag->pag_agno; in xfs_btree_readahead_agblock() 1094 *daddr = XFS_AGB_TO_DADDR(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_btree_ptr_to_daddr() 1316 return cur->bc_ag.pag->pag_agno; in xfs_btree_owner() 1973 ptr->s = cpu_to_be32(cur->bc_ag.afake->af_root); in xfs_btree_init_ptr_from_cur() 3206 cur->bc_ag.afake->af_root = be32_to_cpu(ptr->s); in xfs_btree_set_root() [all …]
|
D | xfs_ialloc.c | 145 cur->bc_ops->name, cur->bc_ag.pag->pag_agno, fa); in xfs_inobt_complain_bad_rec() 173 fa = xfs_inobt_check_irec(cur->bc_ag.pag, irec); in xfs_inobt_get_rec() 279 ASSERT(freecount == cur->bc_ag.pag->pagi_freecount); in xfs_check_agi_freecount() 2890 fa = xfs_inobt_check_irec(cur->bc_ag.pag, &irec); in xfs_ialloc_count_inodes_rec()
|
D | xfs_btree.h | 270 } bc_ag; member
|
D | xfs_alloc.c | 278 cur->bc_ops->name, cur->bc_ag.pag->pag_agno, fa); in xfs_alloc_complain_bad_rec() 306 fa = xfs_alloc_check_irec(cur->bc_ag.pag, &irec); in xfs_alloc_get_rec() 542 struct xfs_perag *pag = cnt_cur->bc_ag.pag; in xfs_alloc_fixup_longest() 543 struct xfs_buf *bp = cnt_cur->bc_ag.agbp; in xfs_alloc_fixup_longest() 4047 fa = xfs_alloc_check_irec(cur->bc_ag.pag, &irec); in xfs_alloc_query_range_helper()
|
D | xfs_rmap.c | 274 return xfs_rmap_check_irec(cur->bc_ag.pag, irec); in xfs_rmap_check_btrec() 291 cur->bc_ag.pag->pag_agno, fa); in xfs_rmap_complain_bad_rec() 2589 if (rcur != NULL && rcur->bc_ag.pag != ri->ri_pag) { in xfs_rmap_finish_one()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | ialloc.c | 261 struct xfs_perag *pag = bs->cur->bc_ag.pag; in xchk_iallocbt_chunk() 322 fsino = XFS_AGINO_TO_INO(mp, bs->cur->bc_ag.pag->pag_agno, agino); in xchk_iallocbt_check_cluster_ifree() 371 xfs_agnumber_t agno = bs->cur->bc_ag.pag->pag_agno; in xchk_iallocbt_check_cluster() 588 if (xfs_inobt_check_irec(bs->cur->bc_ag.pag, &irec) != NULL) { in xchk_iallocbt_rec()
|
D | cow_repair.c | 148 fsbno = XFS_AGB_TO_FSB(xc->sc->mp, cur->bc_ag.pag->pag_agno, in xrep_cow_mark_shared_staging() 181 XFS_AGB_TO_FSB(xc->sc->mp, cur->bc_ag.pag->pag_agno, in xrep_cow_mark_missing_staging() 225 fsbno = XFS_AGB_TO_FSB(xc->sc->mp, cur->bc_ag.pag->pag_agno, rec_bno); in xrep_cow_mark_missing_staging_rmap()
|
D | alloc.c | 142 if (xfs_alloc_check_irec(bs->cur->bc_ag.pag, &irec) != NULL) { in xchk_allocbt_rec()
|
D | health.c | 280 if (xfs_ag_has_sickness((*curp)->bc_ag.pag, mask)) { in xchk_ag_btree_del_cursor_if_sick()
|
D | bmap_repair.c | 199 if (!xfs_verify_agbext(cur->bc_ag.pag, rec->rm_startblock, in xrep_bmap_check_fork_rmap() 272 fsbno = XFS_AGB_TO_FSB(mp, cur->bc_ag.pag->pag_agno, in xrep_bmap_walk_rmap()
|
D | refcount.c | 456 if (xfs_refcount_check_irec(bs->cur->bc_ag.pag, &irec) != NULL) { in xchk_refcountbt_rec()
|
D | rmap.c | 361 xfs_rmap_check_irec(bs->cur->bc_ag.pag, &irec) != NULL) { in xchk_rmapbt_rec()
|
D | bmap.c | 604 cur->bc_ag.pag->pag_agno, in xchk_bmap_check_rmap()
|
D | rmap_repair.c | 625 if (xfs_inobt_check_irec(cur->bc_ag.pag, &irec) != NULL) in xrep_rmap_walk_inobt()
|
/linux-6.12.1/fs/xfs/ |
D | xfs_trace.h | 2545 __entry->agno = cur->bc_ag.pag->pag_agno; 2801 __entry->agno = cur->bc_ag.pag->pag_agno; 2846 __entry->agno = cur->bc_ag.pag->pag_agno; 2900 __entry->agno = cur->bc_ag.pag->pag_agno; 2935 __entry->agno = cur->bc_ag.pag->pag_agno; 3187 __entry->agno = cur->bc_ag.pag->pag_agno; 3218 __entry->agno = cur->bc_ag.pag->pag_agno; 3244 __entry->agno = cur->bc_ag.pag->pag_agno; 3280 __entry->agno = cur->bc_ag.pag->pag_agno; 3322 __entry->agno = cur->bc_ag.pag->pag_agno; [all …]
|
D | xfs_fsmap.c | 399 fsb = XFS_AGB_TO_FSB(mp, cur->bc_ag.pag->pag_agno, rec->rm_startblock); in xfs_getfsmap_datadev_helper() 417 rec_daddr = XFS_AGB_TO_DADDR(mp, cur->bc_ag.pag->pag_agno, in xfs_getfsmap_datadev_bnobt_helper()
|
D | xfs_health.c | 536 xfs_ag_mark_sick(cur->bc_ag.pag, cur->bc_ops->sick_mask); in xfs_btree_mark_sick()
|
D | xfs_refcount_item.c | 382 agbp = rcur->bc_ag.agbp; in xfs_refcount_finish_one_cleanup()
|
D | xfs_rmap_item.c | 399 agbp = rcur->bc_ag.agbp; in xfs_rmap_finish_one_cleanup()
|