Lines Matching refs:tp
46 static void xfs_dir2_free_log_header(xfs_trans_t *tp, xfs_dabuf_t *bp);
70 xfs_trans_t *tp, /* transaction pointer */ in xfs_dir2_free_log_bests() argument
79 xfs_da_log_buf(tp, bp, in xfs_dir2_free_log_bests()
90 xfs_trans_t *tp, /* transaction pointer */ in xfs_dir2_free_log_header() argument
97 xfs_da_log_buf(tp, bp, (uint)((char *)&free->hdr - (char *)free), in xfs_dir2_free_log_header()
124 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_to_node() local
129 tp = args->trans; in xfs_dir2_leaf_to_node()
140 if ((error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(mp, fdb), -1, &fbp, in xfs_dir2_leaf_to_node()
170 xfs_dir2_leaf_log_header(tp, lbp); in xfs_dir2_leaf_to_node()
171 xfs_dir2_free_log_header(tp, fbp); in xfs_dir2_leaf_to_node()
172 xfs_dir2_free_log_bests(tp, fbp, 0, be32_to_cpu(free->hdr.nvalid) - 1); in xfs_dir2_leaf_to_node()
197 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leafn_add() local
202 tp = args->trans; in xfs_dir2_leafn_add()
333 xfs_dir2_leaf_log_header(tp, bp); in xfs_dir2_leafn_add()
334 xfs_dir2_leaf_log_ents(tp, bp, lfloglow, lfloghigh); in xfs_dir2_leafn_add()
414 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leafn_lookup_for_addname() local
417 tp = args->trans; in xfs_dir2_leafn_lookup_for_addname()
478 xfs_da_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_addname()
482 error = xfs_da_read_buf(tp, dp, in xfs_dir2_leafn_lookup_for_addname()
507 xfs_da_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_addname()
557 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leafn_lookup_for_entry() local
561 tp = args->trans; in xfs_dir2_leafn_lookup_for_entry()
608 xfs_da_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_entry()
618 error = xfs_da_read_buf(tp, dp, in xfs_dir2_leafn_lookup_for_entry()
642 xfs_da_brelse(tp, state->extrablk.bp); in xfs_dir2_leafn_lookup_for_entry()
669 xfs_da_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_entry()
712 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leafn_moveents() local
722 tp = args->trans; in xfs_dir2_leafn_moveents()
734 xfs_dir2_leaf_log_ents(tp, bp_d, start_d + count, in xfs_dir2_leafn_moveents()
755 xfs_dir2_leaf_log_ents(tp, bp_d, start_d, start_d + count - 1); in xfs_dir2_leafn_moveents()
763 xfs_dir2_leaf_log_ents(tp, bp_s, start_s, start_s + count - 1); in xfs_dir2_leafn_moveents()
772 xfs_dir2_leaf_log_header(tp, bp_s); in xfs_dir2_leafn_moveents()
773 xfs_dir2_leaf_log_header(tp, bp_d); in xfs_dir2_leafn_moveents()
934 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leafn_remove() local
938 tp = args->trans; in xfs_dir2_leafn_remove()
958 xfs_dir2_leaf_log_header(tp, bp); in xfs_dir2_leafn_remove()
960 xfs_dir2_leaf_log_ents(tp, bp, index, index); in xfs_dir2_leafn_remove()
970 xfs_dir2_data_make_free(tp, dbp, off, in xfs_dir2_leafn_remove()
979 xfs_dir2_data_log_header(tp, dbp); in xfs_dir2_leafn_remove()
998 if ((error = xfs_da_read_buf(tp, dp, xfs_dir2_db_to_da(mp, fdb), in xfs_dir2_leafn_remove()
1044 xfs_dir2_free_log_header(tp, fbp); in xfs_dir2_leafn_remove()
1098 xfs_dir2_free_log_bests(tp, fbp, findex, findex); in xfs_dir2_leafn_remove()
1453 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_node_addname_int() local
1457 tp = args->trans; in xfs_dir2_node_addname_int()
1509 if ((error = xfs_bmap_last_offset(tp, dp, &fo, XFS_DATA_FORK))) in xfs_dir2_node_addname_int()
1546 if ((error = xfs_da_read_buf(tp, dp, in xfs_dir2_node_addname_int()
1572 xfs_da_brelse(tp, fbp); in xfs_dir2_node_addname_int()
1616 xfs_da_brelse(tp, fbp); in xfs_dir2_node_addname_int()
1625 if (unlikely(error = xfs_da_read_buf(tp, dp, in xfs_dir2_node_addname_int()
1671 if ((error = xfs_da_get_buf(tp, dp, in xfs_dir2_node_addname_int()
1716 xfs_dir2_free_log_header(tp, fbp); in xfs_dir2_node_addname_int()
1743 error = xfs_da_read_buf(tp, dp, xfs_dir2_db_to_da(mp, dbno), in xfs_dir2_node_addname_int()
1762 xfs_dir2_data_use_free(tp, dbp, dup, in xfs_dir2_node_addname_int()
1774 xfs_dir2_data_log_entry(tp, dbp, dep); in xfs_dir2_node_addname_int()
1784 xfs_dir2_data_log_header(tp, dbp); in xfs_dir2_node_addname_int()
1796 xfs_dir2_free_log_bests(tp, fbp, findex, findex); in xfs_dir2_node_addname_int()
2026 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_node_trim_free() local
2030 tp = args->trans; in xfs_dir2_node_trim_free()
2034 if (unlikely(error = xfs_da_read_buf(tp, dp, (xfs_dablk_t)fo, -2, &bp, in xfs_dir2_node_trim_free()
2052 xfs_da_brelse(tp, bp); in xfs_dir2_node_trim_free()
2068 xfs_da_brelse(tp, bp); in xfs_dir2_node_trim_free()