Lines Matching refs:tp

261 	struct xfs_trans	*tp,  in xfs_dir3_leaf_read()  argument
269 err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, in xfs_dir3_leaf_read()
271 if (!err && tp) in xfs_dir3_leaf_read()
272 xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_LEAF1_BUF); in xfs_dir3_leaf_read()
278 struct xfs_trans *tp, in xfs_dir3_leafn_read() argument
286 err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, in xfs_dir3_leafn_read()
288 if (!err && tp) in xfs_dir3_leafn_read()
289 xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_LEAFN_BUF); in xfs_dir3_leafn_read()
299 struct xfs_trans *tp, in xfs_dir3_leaf_init() argument
334 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DIR_LEAF1_BUF); in xfs_dir3_leaf_init()
337 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DIR_LEAFN_BUF); in xfs_dir3_leaf_init()
349 struct xfs_trans *tp = args->trans; in xfs_dir3_leaf_get_buf() local
358 error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(args->geo, bno), in xfs_dir3_leaf_get_buf()
363 xfs_dir3_leaf_init(mp, tp, bp, dp->i_ino, magic); in xfs_dir3_leaf_get_buf()
392 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_block_to_leaf() local
400 tp = args->trans; in xfs_dir2_block_to_leaf()
456 xfs_trans_buf_set_type(tp, dbp, XFS_BLFT_DIR_DATA_BUF); in xfs_dir2_block_to_leaf()
634 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_addname() local
643 tp = args->trans; in xfs_dir2_leaf_addname()
645 error = xfs_dir3_leaf_read(tp, dp, args->geo->leafblk, -1, &lbp); in xfs_dir2_leaf_addname()
732 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_addname()
756 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_addname()
764 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_addname()
795 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_addname()
802 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_addname()
832 error = xfs_dir3_data_read(tp, dp, in xfs_dir2_leaf_addname()
836 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_addname()
1165 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_lookup() local
1176 tp = args->trans; in xfs_dir2_leaf_lookup()
1198 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup()
1199 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_lookup()
1227 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_lookup_int() local
1234 tp = args->trans; in xfs_dir2_leaf_lookup_int()
1237 error = xfs_dir3_leaf_read(tp, dp, args->geo->leafblk, -1, &lbp); in xfs_dir2_leaf_lookup_int()
1274 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1275 error = xfs_dir3_data_read(tp, dp, in xfs_dir2_leaf_lookup_int()
1279 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_lookup_int()
1316 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1317 error = xfs_dir3_data_read(tp, dp, in xfs_dir2_leaf_lookup_int()
1321 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_lookup_int()
1333 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1334 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_lookup_int()
1497 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_replace() local
1527 tp = args->trans; in xfs_dir2_leaf_replace()
1530 xfs_trans_brelse(tp, lbp); in xfs_dir2_leaf_replace()
1605 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_trim_data() local
1608 tp = args->trans; in xfs_dir2_leaf_trim_data()
1612 error = xfs_dir3_data_read(tp, dp, xfs_dir2_db_to_da(args->geo, db), in xfs_dir2_leaf_trim_data()
1638 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_trim_data()
1692 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_node_to_leaf() local
1708 tp = args->trans; in xfs_dir2_node_to_leaf()
1734 if ((error = xfs_bmap_last_before(tp, dp, &fo, XFS_DATA_FORK))) { in xfs_dir2_node_to_leaf()
1752 error = xfs_dir2_free_read(tp, dp, args->geo->freeblk, &fbp); in xfs_dir2_node_to_leaf()
1765 xfs_trans_brelse(tp, fbp); in xfs_dir2_node_to_leaf()
1776 xfs_trans_buf_set_type(tp, lbp, XFS_BLFT_DIR_LEAF1_BUF); in xfs_dir2_node_to_leaf()