/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() 133 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_refcount_get_rec() 182 trace_xfs_refcount_update(cur->bc_mp, cur->bc_ag.pag->pag_agno, irec); in xfs_refcount_update() 193 cur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_refcount_update() 210 trace_xfs_refcount_insert(cur->bc_mp, cur->bc_ag.pag->pag_agno, irec); in xfs_refcount_insert() 228 cur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_refcount_insert() 254 trace_xfs_refcount_delete(cur->bc_mp, cur->bc_ag.pag->pag_agno, &irec); in xfs_refcount_delete() 267 cur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_refcount_delete() [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() 71 args.fsbno = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_ag.pag->pag_agno, 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() 111 trace_xfs_refcountbt_free_block(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcountbt_free_block() 179 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_refcountbt_init_ptr_from_cur() 181 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() 218 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_rmap_get_rec() 275 cur->bc_ag.pag->pag_agno, rec->rm_startblock, in xfs_rmap_find_left_neighbor_helper() 326 cur->bc_ag.pag->pag_agno, bno, 0, owner, offset, flags); in xfs_rmap_find_left_neighbor() 358 cur->bc_ag.pag->pag_agno, irec->rm_startblock, 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() 215 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_rmapbt_init_ptr_from_cur() 217 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 | 40 cur->bc_ag.agbp, cur->bc_ag.pag, 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() 107 args.fsbno = XFS_AGB_TO_FSB(args.mp, cur->bc_ag.pag->pag_agno, sbno); in __xfs_inobt_alloc_block() 238 struct xfs_agi *agi = cur->bc_ag.agbp->b_addr; in xfs_inobt_init_ptr_from_cur() 240 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agi->agi_seqno)); in xfs_inobt_init_ptr_from_cur() 250 struct xfs_agi *agi = cur->bc_ag.agbp->b_addr; in xfs_finobt_init_ptr_from_cur() 252 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agi->agi_seqno)); in xfs_finobt_init_ptr_from_cur() 452 cur->bc_ag.pag = pag; in xfs_inobt_init_common() [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 | 172 cur->bc_ag.abt.active = (*stat == 1); in xfs_alloc_lookup_eq() 192 cur->bc_ag.abt.active = (*stat == 1); in xfs_alloc_lookup_ge() 211 cur->bc_ag.abt.active = (*stat == 1); in xfs_alloc_lookup_le() 219 return cur && cur->bc_ag.abt.active; in xfs_alloc_cur_active() 251 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_alloc_get_rec() 923 cur->bc_ag.abt.active = false; in xfs_alloc_cur_check() 1367 cur->bc_ag.abt.active = false; in xfs_alloc_walk_iter() 1482 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_btree.h | 248 struct xfs_btree_cur_ag bc_ag; member
|
D | xfs_ialloc.c | 118 if (!xfs_verify_agino(cur->bc_ag.pag, irec->ir_startino)) in xfs_inobt_get_rec() 140 cur->bc_ag.pag->pag_agno); in xfs_inobt_get_rec() 245 ASSERT(freecount == cur->bc_ag.pag->pagi_freecount); in xfs_check_agi_freecount()
|
/fs/xfs/scrub/ |
D | ialloc.c | 107 struct xfs_perag *pag = bs->cur->bc_ag.pag; in xchk_iallocbt_chunk() 166 fsino = XFS_AGINO_TO_INO(mp, bs->cur->bc_ag.pag->pag_agno, agino); in xchk_iallocbt_check_cluster_ifree() 216 xfs_agnumber_t agno = bs->cur->bc_ag.pag->pag_agno; in xchk_iallocbt_check_cluster() 423 struct xfs_perag *pag = bs->cur->bc_ag.pag; in xchk_iallocbt_rec()
|
D | alloc.c | 96 struct xfs_perag *pag = bs->cur->bc_ag.pag; in xchk_allocbt_rec()
|
D | rmap.c | 95 struct xfs_perag *pag = bs->cur->bc_ag.pag; in xchk_rmapbt_rec()
|
D | refcount.c | 336 struct xfs_perag *pag = bs->cur->bc_ag.pag; in xchk_refcountbt_rec()
|
D | bmap.c | 505 cur->bc_ag.pag->pag_agno, in xchk_bmap_check_rmap()
|
D | agheader_repair.c | 470 fsb = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xrep_agfl_walk_rmap()
|
/fs/xfs/ |
D | xfs_fsmap.c | 358 fsb = XFS_AGB_TO_FSB(mp, cur->bc_ag.pag->pag_agno, rec->rm_startblock); in xfs_getfsmap_datadev_helper() 376 rec_daddr = XFS_AGB_TO_DADDR(mp, cur->bc_ag.pag->pag_agno, in xfs_getfsmap_datadev_bnobt_helper()
|
D | xfs_trace.h | 3900 __entry->agno = cur->bc_ag.pag->pag_agno; 3901 __entry->agbno = cur->bc_ag.afake->af_root; 3902 __entry->levels = cur->bc_ag.afake->af_levels; 3903 __entry->blocks = cur->bc_ag.afake->af_blocks; 4015 __entry->agno = cur->bc_ag.pag->pag_agno;
|