/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_bmap_btree.c | 172 cur->bc_private.b.ip, cur->bc_private.b.whichfork); in xfs_bmbt_dup_cursor() 178 new->bc_private.b.flags = cur->bc_private.b.flags; in xfs_bmbt_dup_cursor() 189 (dst->bc_private.b.ip->i_d.di_flags & XFS_DIFLAG_REALTIME)); in xfs_bmbt_update_cursor() 191 dst->bc_private.b.allocated += src->bc_private.b.allocated; in xfs_bmbt_update_cursor() 194 src->bc_private.b.allocated = 0; in xfs_bmbt_update_cursor() 211 xfs_rmap_ino_bmbt_owner(&args.oinfo, cur->bc_private.b.ip->i_ino, in xfs_bmbt_alloc_block() 212 cur->bc_private.b.whichfork); in xfs_bmbt_alloc_block() 236 args.wasdel = cur->bc_private.b.flags & XFS_BTCUR_BPRV_WASDEL; in xfs_bmbt_alloc_block() 265 cur->bc_private.b.allocated++; in xfs_bmbt_alloc_block() 266 cur->bc_private.b.ip->i_d.di_nblocks++; in xfs_bmbt_alloc_block() [all …]
|
D | xfs_refcount.c | 51 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_private.a.agno, bno, in xfs_refcount_lookup_le() 68 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_private.a.agno, bno, in xfs_refcount_lookup_ge() 85 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_private.a.agno, bno, in xfs_refcount_lookup_eq() 113 xfs_agnumber_t agno = cur->bc_private.a.agno; in xfs_refcount_get_rec() 124 agno = cur->bc_private.a.agno; in xfs_refcount_get_rec() 149 trace_xfs_refcount_get(cur->bc_mp, cur->bc_private.a.agno, irec); in xfs_refcount_get_rec() 174 trace_xfs_refcount_update(cur->bc_mp, cur->bc_private.a.agno, irec); in xfs_refcount_update() 181 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_update() 198 trace_xfs_refcount_insert(cur->bc_mp, cur->bc_private.a.agno, irec); in xfs_refcount_insert() 210 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_insert() [all …]
|
D | xfs_refcount_btree.c | 30 cur->bc_private.a.agbp, cur->bc_private.a.agno); in xfs_refcountbt_dup_cursor() 39 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_set_root() 62 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_alloc_block() 71 args.fsbno = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcountbt_alloc_block() 80 trace_xfs_refcountbt_alloc_block(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcountbt_alloc_block() 86 ASSERT(args.agno == cur->bc_private.a.agno); in xfs_refcountbt_alloc_block() 106 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_free_block() 112 trace_xfs_refcountbt_free_block(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcountbt_free_block() 176 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_refcountbt_init_ptr_from_cur() 178 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agf->agf_seqno)); in xfs_refcountbt_init_ptr_from_cur() [all …]
|
D | xfs_rmap_btree.c | 58 cur->bc_private.a.agbp, cur->bc_private.a.agno); in xfs_rmapbt_dup_cursor() 67 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_rmapbt_set_root() 90 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_rmapbt_alloc_block() 96 error = xfs_alloc_get_freelist(cur->bc_tp, cur->bc_private.a.agbp, in xfs_rmapbt_alloc_block() 101 trace_xfs_rmapbt_alloc_block(cur->bc_mp, cur->bc_private.a.agno, in xfs_rmapbt_alloc_block() 108 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_private.a.agno, bno, 1, in xfs_rmapbt_alloc_block() 116 xfs_ag_resv_rmapbt_alloc(cur->bc_mp, cur->bc_private.a.agno); in xfs_rmapbt_alloc_block() 127 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_rmapbt_free_block() 133 trace_xfs_rmapbt_free_block(cur->bc_mp, cur->bc_private.a.agno, in xfs_rmapbt_free_block() 145 xfs_ag_resv_rmapbt_free(cur->bc_mp, cur->bc_private.a.agno); in xfs_rmapbt_free_block() [all …]
|
D | xfs_rmap.c | 89 trace_xfs_rmap_update(cur->bc_mp, cur->bc_private.a.agno, in xfs_rmap_update() 101 cur->bc_private.a.agno, error, _RET_IP_); in xfs_rmap_update() 117 trace_xfs_rmap_insert(rcur->bc_mp, rcur->bc_private.a.agno, agbno, in xfs_rmap_insert() 137 rcur->bc_private.a.agno, error, _RET_IP_); in xfs_rmap_insert() 153 trace_xfs_rmap_delete(rcur->bc_mp, rcur->bc_private.a.agno, agbno, in xfs_rmap_delete() 168 rcur->bc_private.a.agno, error, _RET_IP_); in xfs_rmap_delete() 196 xfs_agnumber_t agno = cur->bc_private.a.agno; in xfs_rmap_get_rec() 259 cur->bc_private.a.agno, rec->rm_startblock, in xfs_rmap_find_left_neighbor_helper() 311 cur->bc_private.a.agno, bno, 0, owner, offset, flags); in xfs_rmap_find_left_neighbor() 319 cur->bc_private.a.agno, irec->rm_startblock, in xfs_rmap_find_left_neighbor() [all …]
|
D | xfs_alloc_btree.c | 29 cur->bc_private.a.agbp, cur->bc_private.a.agno, in xfs_allocbt_dup_cursor() 39 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_allocbt_set_root() 66 error = xfs_alloc_get_freelist(cur->bc_tp, cur->bc_private.a.agbp, in xfs_allocbt_alloc_block() 76 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_private.a.agno, bno, 1, false); in xfs_allocbt_alloc_block() 90 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_allocbt_free_block() 117 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_allocbt_update_lastrec() 166 xfs_alloc_log_agf(cur->bc_tp, cur->bc_private.a.agbp, XFS_AGF_LONGEST); in xfs_allocbt_update_lastrec() 230 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_allocbt_init_ptr_from_cur() 232 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agf->agf_seqno)); in xfs_allocbt_init_ptr_from_cur() 513 cur->bc_private.a.agbp = agbp; in xfs_allocbt_init_cursor() [all …]
|
D | xfs_ialloc_btree.c | 39 cur->bc_private.a.agbp, cur->bc_private.a.agno, in xfs_inobt_dup_cursor() 49 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_inobt_set_root() 63 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_finobt_set_root() 88 args.fsbno = XFS_AGB_TO_FSB(args.mp, cur->bc_private.a.agno, sbno); in __xfs_inobt_alloc_block() 220 struct xfs_agi *agi = XFS_BUF_TO_AGI(cur->bc_private.a.agbp); in xfs_inobt_init_ptr_from_cur() 222 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); in xfs_inobt_init_ptr_from_cur() 232 struct xfs_agi *agi = XFS_BUF_TO_AGI(cur->bc_private.a.agbp); in xfs_finobt_init_ptr_from_cur() 234 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); in xfs_finobt_init_ptr_from_cur() 435 cur->bc_private.a.agbp = agbp; in xfs_inobt_init_cursor() 436 cur->bc_private.a.agno = agno; in xfs_inobt_init_cursor()
|
D | xfs_btree.c | 222 return xfs_verify_agbno(cur->bc_mp, cur->bc_private.a.agno, agbno); in xfs_btree_check_sptr() 242 cur->bc_private.b.ip->i_ino, in xfs_btree_check_ptr() 243 cur->bc_private.b.whichfork, cur->bc_btnum, in xfs_btree_check_ptr() 251 cur->bc_private.a.agno, cur->bc_btnum, in xfs_btree_check_ptr() 386 cur->bc_private.b.allocated == 0); in xfs_btree_del_cursor() 662 ifp = XFS_IFORK_PTR(cur->bc_private.b.ip, cur->bc_private.b.whichfork); in xfs_btree_get_iroot() 947 xfs_btree_reada_bufs(cur->bc_mp, cur->bc_private.a.agno, in xfs_btree_readahead_sblock() 953 xfs_btree_reada_bufs(cur->bc_mp, cur->bc_private.a.agno, in xfs_btree_readahead_sblock() 1011 *daddr = XFS_AGB_TO_DADDR(cur->bc_mp, cur->bc_private.a.agno, in xfs_btree_ptr_to_daddr() 1211 owner = cur->bc_private.b.ip->i_ino; in xfs_btree_init_block_cur() [all …]
|
D | xfs_bmap.c | 693 cur->bc_private.b.flags = wasdel ? XFS_BTCUR_BPRV_WASDEL : 0; in xfs_bmap_extents_to_btree() 730 cur->bc_private.b.allocated++; in xfs_bmap_extents_to_btree() 947 cur->bc_private.b.allocated = 0; in xfs_bmap_add_attrfork_btree() 974 cur->bc_private.b.allocated = 0; in xfs_bmap_add_attrfork_extents() 1559 (bma->cur->bc_private.b.flags & XFS_BTCUR_BPRV_WASDEL)); in xfs_bmap_add_extent_delay_real() 1819 (bma->cur ? bma->cur->bc_private.b.allocated : 0)); in xfs_bmap_add_extent_delay_real() 1896 (bma->cur ? bma->cur->bc_private.b.allocated : 0)); in xfs_bmap_add_extent_delay_real() 2011 da_new += bma->cur->bc_private.b.allocated; in xfs_bmap_add_extent_delay_real() 2012 bma->cur->bc_private.b.allocated = 0; in xfs_bmap_add_extent_delay_real() 2492 cur->bc_private.b.allocated = 0; in xfs_bmap_add_extent_unwritten_real() [all …]
|
D | xfs_btree.h | 223 } bc_private; /* per-btree type data */ member
|
D | xfs_ialloc.c | 125 xfs_agnumber_t agno = cur->bc_private.a.agno; in xfs_inobt_get_rec()
|
D | xfs_alloc.c | 219 xfs_agnumber_t agno = cur->bc_private.a.agno; in xfs_alloc_get_rec()
|
/linux-4.19.296/fs/xfs/scrub/ |
D | trace.c | 33 return XFS_INO_TO_FSB(cur->bc_mp, cur->bc_private.b.ip->i_ino); in xchk_btree_cur_fsbno() 35 return XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, 0); in xchk_btree_cur_fsbno()
|
D | ialloc.c | 106 xfs_agnumber_t agno = bs->cur->bc_private.a.agno; in xchk_iallocbt_chunk() 213 fsino = XFS_AGINO_TO_INO(mp, bs->cur->bc_private.a.agno, agino); in xchk_iallocbt_check_freemask() 241 imap.im_blkno = XFS_AGB_TO_DADDR(mp, bs->cur->bc_private.a.agno, in xchk_iallocbt_check_freemask() 278 xfs_agnumber_t agno = bs->cur->bc_private.a.agno; in xchk_iallocbt_rec()
|
D | alloc.c | 104 xfs_agnumber_t agno = bs->cur->bc_private.a.agno; in xchk_allocbt_rec()
|
D | rmap.c | 104 xfs_agnumber_t agno = bs->cur->bc_private.a.agno; in xchk_rmapbt_rec()
|
D | bmap.c | 385 struct xfs_inode *ip = bs->cur->bc_private.b.ip; in xchk_bmapbt_rec() 483 cur->bc_private.a.agno, rec->rm_startblock)) in xchk_bmap_check_rmap()
|
D | refcount.c | 347 xfs_agnumber_t agno = bs->cur->bc_private.a.agno; in xchk_refcountbt_rec()
|
D | trace.h | 314 __entry->whichfork = cur->bc_private.b.whichfork; 394 __entry->whichfork = cur->bc_private.b.whichfork;
|
D | agheader_repair.c | 465 fsb = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, in xrep_agfl_walk_rmap()
|
/linux-4.19.296/fs/xfs/ |
D | xfs_fsmap.c | 353 fsb = XFS_AGB_TO_FSB(mp, cur->bc_private.a.agno, rec->rm_startblock); in xfs_getfsmap_datadev_helper() 371 rec_daddr = XFS_AGB_TO_DADDR(mp, cur->bc_private.a.agno, in xfs_getfsmap_datadev_bnobt_helper()
|