Lines Matching refs:tp
42 static void xfs_dir2_block_log_leaf(xfs_trans_t *tp, struct xfs_buf *bp,
44 static void xfs_dir2_block_log_tail(xfs_trans_t *tp, struct xfs_buf *bp);
133 struct xfs_trans *tp, in xfs_dir3_block_read() argument
140 err = xfs_da_read_buf(tp, dp, mp->m_dir_geo->datablk, -1, bpp, in xfs_dir3_block_read()
142 if (!err && tp) in xfs_dir3_block_read()
143 xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_BLOCK_BUF); in xfs_dir3_block_read()
150 struct xfs_trans *tp, in xfs_dir3_block_init() argument
157 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DIR_BLOCK_BUF); in xfs_dir3_block_init()
360 xfs_trans_t *tp; /* transaction structure */ in xfs_dir2_block_addname() local
365 tp = args->trans; in xfs_dir2_block_addname()
368 error = xfs_dir3_block_read(tp, dp, &bp); in xfs_dir2_block_addname()
392 xfs_trans_brelse(tp, bp); in xfs_dir2_block_addname()
539 xfs_dir2_block_log_leaf(tp, bp, lfloglow, lfloghigh); in xfs_dir2_block_addname()
562 xfs_dir2_block_log_tail(tp, bp); in xfs_dir2_block_addname()
573 xfs_trans_t *tp, /* transaction structure */ in xfs_dir2_block_log_leaf() argument
582 btp = xfs_dir2_block_tail_p(tp->t_mountp->m_dir_geo, hdr); in xfs_dir2_block_log_leaf()
584 xfs_trans_log_buf(tp, bp, (uint)((char *)&blp[first] - (char *)hdr), in xfs_dir2_block_log_leaf()
593 xfs_trans_t *tp, /* transaction structure */ in xfs_dir2_block_log_tail() argument
599 btp = xfs_dir2_block_tail_p(tp->t_mountp->m_dir_geo, hdr); in xfs_dir2_block_log_tail()
600 xfs_trans_log_buf(tp, bp, (uint)((char *)btp - (char *)hdr), in xfs_dir2_block_log_tail()
672 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_block_lookup_int() local
676 tp = args->trans; in xfs_dir2_block_lookup_int()
679 error = xfs_dir3_block_read(tp, dp, &bp); in xfs_dir2_block_lookup_int()
702 xfs_trans_brelse(tp, bp); in xfs_dir2_block_lookup_int()
750 xfs_trans_brelse(tp, bp); in xfs_dir2_block_lookup_int()
774 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_block_removename() local
786 tp = args->trans; in xfs_dir2_block_removename()
807 xfs_dir2_block_log_tail(tp, bp); in xfs_dir2_block_removename()
812 xfs_dir2_block_log_leaf(tp, bp, ent, ent); in xfs_dir2_block_removename()
924 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_to_block() local
931 tp = args->trans; in xfs_dir2_leaf_to_block()
964 error = xfs_dir3_data_read(tp, dp, args->geo->datablk, -1, &dbp); in xfs_dir2_leaf_to_block()
992 xfs_dir3_block_init(mp, tp, dbp, dp); in xfs_dir2_leaf_to_block()
1007 xfs_dir2_block_log_tail(tp, dbp); in xfs_dir2_leaf_to_block()
1018 xfs_dir2_block_log_leaf(tp, dbp, 0, be32_to_cpu(btp->count) - 1); in xfs_dir2_leaf_to_block()
1071 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_sf_to_block() local
1078 tp = args->trans; in xfs_dir2_sf_to_block()
1124 xfs_dir3_block_init(mp, tp, bp, dp); in xfs_dir2_sf_to_block()
1254 xfs_dir2_block_log_leaf(tp, bp, 0, be32_to_cpu(btp->count) - 1); in xfs_dir2_sf_to_block()
1255 xfs_dir2_block_log_tail(tp, bp); in xfs_dir2_sf_to_block()