Lines Matching refs:tp
45 static void xfs_dir2_block_log_leaf(xfs_trans_t *tp, xfs_dabuf_t *bp, int first,
47 static void xfs_dir2_block_log_tail(xfs_trans_t *tp, xfs_dabuf_t *bp);
95 xfs_trans_t *tp; /* transaction structure */ in xfs_dir2_block_addname() local
99 tp = args->trans; in xfs_dir2_block_addname()
105 xfs_da_read_buf(tp, dp, mp->m_dirdatablk, -1, &bp, XFS_DATA_FORK))) { in xfs_dir2_block_addname()
116 xfs_da_brelse(tp, bp); in xfs_dir2_block_addname()
219 xfs_da_brelse(tp, bp); in xfs_dir2_block_addname()
275 xfs_dir2_data_make_free(tp, bp, in xfs_dir2_block_addname()
320 xfs_dir2_data_use_free(tp, bp, enddup, in xfs_dir2_block_addname()
402 xfs_dir2_block_log_leaf(tp, bp, lfloglow, lfloghigh); in xfs_dir2_block_addname()
406 xfs_dir2_data_use_free(tp, bp, dup, in xfs_dir2_block_addname()
423 xfs_dir2_data_log_header(tp, bp); in xfs_dir2_block_addname()
424 xfs_dir2_block_log_tail(tp, bp); in xfs_dir2_block_addname()
425 xfs_dir2_data_log_entry(tp, bp, dep); in xfs_dir2_block_addname()
543 xfs_trans_t *tp, /* transaction structure */ in xfs_dir2_block_log_leaf() argument
553 mp = tp->t_mountp; in xfs_dir2_block_log_leaf()
557 xfs_da_log_buf(tp, bp, (uint)((char *)&blp[first] - (char *)block), in xfs_dir2_block_log_leaf()
566 xfs_trans_t *tp, /* transaction structure */ in xfs_dir2_block_log_tail() argument
573 mp = tp->t_mountp; in xfs_dir2_block_log_tail()
576 xfs_da_log_buf(tp, bp, (uint)((char *)btp - (char *)block), in xfs_dir2_block_log_tail()
647 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_block_lookup_int() local
651 tp = args->trans; in xfs_dir2_block_lookup_int()
657 xfs_da_read_buf(tp, dp, mp->m_dirdatablk, -1, &bp, XFS_DATA_FORK))) { in xfs_dir2_block_lookup_int()
680 xfs_da_brelse(tp, bp); in xfs_dir2_block_lookup_int()
728 xfs_da_brelse(tp, bp); in xfs_dir2_block_lookup_int()
753 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_block_removename() local
764 tp = args->trans; in xfs_dir2_block_removename()
778 xfs_dir2_data_make_free(tp, bp, in xfs_dir2_block_removename()
785 xfs_dir2_block_log_tail(tp, bp); in xfs_dir2_block_removename()
790 xfs_dir2_block_log_leaf(tp, bp, ent, ent); in xfs_dir2_block_removename()
797 xfs_dir2_data_log_header(tp, bp); in xfs_dir2_block_removename()
903 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_to_block() local
907 tp = args->trans; in xfs_dir2_leaf_to_block()
935 (error = xfs_da_read_buf(tp, dp, mp->m_dirdatablk, -1, &dbp, in xfs_dir2_leaf_to_block()
968 xfs_dir2_data_use_free(tp, dbp, dup, mp->m_dirblksize - size, size, in xfs_dir2_leaf_to_block()
976 xfs_dir2_block_log_tail(tp, dbp); in xfs_dir2_leaf_to_block()
987 xfs_dir2_block_log_leaf(tp, dbp, 0, be32_to_cpu(btp->count) - 1); in xfs_dir2_leaf_to_block()
994 xfs_dir2_data_log_header(tp, dbp); in xfs_dir2_leaf_to_block()
1049 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_sf_to_block() local
1054 tp = args->trans; in xfs_dir2_sf_to_block()
1079 xfs_trans_log_inode(tp, dp, XFS_ILOG_CORE); in xfs_dir2_sf_to_block()
1113 xfs_dir2_data_use_free(tp, bp, dup, mp->m_dirblksize - i, i, &needlog, in xfs_dir2_sf_to_block()
1127 xfs_dir2_data_use_free(tp, bp, dup, in xfs_dir2_sf_to_block()
1140 xfs_dir2_data_log_entry(tp, bp, dep); in xfs_dir2_sf_to_block()
1154 xfs_dir2_data_log_entry(tp, bp, dep); in xfs_dir2_sf_to_block()
1188 xfs_dir2_data_log_unused(tp, bp, dup); in xfs_dir2_sf_to_block()
1204 xfs_dir2_data_log_entry(tp, bp, dep); in xfs_dir2_sf_to_block()
1228 xfs_dir2_block_log_leaf(tp, bp, 0, be32_to_cpu(btp->count) - 1); in xfs_dir2_sf_to_block()
1229 xfs_dir2_block_log_tail(tp, bp); in xfs_dir2_sf_to_block()