/Linux-v6.6/fs/xfs/libxfs/ |
D | xfs_refcount.c | 53 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcount_lookup_le() 73 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcount_lookup_ge() 93 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcount_lookup_eq() 129 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_refcount_check_irec() 157 cur->bc_ag.pag->pag_agno, fa); in xfs_refcount_complain_bad_rec() 186 trace_xfs_refcount_get(cur->bc_mp, cur->bc_ag.pag->pag_agno, irec); in xfs_refcount_get_rec() 204 trace_xfs_refcount_update(cur->bc_mp, cur->bc_ag.pag->pag_agno, irec); in xfs_refcount_update() 215 cur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_refcount_update() 232 trace_xfs_refcount_insert(cur->bc_mp, cur->bc_ag.pag->pag_agno, irec); in xfs_refcount_insert() 250 cur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_refcount_insert() [all …]
|
D | xfs_refcount_btree.c | 32 cur->bc_ag.agbp, cur->bc_ag.pag); in xfs_refcountbt_dup_cursor() 41 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_set_root() 62 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_alloc_block() 70 args.pag = cur->bc_ag.pag; in xfs_refcountbt_alloc_block() 80 trace_xfs_refcountbt_alloc_block(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcountbt_alloc_block() 86 ASSERT(args.agno == cur->bc_ag.pag->pag_agno); in xfs_refcountbt_alloc_block() 106 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_free_block() 110 trace_xfs_refcountbt_free_block(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcountbt_free_block() 174 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_refcountbt_init_ptr_from_cur() 176 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_refcountbt_init_ptr_from_cur() [all …]
|
D | xfs_alloc_btree.c | 30 cur->bc_ag.agbp, cur->bc_ag.pag, cur->bc_btnum); in xfs_allocbt_dup_cursor() 39 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_set_root() 47 cur->bc_ag.pag->pagf_levels[btnum] += inc; in xfs_allocbt_set_root() 63 error = xfs_alloc_get_freelist(cur->bc_ag.pag, cur->bc_tp, in xfs_allocbt_alloc_block() 64 cur->bc_ag.agbp, &bno, 1); in xfs_allocbt_alloc_block() 74 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_ag.pag, bno, 1, false); in xfs_allocbt_alloc_block() 87 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_free_block() 92 error = xfs_alloc_put_freelist(cur->bc_ag.pag, cur->bc_tp, agbp, NULL, in xfs_allocbt_free_block() 114 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_update_lastrec() 159 pag = cur->bc_ag.agbp->b_pag; in xfs_allocbt_update_lastrec() [all …]
|
D | xfs_rmap.c | 100 trace_xfs_rmap_update(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_rmap_update() 112 cur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_rmap_update() 128 trace_xfs_rmap_insert(rcur->bc_mp, rcur->bc_ag.pag->pag_agno, agbno, in xfs_rmap_insert() 154 rcur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_rmap_insert() 170 trace_xfs_rmap_delete(rcur->bc_mp, rcur->bc_ag.pag->pag_agno, agbno, in xfs_rmap_delete() 191 rcur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_rmap_delete() 229 if (!xfs_verify_agbext(cur->bc_ag.pag, irec->rm_startblock, in xfs_rmap_check_irec() 275 cur->bc_ag.pag->pag_agno, fa); in xfs_rmap_complain_bad_rec() 324 cur->bc_ag.pag->pag_agno, rec->rm_startblock, in xfs_rmap_find_left_neighbor_helper() 375 cur->bc_ag.pag->pag_agno, bno, 0, owner, offset, flags); in xfs_rmap_find_left_neighbor() [all …]
|
D | xfs_rmap_btree.c | 57 cur->bc_ag.agbp, cur->bc_ag.pag); in xfs_rmapbt_dup_cursor() 66 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_set_root() 74 cur->bc_ag.pag->pagf_levels[btnum] += inc; in xfs_rmapbt_set_root() 86 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_alloc_block() 88 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_rmapbt_alloc_block() 93 error = xfs_alloc_get_freelist(pag, cur->bc_tp, cur->bc_ag.agbp, in xfs_rmapbt_alloc_block() 121 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_free_block() 123 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_rmapbt_free_block() 225 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_rmapbt_init_ptr_from_cur() 227 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_rmapbt_init_ptr_from_cur() [all …]
|
D | xfs_ialloc_btree.c | 39 return xfs_inobt_init_cursor(cur->bc_ag.pag, cur->bc_tp, in xfs_inobt_dup_cursor() 40 cur->bc_ag.agbp, cur->bc_btnum); in xfs_inobt_dup_cursor() 49 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_set_root() 63 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_finobt_set_root() 78 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_mod_blockcount() 106 args.pag = cur->bc_ag.pag; in __xfs_inobt_alloc_block() 240 struct xfs_agi *agi = cur->bc_ag.agbp->b_addr; in xfs_inobt_init_ptr_from_cur() 242 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agi->agi_seqno)); in xfs_inobt_init_ptr_from_cur() 252 struct xfs_agi *agi = cur->bc_ag.agbp->b_addr; in xfs_finobt_init_ptr_from_cur() 254 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agi->agi_seqno)); in xfs_finobt_init_ptr_from_cur() [all …]
|
D | xfs_btree_staging.c | 94 afake = cur->bc_ag.afake; in xfs_btree_fakeroot_init_ptr_from_cur() 119 struct xbtree_afakeroot *afake = cur->bc_ag.afake; in xfs_btree_afakeroot_set_root() 150 cur->bc_ag.afake = afake; in xfs_btree_stage_afakeroot() 175 cur->bc_ag.agbp = agbp; in xfs_btree_commit_afakeroot() 857 cur->bc_ag.afake->af_root = be32_to_cpu(ptr.s); in xfs_btree_bload() 858 cur->bc_ag.afake->af_levels = cur->bc_nlevels; in xfs_btree_bload() 859 cur->bc_ag.afake->af_blocks = total_blocks; in xfs_btree_bload()
|
D | xfs_alloc.c | 168 cur->bc_ag.abt.active = (*stat == 1); in xfs_alloc_lookup_eq() 188 cur->bc_ag.abt.active = (*stat == 1); in xfs_alloc_lookup_ge() 207 cur->bc_ag.abt.active = (*stat == 1); in xfs_alloc_lookup_le() 215 return cur && cur->bc_ag.abt.active; in xfs_alloc_cur_active() 252 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_alloc_check_irec() 275 cur->bc_ag.pag->pag_agno, fa); in xfs_alloc_complain_bad_rec() 963 cur->bc_ag.abt.active = false; in xfs_alloc_cur_check() 1335 cur->bc_ag.abt.active = false; in xfs_alloc_walk_iter() 1449 acur->cnt->bc_ag.abt.active = true; in xfs_alloc_ag_vextent_locality()
|
D | xfs_btree.c | 197 struct xfs_perag *pag = cur->bc_ag.pag; in __xfs_btree_check_sblock() 288 return xfs_verify_agbno(cur->bc_ag.pag, agbno); in xfs_btree_check_sptr() 317 cur->bc_ag.pag->pag_agno, cur->bc_btnum, in xfs_btree_check_ptr() 455 if (!(cur->bc_flags & XFS_BTREE_LONG_PTRS) && cur->bc_ag.pag) in xfs_btree_del_cursor() 456 xfs_perag_put(cur->bc_ag.pag); in xfs_btree_del_cursor() 966 xfs_btree_reada_bufs(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_btree_readahead_sblock() 972 xfs_btree_reada_bufs(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_btree_readahead_sblock() 1030 *daddr = XFS_AGB_TO_DADDR(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_btree_ptr_to_daddr() 1231 owner = cur->bc_ag.pag->pag_agno; in xfs_btree_init_block_cur()
|
D | xfs_ialloc.c | 107 if (!xfs_verify_agino(cur->bc_ag.pag, irec->ir_startino)) in xfs_inobt_check_irec() 109 if (!xfs_verify_agino(cur->bc_ag.pag, in xfs_inobt_check_irec() 140 cur->bc_ag.pag->pag_agno, fa); in xfs_inobt_complain_bad_rec() 270 ASSERT(freecount == cur->bc_ag.pag->pagi_freecount); in xfs_check_agi_freecount()
|
D | xfs_btree.h | 288 struct xfs_btree_cur_ag bc_ag; member
|
/Linux-v6.6/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()
|
D | bmap.c | 580 cur->bc_ag.pag->pag_agno, in xchk_bmap_check_rmap()
|
/Linux-v6.6/fs/xfs/ |
D | xfs_fsmap.c | 385 fsb = XFS_AGB_TO_FSB(mp, cur->bc_ag.pag->pag_agno, rec->rm_startblock); in xfs_getfsmap_datadev_helper() 403 rec_daddr = XFS_AGB_TO_DADDR(mp, cur->bc_ag.pag->pag_agno, in xfs_getfsmap_datadev_bnobt_helper()
|
D | xfs_trace.h | 4091 __entry->agno = cur->bc_ag.pag->pag_agno; 4092 __entry->agbno = cur->bc_ag.afake->af_root; 4093 __entry->levels = cur->bc_ag.afake->af_levels; 4094 __entry->blocks = cur->bc_ag.afake->af_blocks; 4206 __entry->agno = cur->bc_ag.pag->pag_agno;
|