Lines Matching refs:tp
255 struct xfs_trans *tp, in xfs_da3_node_read() argument
264 err = xfs_da_read_buf(tp, dp, bno, mappedbno, bpp, in xfs_da3_node_read()
266 if (!err && tp) { in xfs_da3_node_read()
288 xfs_trans_buf_set_type(tp, *bpp, type); in xfs_da3_node_read()
309 struct xfs_trans *tp = args->trans; in xfs_da3_node_create() local
310 struct xfs_mount *mp = tp->t_mountp; in xfs_da3_node_create()
319 error = xfs_da_get_buf(tp, dp, blkno, -1, &bp, whichfork); in xfs_da3_node_create()
323 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DA_NODE_BUF); in xfs_da3_node_create()
340 xfs_trans_log_buf(tp, bp, in xfs_da3_node_create()
520 struct xfs_trans *tp; in xfs_da3_root_split() local
539 tp = args->trans; in xfs_da3_root_split()
540 error = xfs_da_get_buf(tp, dp, blkno, -1, &bp, args->whichfork); in xfs_da3_root_split()
558 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DA_NODE_BUF); in xfs_da3_root_split()
576 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DIR_LEAFN_BUF); in xfs_da3_root_split()
592 xfs_trans_log_buf(tp, bp, 0, size - 1); in xfs_da3_root_split()
629 xfs_trans_log_buf(tp, bp, in xfs_da3_root_split()
750 struct xfs_trans *tp; in xfs_da3_node_rebalance() local
786 tp = state->args->trans; in xfs_da3_node_rebalance()
824 xfs_trans_log_buf(tp, blk1->bp, in xfs_da3_node_rebalance()
842 xfs_trans_log_buf(tp, blk1->bp, in xfs_da3_node_rebalance()
846 xfs_trans_log_buf(tp, blk2->bp, in xfs_da3_node_rebalance()
1379 struct xfs_trans *tp; in xfs_da3_node_unbalance() local
1392 tp = state->args->trans; in xfs_da3_node_unbalance()
1407 xfs_trans_log_buf(tp, save_blk->bp, in xfs_da3_node_unbalance()
1413 xfs_trans_log_buf(tp, save_blk->bp, in xfs_da3_node_unbalance()
1426 xfs_trans_log_buf(tp, save_blk->bp, in xfs_da3_node_unbalance()
2011 struct xfs_trans *tp = args->trans; in xfs_da_grow_inode_int() local
2021 error = xfs_bmap_first_unused(tp, dp, count, bno, w); in xfs_da_grow_inode_int()
2030 error = xfs_bmapi_write(tp, dp, *bno, count, in xfs_da_grow_inode_int()
2053 error = xfs_bmapi_write(tp, dp, b, c, in xfs_da_grow_inode_int()
2134 struct xfs_trans *tp; in xfs_da3_swap_lastblock() local
2156 tp = args->trans; in xfs_da3_swap_lastblock()
2162 error = xfs_bmap_last_before(tp, dp, &lastoff, w); in xfs_da3_swap_lastblock()
2174 error = xfs_da3_node_read(tp, dp, last_blkno, -1, &last_buf, w); in xfs_da3_swap_lastblock()
2181 xfs_trans_log_buf(tp, dead_buf, 0, args->geo->blksize - 1); in xfs_da3_swap_lastblock()
2210 error = xfs_da3_node_read(tp, dp, sib_blkno, -1, &sib_buf, w); in xfs_da3_swap_lastblock()
2223 xfs_trans_log_buf(tp, sib_buf, in xfs_da3_swap_lastblock()
2232 error = xfs_da3_node_read(tp, dp, sib_blkno, -1, &sib_buf, w); in xfs_da3_swap_lastblock()
2245 xfs_trans_log_buf(tp, sib_buf, in xfs_da3_swap_lastblock()
2256 error = xfs_da3_node_read(tp, dp, par_blkno, -1, &par_buf, w); in xfs_da3_swap_lastblock()
2283 xfs_trans_brelse(tp, par_buf); in xfs_da3_swap_lastblock()
2299 xfs_trans_brelse(tp, par_buf); in xfs_da3_swap_lastblock()
2307 error = xfs_da3_node_read(tp, dp, par_blkno, -1, &par_buf, w); in xfs_da3_swap_lastblock()
2325 xfs_trans_log_buf(tp, par_buf, in xfs_da3_swap_lastblock()
2333 xfs_trans_brelse(tp, par_buf); in xfs_da3_swap_lastblock()
2335 xfs_trans_brelse(tp, sib_buf); in xfs_da3_swap_lastblock()
2336 xfs_trans_brelse(tp, last_buf); in xfs_da3_swap_lastblock()
2351 xfs_trans_t *tp; in xfs_da_shrink_inode() local
2357 tp = args->trans; in xfs_da_shrink_inode()
2364 error = xfs_bunmapi(tp, dp, dead_blkno, count, in xfs_da_shrink_inode()
2378 xfs_trans_binval(tp, dead_buf); in xfs_da_shrink_inode()