Home
last modified time | relevance | path

Searched refs:bc_tp (Results 1 – 9 of 9) sorted by relevance

/fs/xfs/libxfs/
Dxfs_alloc_btree.c40 return xfs_allocbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_allocbt_dup_cursor()
64 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_allocbt_set_root()
80 error = xfs_alloc_get_freelist(cur->bc_tp, cur->bc_private.a.agbp, in xfs_allocbt_alloc_block()
95 xfs_trans_agbtree_delta(cur->bc_tp, 1); in xfs_allocbt_alloc_block()
114 error = xfs_alloc_put_freelist(cur->bc_tp, agbp, NULL, bno, 1); in xfs_allocbt_free_block()
118 xfs_extent_busy_insert(cur->bc_tp, be32_to_cpu(agf->agf_seqno), bno, 1, in xfs_allocbt_free_block()
120 xfs_trans_agbtree_delta(cur->bc_tp, -1); in xfs_allocbt_free_block()
184 xfs_alloc_log_agf(cur->bc_tp, cur->bc_private.a.agbp, XFS_AGF_LONGEST); in xfs_allocbt_update_lastrec()
426 cur->bc_tp = tp; in xfs_allocbt_init_cursor()
Dxfs_rmap_btree.c69 return xfs_rmapbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_rmapbt_dup_cursor()
92 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_rmapbt_set_root()
110 error = xfs_alloc_get_freelist(cur->bc_tp, cur->bc_private.a.agbp, in xfs_rmapbt_alloc_block()
128 xfs_trans_agbtree_delta(cur->bc_tp, 1); in xfs_rmapbt_alloc_block()
131 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_RMAP_BLOCKS); in xfs_rmapbt_alloc_block()
152 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_RMAP_BLOCKS); in xfs_rmapbt_free_block()
153 error = xfs_alloc_put_freelist(cur->bc_tp, agbp, NULL, bno, 1); in xfs_rmapbt_free_block()
157 xfs_extent_busy_insert(cur->bc_tp, be32_to_cpu(agf->agf_seqno), bno, 1, in xfs_rmapbt_free_block()
159 xfs_trans_agbtree_delta(cur->bc_tp, -1); in xfs_rmapbt_free_block()
479 cur->bc_tp = tp; in xfs_rmapbt_init_cursor()
Dxfs_refcount_btree.c43 return xfs_refcountbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_refcountbt_dup_cursor()
66 xfs_alloc_log_agf(cur->bc_tp, agbp, in xfs_refcountbt_set_root()
85 args.tp = cur->bc_tp; in xfs_refcountbt_alloc_block()
110 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_REFCOUNT_BLOCKS); in xfs_refcountbt_alloc_block()
137 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_REFCOUNT_BLOCKS); in xfs_refcountbt_free_block()
138 error = xfs_free_extent(cur->bc_tp, fsbno, 1, &oinfo, in xfs_refcountbt_free_block()
352 cur->bc_tp = tp; in xfs_refcountbt_init_cursor()
Dxfs_ialloc_btree.c50 return xfs_inobt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_inobt_dup_cursor()
66 xfs_ialloc_log_agi(cur->bc_tp, agbp, XFS_AGI_ROOT | XFS_AGI_LEVEL); in xfs_inobt_set_root()
80 xfs_ialloc_log_agi(cur->bc_tp, agbp, in xfs_finobt_set_root()
99 args.tp = cur->bc_tp; in __xfs_inobt_alloc_block()
156 return xfs_free_extent(cur->bc_tp, in xfs_inobt_free_block()
385 cur->bc_tp = tp; in xfs_inobt_init_cursor()
Dxfs_btree.c307 xfs_trans_binval(cur->bc_tp, bp); in xfs_btree_free_block()
335 xfs_trans_brelse(cur->bc_tp, cur->bc_bufs[i]); in xfs_btree_del_cursor()
367 tp = cur->bc_tp; in xfs_btree_dup_cursor()
998 xfs_trans_brelse(cur->bc_tp, cur->bc_bufs[lev]); in xfs_btree_setbuf()
1246 *bpp = xfs_trans_get_buf(cur->bc_tp, mp->m_ddev_targp, d, in xfs_btree_get_buf_block()
1277 error = xfs_trans_read_buf(mp, cur->bc_tp, mp->m_ddev_targp, d, in xfs_btree_read_buf_block()
1401 xfs_trans_buf_set_type(cur->bc_tp, bp, XFS_BLFT_BTREE_BUF); in xfs_btree_log_keys()
1402 xfs_trans_log_buf(cur->bc_tp, bp, in xfs_btree_log_keys()
1406 xfs_trans_log_inode(cur->bc_tp, cur->bc_private.b.ip, in xfs_btree_log_keys()
1426 xfs_trans_buf_set_type(cur->bc_tp, bp, XFS_BLFT_BTREE_BUF); in xfs_btree_log_recs()
[all …]
Dxfs_bmap_btree.c407 new = xfs_bmbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_bmbt_dup_cursor()
447 args.tp = cur->bc_tp; in xfs_bmbt_alloc_block()
546 struct xfs_trans *tp = cur->bc_tp; in xfs_bmbt_free_block()
800 cur->bc_tp = tp; in xfs_bmbt_init_cursor()
Dxfs_btree.h243 struct xfs_trans *bc_tp; /* transaction we're in, if any */ member
Dxfs_refcount.c814 else if (overhead > cur->bc_tp->t_log_res) in xfs_refcount_still_have_space()
816 return cur->bc_tp->t_log_res - overhead > in xfs_refcount_still_have_space()
Dxfs_bmap.c287 list_for_each_entry(lidp, &cur->bc_tp->t_items, lid_trans) { in xfs_bmap_get_bp()