Lines Matching refs:tp
41 static void xfs_dir2_block_log_leaf(xfs_trans_t *tp, xfs_dabuf_t *bp, int first,
43 static void xfs_dir2_block_log_tail(xfs_trans_t *tp, xfs_dabuf_t *bp);
91 xfs_trans_t *tp; /* transaction structure */ in xfs_dir2_block_addname() local
96 tp = args->trans; in xfs_dir2_block_addname()
102 xfs_da_read_buf(tp, dp, mp->m_dirdatablk, -1, &bp, XFS_DATA_FORK))) { in xfs_dir2_block_addname()
113 xfs_da_brelse(tp, bp); in xfs_dir2_block_addname()
216 xfs_da_brelse(tp, bp); in xfs_dir2_block_addname()
273 xfs_dir2_data_make_free(tp, bp, in xfs_dir2_block_addname()
318 xfs_dir2_data_use_free(tp, bp, enddup, in xfs_dir2_block_addname()
401 xfs_dir2_block_log_leaf(tp, bp, lfloglow, lfloghigh); in xfs_dir2_block_addname()
405 xfs_dir2_data_use_free(tp, bp, dup, in xfs_dir2_block_addname()
422 xfs_dir2_data_log_header(tp, bp); in xfs_dir2_block_addname()
423 xfs_dir2_block_log_tail(tp, bp); in xfs_dir2_block_addname()
424 xfs_dir2_data_log_entry(tp, bp, dep); in xfs_dir2_block_addname()
538 xfs_trans_t *tp, /* transaction structure */ in xfs_dir2_block_log_leaf() argument
547 btp = xfs_dir2_block_tail_p(tp->t_mountp, hdr); in xfs_dir2_block_log_leaf()
549 xfs_da_log_buf(tp, bp, (uint)((char *)&blp[first] - (char *)hdr), in xfs_dir2_block_log_leaf()
558 xfs_trans_t *tp, /* transaction structure */ in xfs_dir2_block_log_tail() argument
564 btp = xfs_dir2_block_tail_p(tp->t_mountp, hdr); in xfs_dir2_block_log_tail()
565 xfs_da_log_buf(tp, bp, (uint)((char *)btp - (char *)hdr), in xfs_dir2_block_log_tail()
637 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_block_lookup_int() local
641 tp = args->trans; in xfs_dir2_block_lookup_int()
647 xfs_da_read_buf(tp, dp, mp->m_dirdatablk, -1, &bp, XFS_DATA_FORK))) { in xfs_dir2_block_lookup_int()
670 xfs_da_brelse(tp, bp); in xfs_dir2_block_lookup_int()
718 xfs_da_brelse(tp, bp); in xfs_dir2_block_lookup_int()
743 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_block_removename() local
755 tp = args->trans; in xfs_dir2_block_removename()
769 xfs_dir2_data_make_free(tp, bp, in xfs_dir2_block_removename()
776 xfs_dir2_block_log_tail(tp, bp); in xfs_dir2_block_removename()
781 xfs_dir2_block_log_leaf(tp, bp, ent, ent); in xfs_dir2_block_removename()
788 xfs_dir2_data_log_header(tp, bp); in xfs_dir2_block_removename()
895 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_to_block() local
900 tp = args->trans; in xfs_dir2_leaf_to_block()
928 (error = xfs_da_read_buf(tp, dp, mp->m_dirdatablk, -1, &dbp, in xfs_dir2_leaf_to_block()
961 xfs_dir2_data_use_free(tp, dbp, dup, mp->m_dirblksize - size, size, in xfs_dir2_leaf_to_block()
969 xfs_dir2_block_log_tail(tp, dbp); in xfs_dir2_leaf_to_block()
981 xfs_dir2_block_log_leaf(tp, dbp, 0, be32_to_cpu(btp->count) - 1); in xfs_dir2_leaf_to_block()
988 xfs_dir2_data_log_header(tp, dbp); in xfs_dir2_leaf_to_block()
1042 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_sf_to_block() local
1048 tp = args->trans; in xfs_dir2_sf_to_block()
1074 xfs_trans_log_inode(tp, dp, XFS_ILOG_CORE); in xfs_dir2_sf_to_block()
1105 xfs_dir2_data_use_free(tp, bp, dup, mp->m_dirblksize - i, i, &needlog, in xfs_dir2_sf_to_block()
1119 xfs_dir2_data_use_free(tp, bp, dup, in xfs_dir2_sf_to_block()
1132 xfs_dir2_data_log_entry(tp, bp, dep); in xfs_dir2_sf_to_block()
1146 xfs_dir2_data_log_entry(tp, bp, dep); in xfs_dir2_sf_to_block()
1180 xfs_dir2_data_log_unused(tp, bp, dup); in xfs_dir2_sf_to_block()
1194 xfs_dir2_data_log_entry(tp, bp, dep); in xfs_dir2_sf_to_block()
1218 xfs_dir2_block_log_leaf(tp, bp, 0, be32_to_cpu(btp->count) - 1); in xfs_dir2_sf_to_block()
1219 xfs_dir2_block_log_tail(tp, bp); in xfs_dir2_sf_to_block()