/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_bmap_btree.c | 171 new = xfs_bmbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_bmbt_dup_cursor() 188 ASSERT((dst->bc_tp->t_firstblock != NULLFSBLOCK) || in xfs_bmbt_update_cursor() 192 dst->bc_tp->t_firstblock = src->bc_tp->t_firstblock; in xfs_bmbt_update_cursor() 208 args.tp = cur->bc_tp; in xfs_bmbt_alloc_block() 210 args.fsbno = cur->bc_tp->t_firstblock; in xfs_bmbt_alloc_block() 229 } else if (cur->bc_tp->t_flags & XFS_TRANS_LOWMODE) { in xfs_bmbt_alloc_block() 256 cur->bc_tp->t_flags |= XFS_TRANS_LOWMODE; in xfs_bmbt_alloc_block() 264 cur->bc_tp->t_firstblock = args.fsbno; in xfs_bmbt_alloc_block() 287 struct xfs_trans *tp = cur->bc_tp; in xfs_bmbt_free_block() 292 xfs_bmap_add_free(cur->bc_tp, fsbno, 1, &oinfo); in xfs_bmbt_free_block() [all …]
|
D | xfs_rmap_btree.c | 57 return xfs_rmapbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_rmapbt_dup_cursor() 80 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_rmapbt_set_root() 96 error = xfs_alloc_get_freelist(cur->bc_tp, cur->bc_private.a.agbp, in xfs_rmapbt_alloc_block() 111 xfs_trans_agbtree_delta(cur->bc_tp, 1); in xfs_rmapbt_alloc_block() 114 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_RMAP_BLOCKS); in xfs_rmapbt_alloc_block() 136 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_RMAP_BLOCKS); in xfs_rmapbt_free_block() 137 error = xfs_alloc_put_freelist(cur->bc_tp, agbp, NULL, bno, 1); in xfs_rmapbt_free_block() 141 xfs_extent_busy_insert(cur->bc_tp, be32_to_cpu(agf->agf_seqno), bno, 1, in xfs_rmapbt_free_block() 143 xfs_trans_agbtree_delta(cur->bc_tp, -1); in xfs_rmapbt_free_block() 468 cur->bc_tp = tp; in xfs_rmapbt_init_cursor()
|
D | xfs_alloc_btree.c | 28 return xfs_allocbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_allocbt_dup_cursor() 52 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_allocbt_set_root() 66 error = xfs_alloc_get_freelist(cur->bc_tp, cur->bc_private.a.agbp, in xfs_allocbt_alloc_block() 78 xfs_trans_agbtree_delta(cur->bc_tp, 1); in xfs_allocbt_alloc_block() 96 error = xfs_alloc_put_freelist(cur->bc_tp, agbp, NULL, bno, 1); in xfs_allocbt_free_block() 100 xfs_extent_busy_insert(cur->bc_tp, be32_to_cpu(agf->agf_seqno), bno, 1, in xfs_allocbt_free_block() 102 xfs_trans_agbtree_delta(cur->bc_tp, -1); in xfs_allocbt_free_block() 166 xfs_alloc_log_agf(cur->bc_tp, cur->bc_private.a.agbp, XFS_AGF_LONGEST); in xfs_allocbt_update_lastrec() 497 cur->bc_tp = tp; in xfs_allocbt_init_cursor()
|
D | xfs_refcount_btree.c | 29 return xfs_refcountbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_refcountbt_dup_cursor() 51 xfs_alloc_log_agf(cur->bc_tp, agbp, in xfs_refcountbt_set_root() 68 args.tp = cur->bc_tp; in xfs_refcountbt_alloc_block() 91 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_REFCOUNT_BLOCKS); in xfs_refcountbt_alloc_block() 116 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_REFCOUNT_BLOCKS); in xfs_refcountbt_free_block() 117 error = xfs_free_extent(cur->bc_tp, fsbno, 1, &oinfo, in xfs_refcountbt_free_block() 333 cur->bc_tp = tp; in xfs_refcountbt_init_cursor()
|
D | xfs_ialloc_btree.c | 38 return xfs_inobt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_inobt_dup_cursor() 54 xfs_ialloc_log_agi(cur->bc_tp, agbp, XFS_AGI_ROOT | XFS_AGI_LEVEL); in xfs_inobt_set_root() 68 xfs_ialloc_log_agi(cur->bc_tp, agbp, in xfs_finobt_set_root() 85 args.tp = cur->bc_tp; in __xfs_inobt_alloc_block() 142 return xfs_free_extent(cur->bc_tp, in __xfs_inobt_free_block() 417 cur->bc_tp = tp; in xfs_inobt_init_cursor()
|
D | xfs_btree.c | 349 xfs_trans_binval(cur->bc_tp, bp); in xfs_btree_free_block() 377 xfs_trans_brelse(cur->bc_tp, cur->bc_bufs[i]); in xfs_btree_del_cursor() 409 tp = cur->bc_tp; in xfs_btree_dup_cursor() 1051 xfs_trans_brelse(cur->bc_tp, cur->bc_bufs[lev]); in xfs_btree_setbuf() 1305 *bpp = xfs_trans_get_buf(cur->bc_tp, mp->m_ddev_targp, d, in xfs_btree_get_buf_block() 1338 error = xfs_trans_read_buf(mp, cur->bc_tp, mp->m_ddev_targp, d, in xfs_btree_read_buf_block() 1460 xfs_trans_buf_set_type(cur->bc_tp, bp, XFS_BLFT_BTREE_BUF); in xfs_btree_log_keys() 1461 xfs_trans_log_buf(cur->bc_tp, bp, in xfs_btree_log_keys() 1465 xfs_trans_log_inode(cur->bc_tp, cur->bc_private.b.ip, in xfs_btree_log_keys() 1481 xfs_trans_buf_set_type(cur->bc_tp, bp, XFS_BLFT_BTREE_BUF); in xfs_btree_log_recs() [all …]
|
D | xfs_refcount.c | 853 else if (overhead > cur->bc_tp->t_log_res) in xfs_refcount_still_have_space() 855 return cur->bc_tp->t_log_res - overhead > in xfs_refcount_still_have_space() 925 xfs_bmap_add_free(cur->bc_tp, fsbno, in xfs_refcount_adjust_extents() 968 xfs_bmap_add_free(cur->bc_tp, fsbno, ext.rc_blockcount, in xfs_refcount_adjust_extents()
|
D | xfs_btree.h | 194 struct xfs_trans *bc_tp; /* transaction we're in, if any */ member
|
D | xfs_bmap.c | 251 list_for_each_entry(lip, &cur->bc_tp->t_items, li_trans) { in xfs_bmap_get_bp() 628 xfs_bmap_add_free(cur->bc_tp, cbno, 1, &oinfo); in xfs_bmap_btree_to_extents()
|
/linux-4.19.296/fs/xfs/scrub/ |
D | ialloc.c | 159 error = xfs_icache_inode_is_allocated(mp, bs->cur->bc_tp, in xchk_iallocbt_check_cluster_freemask() 246 error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, in xchk_iallocbt_check_freemask() 257 xfs_trans_brelse(bs->cur->bc_tp, bp); in xchk_iallocbt_check_freemask() 262 xfs_trans_brelse(bs->cur->bc_tp, bp); in xchk_iallocbt_check_freemask()
|
/linux-4.19.296/fs/xfs/ |
D | xfs_fsmap.c | 356 return xfs_getfsmap_helper(cur->bc_tp, info, rec, rec_daddr); in xfs_getfsmap_datadev_helper() 380 return xfs_getfsmap_helper(cur->bc_tp, info, &irec, rec_daddr); in xfs_getfsmap_datadev_bnobt_helper()
|