Lines Matching refs:tp
250 struct xfs_trans *tp, in xfs_da3_node_read() argument
259 err = xfs_da_read_buf(tp, dp, bno, mappedbno, bpp, in xfs_da3_node_read()
261 if (!err && tp) { in xfs_da3_node_read()
283 xfs_trans_buf_set_type(tp, *bpp, type); in xfs_da3_node_read()
304 struct xfs_trans *tp = args->trans; in xfs_da3_node_create() local
305 struct xfs_mount *mp = tp->t_mountp; in xfs_da3_node_create()
314 error = xfs_da_get_buf(tp, dp, blkno, -1, &bp, whichfork); in xfs_da3_node_create()
318 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DA_NODE_BUF); in xfs_da3_node_create()
334 xfs_trans_log_buf(tp, bp, in xfs_da3_node_create()
514 struct xfs_trans *tp; in xfs_da3_root_split() local
533 tp = args->trans; in xfs_da3_root_split()
534 error = xfs_da_get_buf(tp, dp, blkno, -1, &bp, args->whichfork); in xfs_da3_root_split()
552 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DA_NODE_BUF); in xfs_da3_root_split()
570 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DIR_LEAFN_BUF); in xfs_da3_root_split()
586 xfs_trans_log_buf(tp, bp, 0, size - 1); in xfs_da3_root_split()
623 xfs_trans_log_buf(tp, bp, in xfs_da3_root_split()
744 struct xfs_trans *tp; in xfs_da3_node_rebalance() local
780 tp = state->args->trans; in xfs_da3_node_rebalance()
818 xfs_trans_log_buf(tp, blk1->bp, in xfs_da3_node_rebalance()
836 xfs_trans_log_buf(tp, blk1->bp, in xfs_da3_node_rebalance()
840 xfs_trans_log_buf(tp, blk2->bp, in xfs_da3_node_rebalance()
1373 struct xfs_trans *tp; in xfs_da3_node_unbalance() local
1386 tp = state->args->trans; in xfs_da3_node_unbalance()
1401 xfs_trans_log_buf(tp, save_blk->bp, in xfs_da3_node_unbalance()
1407 xfs_trans_log_buf(tp, save_blk->bp, in xfs_da3_node_unbalance()
1420 xfs_trans_log_buf(tp, save_blk->bp, in xfs_da3_node_unbalance()
2000 struct xfs_trans *tp = args->trans; in xfs_da_grow_inode_int() local
2010 error = xfs_bmap_first_unused(tp, dp, count, bno, w); in xfs_da_grow_inode_int()
2019 error = xfs_bmapi_write(tp, dp, *bno, count, in xfs_da_grow_inode_int()
2042 error = xfs_bmapi_write(tp, dp, b, c, in xfs_da_grow_inode_int()
2123 struct xfs_trans *tp; in xfs_da3_swap_lastblock() local
2145 tp = args->trans; in xfs_da3_swap_lastblock()
2151 error = xfs_bmap_last_before(tp, dp, &lastoff, w); in xfs_da3_swap_lastblock()
2163 error = xfs_da3_node_read(tp, dp, last_blkno, -1, &last_buf, w); in xfs_da3_swap_lastblock()
2170 xfs_trans_log_buf(tp, dead_buf, 0, args->geo->blksize - 1); in xfs_da3_swap_lastblock()
2199 error = xfs_da3_node_read(tp, dp, sib_blkno, -1, &sib_buf, w); in xfs_da3_swap_lastblock()
2212 xfs_trans_log_buf(tp, sib_buf, in xfs_da3_swap_lastblock()
2221 error = xfs_da3_node_read(tp, dp, sib_blkno, -1, &sib_buf, w); in xfs_da3_swap_lastblock()
2234 xfs_trans_log_buf(tp, sib_buf, in xfs_da3_swap_lastblock()
2245 error = xfs_da3_node_read(tp, dp, par_blkno, -1, &par_buf, w); in xfs_da3_swap_lastblock()
2272 xfs_trans_brelse(tp, par_buf); in xfs_da3_swap_lastblock()
2288 xfs_trans_brelse(tp, par_buf); in xfs_da3_swap_lastblock()
2296 error = xfs_da3_node_read(tp, dp, par_blkno, -1, &par_buf, w); in xfs_da3_swap_lastblock()
2314 xfs_trans_log_buf(tp, par_buf, in xfs_da3_swap_lastblock()
2322 xfs_trans_brelse(tp, par_buf); in xfs_da3_swap_lastblock()
2324 xfs_trans_brelse(tp, sib_buf); in xfs_da3_swap_lastblock()
2325 xfs_trans_brelse(tp, last_buf); in xfs_da3_swap_lastblock()
2340 xfs_trans_t *tp; in xfs_da_shrink_inode() local
2346 tp = args->trans; in xfs_da_shrink_inode()
2353 error = xfs_bunmapi(tp, dp, dead_blkno, count, in xfs_da_shrink_inode()
2367 xfs_trans_binval(tp, dead_buf); in xfs_da_shrink_inode()