Lines Matching refs:tp

41 static void xfs_dir2_block_log_leaf(xfs_trans_t *tp, struct xfs_buf *bp,
43 static void xfs_dir2_block_log_tail(xfs_trans_t *tp, struct xfs_buf *bp);
129 struct xfs_trans *tp, in xfs_dir3_block_read() argument
136 err = xfs_da_read_buf(tp, dp, mp->m_dir_geo->datablk, -1, bpp, in xfs_dir3_block_read()
138 if (!err && tp) in xfs_dir3_block_read()
139 xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_BLOCK_BUF); in xfs_dir3_block_read()
146 struct xfs_trans *tp, in xfs_dir3_block_init() argument
153 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DIR_BLOCK_BUF); in xfs_dir3_block_init()
356 xfs_trans_t *tp; /* transaction structure */ in xfs_dir2_block_addname() local
361 tp = args->trans; in xfs_dir2_block_addname()
364 error = xfs_dir3_block_read(tp, dp, &bp); in xfs_dir2_block_addname()
388 xfs_trans_brelse(tp, bp); in xfs_dir2_block_addname()
535 xfs_dir2_block_log_leaf(tp, bp, lfloglow, lfloghigh); in xfs_dir2_block_addname()
558 xfs_dir2_block_log_tail(tp, bp); in xfs_dir2_block_addname()
569 xfs_trans_t *tp, /* transaction structure */ in xfs_dir2_block_log_leaf() argument
578 btp = xfs_dir2_block_tail_p(tp->t_mountp->m_dir_geo, hdr); in xfs_dir2_block_log_leaf()
580 xfs_trans_log_buf(tp, bp, (uint)((char *)&blp[first] - (char *)hdr), in xfs_dir2_block_log_leaf()
589 xfs_trans_t *tp, /* transaction structure */ in xfs_dir2_block_log_tail() argument
595 btp = xfs_dir2_block_tail_p(tp->t_mountp->m_dir_geo, hdr); in xfs_dir2_block_log_tail()
596 xfs_trans_log_buf(tp, bp, (uint)((char *)btp - (char *)hdr), in xfs_dir2_block_log_tail()
668 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_block_lookup_int() local
672 tp = args->trans; in xfs_dir2_block_lookup_int()
675 error = xfs_dir3_block_read(tp, dp, &bp); in xfs_dir2_block_lookup_int()
698 xfs_trans_brelse(tp, bp); in xfs_dir2_block_lookup_int()
746 xfs_trans_brelse(tp, bp); in xfs_dir2_block_lookup_int()
770 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_block_removename() local
782 tp = args->trans; in xfs_dir2_block_removename()
803 xfs_dir2_block_log_tail(tp, bp); in xfs_dir2_block_removename()
808 xfs_dir2_block_log_leaf(tp, bp, ent, ent); in xfs_dir2_block_removename()
920 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_to_block() local
927 tp = args->trans; in xfs_dir2_leaf_to_block()
960 error = xfs_dir3_data_read(tp, dp, args->geo->datablk, -1, &dbp); in xfs_dir2_leaf_to_block()
988 xfs_dir3_block_init(mp, tp, dbp, dp); in xfs_dir2_leaf_to_block()
1003 xfs_dir2_block_log_tail(tp, dbp); in xfs_dir2_leaf_to_block()
1014 xfs_dir2_block_log_leaf(tp, dbp, 0, be32_to_cpu(btp->count) - 1); in xfs_dir2_leaf_to_block()
1067 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_sf_to_block() local
1074 tp = args->trans; in xfs_dir2_sf_to_block()
1120 xfs_dir3_block_init(mp, tp, bp, dp); in xfs_dir2_sf_to_block()
1250 xfs_dir2_block_log_leaf(tp, bp, 0, be32_to_cpu(btp->count) - 1); in xfs_dir2_sf_to_block()
1251 xfs_dir2_block_log_tail(tp, bp); in xfs_dir2_sf_to_block()