Lines Matching refs:tp
256 struct xfs_trans *tp, in xfs_dir3_leaf_read() argument
264 err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, in xfs_dir3_leaf_read()
266 if (!err && tp) in xfs_dir3_leaf_read()
267 xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_LEAF1_BUF); in xfs_dir3_leaf_read()
273 struct xfs_trans *tp, in xfs_dir3_leafn_read() argument
281 err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, in xfs_dir3_leafn_read()
283 if (!err && tp) in xfs_dir3_leafn_read()
284 xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_LEAFN_BUF); in xfs_dir3_leafn_read()
294 struct xfs_trans *tp, in xfs_dir3_leaf_init() argument
329 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DIR_LEAF1_BUF); in xfs_dir3_leaf_init()
332 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DIR_LEAFN_BUF); in xfs_dir3_leaf_init()
344 struct xfs_trans *tp = args->trans; in xfs_dir3_leaf_get_buf() local
353 error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(args->geo, bno), in xfs_dir3_leaf_get_buf()
358 xfs_dir3_leaf_init(mp, tp, bp, dp->i_ino, magic); in xfs_dir3_leaf_get_buf()
387 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_block_to_leaf() local
395 tp = args->trans; in xfs_dir2_block_to_leaf()
451 xfs_trans_buf_set_type(tp, dbp, XFS_BLFT_DIR_DATA_BUF); in xfs_dir2_block_to_leaf()
629 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_addname() local
638 tp = args->trans; in xfs_dir2_leaf_addname()
640 error = xfs_dir3_leaf_read(tp, dp, args->geo->leafblk, -1, &lbp); in xfs_dir2_leaf_addname()
727 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_addname()
751 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_addname()
759 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_addname()
790 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_addname()
797 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_addname()
827 error = xfs_dir3_data_read(tp, dp, in xfs_dir2_leaf_addname()
831 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_addname()
1160 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_lookup() local
1171 tp = args->trans; in xfs_dir2_leaf_lookup()
1193 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup()
1194 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_lookup()
1222 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_lookup_int() local
1229 tp = args->trans; in xfs_dir2_leaf_lookup_int()
1232 error = xfs_dir3_leaf_read(tp, dp, args->geo->leafblk, -1, &lbp); in xfs_dir2_leaf_lookup_int()
1269 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1270 error = xfs_dir3_data_read(tp, dp, in xfs_dir2_leaf_lookup_int()
1274 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_lookup_int()
1311 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1312 error = xfs_dir3_data_read(tp, dp, in xfs_dir2_leaf_lookup_int()
1316 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_lookup_int()
1328 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1329 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_lookup_int()
1492 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_replace() local
1522 tp = args->trans; in xfs_dir2_leaf_replace()
1525 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_replace()
1600 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_trim_data() local
1603 tp = args->trans; in xfs_dir2_leaf_trim_data()
1607 error = xfs_dir3_data_read(tp, dp, xfs_dir2_db_to_da(args->geo, db), in xfs_dir2_leaf_trim_data()
1633 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_trim_data()
1687 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_node_to_leaf() local
1703 tp = args->trans; in xfs_dir2_node_to_leaf()
1729 if ((error = xfs_bmap_last_before(tp, dp, &fo, XFS_DATA_FORK))) { in xfs_dir2_node_to_leaf()
1747 error = xfs_dir2_free_read(tp, dp, args->geo->freeblk, &fbp); in xfs_dir2_node_to_leaf()
1760 xfs_trans_brelse(tp, fbp); in xfs_dir2_node_to_leaf()
1771 xfs_trans_buf_set_type(tp, lbp, XFS_BLFT_DIR_LEAF1_BUF); in xfs_dir2_node_to_leaf()