• Home
  • Raw
  • Download

Lines Matching refs:tp

54 static void xfs_dir2_leaf_log_bests(struct xfs_trans *tp, struct xfs_dabuf *bp,
56 static void xfs_dir2_leaf_log_tail(struct xfs_trans *tp, struct xfs_dabuf *bp);
81 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_block_to_leaf() local
86 tp = args->trans; in xfs_dir2_block_to_leaf()
119 xfs_dir2_leaf_log_ents(tp, lbp, 0, be16_to_cpu(leaf->hdr.count) - 1); in xfs_dir2_block_to_leaf()
126 xfs_dir2_data_make_free(tp, dbp, in xfs_dir2_block_to_leaf()
148 xfs_dir2_data_log_header(tp, dbp); in xfs_dir2_block_to_leaf()
151 xfs_dir2_leaf_log_bests(tp, lbp, 0, 0); in xfs_dir2_block_to_leaf()
188 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_addname() local
193 tp = args->trans; in xfs_dir2_leaf_addname()
198 error = xfs_da_read_buf(tp, dp, mp->m_dirleafblk, -1, &lbp, in xfs_dir2_leaf_addname()
281 xfs_da_brelse(tp, lbp); in xfs_dir2_leaf_addname()
306 xfs_da_brelse(tp, lbp); in xfs_dir2_leaf_addname()
314 xfs_da_brelse(tp, lbp); in xfs_dir2_leaf_addname()
345 xfs_da_brelse(tp, lbp); in xfs_dir2_leaf_addname()
352 xfs_da_brelse(tp, lbp); in xfs_dir2_leaf_addname()
364 xfs_dir2_leaf_log_tail(tp, lbp); in xfs_dir2_leaf_addname()
365 xfs_dir2_leaf_log_bests(tp, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_addname()
371 xfs_dir2_leaf_log_bests(tp, lbp, use_block, use_block); in xfs_dir2_leaf_addname()
382 xfs_da_read_buf(tp, dp, xfs_dir2_db_to_da(mp, use_block), in xfs_dir2_leaf_addname()
384 xfs_da_brelse(tp, lbp); in xfs_dir2_leaf_addname()
401 xfs_dir2_data_use_free(tp, dbp, dup, in xfs_dir2_leaf_addname()
422 xfs_dir2_data_log_header(tp, dbp); in xfs_dir2_leaf_addname()
423 xfs_dir2_data_log_entry(tp, dbp, dep); in xfs_dir2_leaf_addname()
431 xfs_dir2_leaf_log_bests(tp, lbp, use_block, use_block); in xfs_dir2_leaf_addname()
538 xfs_dir2_leaf_log_header(tp, lbp); in xfs_dir2_leaf_addname()
539 xfs_dir2_leaf_log_ents(tp, lbp, lfloglow, lfloghigh); in xfs_dir2_leaf_addname()
1136 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_init() local
1140 tp = args->trans; in xfs_dir2_leaf_init()
1147 error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(mp, bno), -1, &bp, in xfs_dir2_leaf_init()
1162 xfs_dir2_leaf_log_header(tp, bp); in xfs_dir2_leaf_init()
1171 xfs_dir2_leaf_log_tail(tp, bp); in xfs_dir2_leaf_init()
1182 xfs_trans_t *tp, /* transaction pointer */ in xfs_dir2_leaf_log_bests() argument
1194 ltp = xfs_dir2_leaf_tail_p(tp->t_mountp, leaf); in xfs_dir2_leaf_log_bests()
1197 xfs_da_log_buf(tp, bp, (uint)((char *)firstb - (char *)leaf), in xfs_dir2_leaf_log_bests()
1206 xfs_trans_t *tp, /* transaction pointer */ in xfs_dir2_leaf_log_ents() argument
1220 xfs_da_log_buf(tp, bp, (uint)((char *)firstlep - (char *)leaf), in xfs_dir2_leaf_log_ents()
1229 xfs_trans_t *tp, /* transaction pointer */ in xfs_dir2_leaf_log_header() argument
1237 xfs_da_log_buf(tp, bp, (uint)((char *)&leaf->hdr - (char *)leaf), in xfs_dir2_leaf_log_header()
1246 xfs_trans_t *tp, /* transaction pointer */ in xfs_dir2_leaf_log_tail() argument
1253 mp = tp->t_mountp; in xfs_dir2_leaf_log_tail()
1257 xfs_da_log_buf(tp, bp, (uint)((char *)ltp - (char *)leaf), in xfs_dir2_leaf_log_tail()
1278 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_lookup() local
1287 tp = args->trans; in xfs_dir2_leaf_lookup()
1306 xfs_da_brelse(tp, dbp); in xfs_dir2_leaf_lookup()
1307 xfs_da_brelse(tp, lbp); in xfs_dir2_leaf_lookup()
1335 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_lookup_int() local
1340 tp = args->trans; in xfs_dir2_leaf_lookup_int()
1345 error = xfs_da_read_buf(tp, dp, mp->m_dirleafblk, -1, &lbp, in xfs_dir2_leaf_lookup_int()
1378 xfs_da_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1379 error = xfs_da_read_buf(tp, dp, in xfs_dir2_leaf_lookup_int()
1383 xfs_da_brelse(tp, lbp); in xfs_dir2_leaf_lookup_int()
1420 xfs_da_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1421 error = xfs_da_read_buf(tp, dp, in xfs_dir2_leaf_lookup_int()
1425 xfs_da_brelse(tp, lbp); in xfs_dir2_leaf_lookup_int()
1437 xfs_da_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1438 xfs_da_brelse(tp, lbp); in xfs_dir2_leaf_lookup_int()
1466 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_removename() local
1476 tp = args->trans; in xfs_dir2_leaf_removename()
1496 xfs_dir2_data_make_free(tp, dbp, in xfs_dir2_leaf_removename()
1503 xfs_dir2_leaf_log_header(tp, lbp); in xfs_dir2_leaf_removename()
1505 xfs_dir2_leaf_log_ents(tp, lbp, index, index); in xfs_dir2_leaf_removename()
1513 xfs_dir2_data_log_header(tp, dbp); in xfs_dir2_leaf_removename()
1520 xfs_dir2_leaf_log_bests(tp, lbp, db, db); in xfs_dir2_leaf_removename()
1564 xfs_dir2_leaf_log_tail(tp, lbp); in xfs_dir2_leaf_removename()
1565 xfs_dir2_leaf_log_bests(tp, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_removename()
1598 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_replace() local
1624 tp = args->trans; in xfs_dir2_leaf_replace()
1625 xfs_dir2_data_log_entry(tp, dbp, dep); in xfs_dir2_leaf_replace()
1628 xfs_da_brelse(tp, lbp); in xfs_dir2_leaf_replace()
1706 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_leaf_trim_data() local
1710 tp = args->trans; in xfs_dir2_leaf_trim_data()
1714 if ((error = xfs_da_read_buf(tp, dp, xfs_dir2_db_to_da(mp, db), -1, &dbp, in xfs_dir2_leaf_trim_data()
1737 xfs_da_brelse(tp, dbp); in xfs_dir2_leaf_trim_data()
1746 xfs_dir2_leaf_log_tail(tp, lbp); in xfs_dir2_leaf_trim_data()
1747 xfs_dir2_leaf_log_bests(tp, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_trim_data()
1771 xfs_trans_t *tp; /* transaction pointer */ in xfs_dir2_node_to_leaf() local
1783 tp = args->trans; in xfs_dir2_node_to_leaf()
1787 if ((error = xfs_bmap_last_offset(tp, dp, &fo, XFS_DATA_FORK))) { in xfs_dir2_node_to_leaf()
1809 if ((error = xfs_bmap_last_before(tp, dp, &fo, XFS_DATA_FORK))) { in xfs_dir2_node_to_leaf()
1823 if ((error = xfs_da_read_buf(tp, dp, mp->m_dirfreeblk, -1, &fbp, in xfs_dir2_node_to_leaf()
1839 xfs_da_brelse(tp, fbp); in xfs_dir2_node_to_leaf()
1849 xfs_dir2_leaf_log_header(tp, lbp); in xfs_dir2_node_to_leaf()
1861 xfs_dir2_leaf_log_bests(tp, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_node_to_leaf()
1862 xfs_dir2_leaf_log_tail(tp, lbp); in xfs_dir2_node_to_leaf()