Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
A Dxfs_bmap_btree.c186 new = xfs_bmbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_bmbt_dup_cursor()
198 ASSERT((dst->bc_tp->t_highest_agno != NULLAGNUMBER) || in xfs_bmbt_update_cursor()
202 dst->bc_tp->t_highest_agno = src->bc_tp->t_highest_agno; in xfs_bmbt_update_cursor()
218 args.tp = cur->bc_tp; in xfs_bmbt_alloc_block()
233 if (cur->bc_tp->t_highest_agno == NULLAGNUMBER) in xfs_bmbt_alloc_block()
234 args.minleft = xfs_bmapi_minleft(cur->bc_tp, cur->bc_ino.ip, in xfs_bmbt_alloc_block()
251 cur->bc_tp->t_flags |= XFS_TRANS_LOWMODE; in xfs_bmbt_alloc_block()
278 struct xfs_trans *tp = cur->bc_tp; in xfs_bmbt_free_block()
284 error = xfs_free_extent_later(cur->bc_tp, fsbno, 1, &oinfo, in xfs_bmbt_free_block()
A Dxfs_refcount_btree.c32 return xfs_refcountbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_refcountbt_dup_cursor()
52 xfs_alloc_log_agf(cur->bc_tp, agbp, in xfs_refcountbt_set_root()
69 args.tp = cur->bc_tp; in xfs_refcountbt_alloc_block()
89 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_REFCOUNT_BLOCKS); in xfs_refcountbt_alloc_block()
109 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_REFCOUNT_BLOCKS); in xfs_refcountbt_free_block()
110 return xfs_free_extent_later(cur->bc_tp, fsbno, 1, in xfs_refcountbt_free_block()
A Dxfs_btree_staging.c65 ASSERT(cur->bc_tp == NULL); in xfs_btree_stage_afakeroot()
85 ASSERT(cur->bc_tp == NULL); in xfs_btree_commit_afakeroot()
92 cur->bc_tp = tp; in xfs_btree_commit_afakeroot()
132 ASSERT(cur->bc_tp == NULL); in xfs_btree_stage_ifakeroot()
154 ASSERT(cur->bc_tp == NULL); in xfs_btree_commit_ifakeroot()
161 cur->bc_tp = tp; in xfs_btree_commit_ifakeroot()
A Dxfs_alloc_btree.c30 return xfs_bnobt_init_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ag.agbp, in xfs_bnobt_dup_cursor()
38 return xfs_cntbt_init_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ag.agbp, in xfs_cntbt_dup_cursor()
64 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_allocbt_set_root()
78 error = xfs_alloc_get_freelist(to_perag(cur->bc_group), cur->bc_tp, in xfs_allocbt_alloc_block()
107 error = xfs_alloc_put_freelist(to_perag(cur->bc_group), cur->bc_tp, in xfs_allocbt_free_block()
113 xfs_extent_busy_insert(cur->bc_tp, pag_group(agbp->b_pag), bno, 1, in xfs_allocbt_free_block()
A Dxfs_ialloc_btree.c40 return xfs_inobt_init_cursor(to_perag(cur->bc_group), cur->bc_tp, in xfs_inobt_dup_cursor()
48 return xfs_finobt_init_cursor(to_perag(cur->bc_group), cur->bc_tp, in xfs_finobt_dup_cursor()
63 xfs_ialloc_log_agi(cur->bc_tp, agbp, XFS_AGI_ROOT | XFS_AGI_LEVEL); in xfs_inobt_set_root()
77 xfs_ialloc_log_agi(cur->bc_tp, agbp, in xfs_finobt_set_root()
97 xfs_ialloc_log_agi(cur->bc_tp, agbp, XFS_AGI_IBLOCKS); in xfs_inobt_mod_blockcount()
113 args.tp = cur->bc_tp; in __xfs_inobt_alloc_block()
172 return xfs_free_extent_later(cur->bc_tp, fsbno, 1, in __xfs_inobt_free_block()
A Dxfs_rmap_btree.c59 return xfs_rmapbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_rmapbt_dup_cursor()
79 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_rmapbt_set_root()
97 error = xfs_alloc_get_freelist(pag, cur->bc_tp, cur->bc_ag.agbp, in xfs_rmapbt_alloc_block()
110 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_RMAP_BLOCKS); in xfs_rmapbt_alloc_block()
135 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_RMAP_BLOCKS); in xfs_rmapbt_free_block()
136 error = xfs_alloc_put_freelist(pag, cur->bc_tp, agbp, NULL, bno, 1); in xfs_rmapbt_free_block()
140 xfs_extent_busy_insert(cur->bc_tp, pag_group(pag), bno, 1, in xfs_rmapbt_free_block()
A Dxfs_btree.c493 xfs_trans_binval(cur->bc_tp, bp); in xfs_btree_free_block()
567 struct xfs_trans *tp = cur->bc_tp; in xfs_btree_dup_cursor()
1527 xfs_trans_log_buf(cur->bc_tp, bp, in xfs_btree_log_keys()
1553 xfs_trans_log_buf(cur->bc_tp, bp, in xfs_btree_log_recs()
1574 xfs_trans_log_buf(cur->bc_tp, bp, in xfs_btree_log_ptrs()
1929 xfs_trans_brelse(cur->bc_tp, bp); in xfs_btree_lookup_get_block()
3971 xfs_trans_log_inode(cur->bc_tp, ip, in xfs_btree_kill_iroot()
4802 if (cur->bc_tp) { in xfs_btree_block_change_owner()
5258 xfs_trans_brelse(cur->bc_tp, in xfs_btree_overlapped_query_range()
5600 .tp = cur->bc_tp, in xfs_btree_alloc_metafile_block()
[all …]
A Dxfs_btree.h268 struct xfs_trans *bc_tp; /* transaction we're in, if any */ member
686 cur->bc_tp = tp; in xfs_btree_alloc_cursor()
A Dxfs_btree_mem.c56 ncur = xfs_btree_alloc_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ops, in xfbtree_dup_cursor()
A Dxfs_refcount.c1122 else if (overhead > cur->bc_tp->t_log_res) in xfs_refcount_still_have_space()
1124 return cur->bc_tp->t_log_res - overhead > in xfs_refcount_still_have_space()
1139 return xfs_free_extent_later(cur->bc_tp, in xrefc_free_extent()
A Dxfs_rtrefcount_btree.c48 return xfs_rtrefcountbt_init_cursor(cur->bc_tp, to_rtg(cur->bc_group)); in xfs_rtrefcountbt_dup_cursor()
A Dxfs_rtrmap_btree.c50 return xfs_rtrmapbt_init_cursor(cur->bc_tp, to_rtg(cur->bc_group)); in xfs_rtrmapbt_dup_cursor()
A Dxfs_bmap.c273 list_for_each_entry(lip, &cur->bc_tp->t_items, li_trans) { in xfs_bmap_get_bp()
606 error = xfs_free_extent_later(cur->bc_tp, cbno, 1, &oinfo, in xfs_bmap_btree_to_extents()
A Dxfs_alloc.c554 xfs_alloc_log_agf(cnt_cur->bc_tp, bp, XFS_AGF_LONGEST); in xfs_alloc_fixup_longest()
/fs/xfs/scrub/
A Dialloc.c432 error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, &cluster_bp); in xchk_iallocbt_check_cluster()
453 xfs_trans_brelse(bs->cur->bc_tp, cluster_bp); in xchk_iallocbt_check_cluster()
/fs/xfs/
A Dxfs_fsmap.c416 return xfs_getfsmap_group_helper(info, cur->bc_tp, cur->bc_group, in xfs_getfsmap_rmapbt_helper()
433 return xfs_getfsmap_group_helper(info, cur->bc_tp, cur->bc_group, in xfs_getfsmap_datadev_bnobt_helper()
852 return xfs_getfsmap_group_helper(info, cur->bc_tp, cur->bc_group, in xfs_getfsmap_rtdev_rmapbt_helper()
A Dxfs_notify_failure.c95 error = xfs_iget(mp, cur->bc_tp, rec->rm_owner, XFS_IGET_INCORE, in xfs_dax_failure_fn()

Completed in 68 milliseconds