Lines Matching refs:lbp
394 struct xfs_buf *lbp; /* leaf block's buffer */
421 error = xfs_dir3_leaf_get_buf(args, ldb, &lbp, XFS_DIR2_LEAF1_MAGIC);
425 leaf = lbp->b_addr;
439 xfs_dir3_leaf_log_header(args, lbp);
447 xfs_dir3_leaf_log_ents(args, &leafhdr, lbp, 0, leafhdr.count - 1);
483 xfs_dir3_leaf_check(dp, lbp);
485 xfs_dir3_leaf_log_bests(args, lbp, 0, 0);
622 struct xfs_buf *lbp; /* leaf's buffer */
649 error = xfs_dir3_leaf_read(tp, dp, args->geo->leafblk, &lbp);
659 index = xfs_dir2_leaf_search_hash(args, lbp);
660 leaf = lbp->b_addr;
736 xfs_trans_brelse(tp, lbp);
742 error = xfs_dir2_leaf_to_node(args, lbp);
760 xfs_trans_brelse(tp, lbp);
768 xfs_trans_brelse(tp, lbp);
799 xfs_trans_brelse(tp, lbp);
806 xfs_trans_brelse(tp, lbp);
818 xfs_dir3_leaf_log_tail(args, lbp);
819 xfs_dir3_leaf_log_bests(args, lbp, 0,
826 xfs_dir3_leaf_log_bests(args, lbp, use_block, use_block);
840 xfs_trans_brelse(tp, lbp);
860 xfs_trans_brelse(tp, lbp);
891 xfs_dir3_leaf_log_bests(args, lbp, use_block, use_block);
908 xfs_dir3_leaf_log_header(args, lbp);
909 xfs_dir3_leaf_log_ents(args, &leafhdr, lbp, lfloglow, lfloghigh);
910 xfs_dir3_leaf_check(dp, lbp);
1167 struct xfs_buf *lbp; /* leaf buffer */
1177 error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr);
1183 xfs_dir3_leaf_check(dp, lbp);
1203 xfs_trans_brelse(tp, lbp);
1227 struct xfs_buf *lbp; /* leaf buffer */
1240 error = xfs_dir3_leaf_read(tp, dp, args->geo->leafblk, &lbp);
1244 *lbpp = lbp;
1245 leaf = lbp->b_addr;
1246 xfs_dir3_leaf_check(dp, lbp);
1252 index = xfs_dir2_leaf_search_hash(args, lbp);
1282 xfs_trans_brelse(tp, lbp);
1324 xfs_trans_brelse(tp, lbp);
1337 xfs_trans_brelse(tp, lbp);
1358 struct xfs_buf *lbp; /* leaf buffer */
1373 error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr);
1378 leaf = lbp->b_addr;
1395 xfs_buf_mark_corrupt(lbp);
1410 xfs_dir3_leaf_log_header(args, lbp);
1413 xfs_dir3_leaf_log_ents(args, &leafhdr, lbp, index, index);
1429 xfs_dir3_leaf_log_bests(args, lbp, db, db);
1447 xfs_dir3_leaf_check(dp, lbp);
1470 xfs_dir3_leaf_log_tail(args, lbp);
1471 xfs_dir3_leaf_log_bests(args, lbp, 0,
1482 xfs_dir3_leaf_check(dp, lbp);
1486 return xfs_dir2_leaf_to_block(args, lbp, dbp);
1501 struct xfs_buf *lbp; /* leaf buffer */
1511 error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr);
1534 xfs_dir3_leaf_check(dp, lbp);
1535 xfs_trans_brelse(tp, lbp);
1540 * Return index in the leaf block (lbp) which is either the first
1547 struct xfs_buf *lbp) /* leaf buffer */
1557 xfs_dir2_leaf_hdr_from_disk(args->dp->i_mount, &leafhdr, lbp->b_addr);
1597 struct xfs_buf *lbp, /* leaf buffer */
1618 leaf = lbp->b_addr;
1649 xfs_dir3_leaf_log_tail(args, lbp);
1650 xfs_dir3_leaf_log_bests(args, lbp, 0, be32_to_cpu(ltp->bestcount) - 1);
1688 struct xfs_buf *lbp; /* buffer for leaf block */
1743 lbp = state->path.blk[0].bp;
1744 leaf = lbp->b_addr;
1773 xfs_dir3_leaf_compact(args, &leafhdr, lbp);
1775 lbp->b_ops = &xfs_dir3_leaf1_buf_ops;
1776 xfs_trans_buf_set_type(tp, lbp, XFS_BLFT_DIR_LEAF1_BUF);
1794 xfs_dir3_leaf_log_header(args, lbp);
1795 xfs_dir3_leaf_log_bests(args, lbp, 0, be32_to_cpu(ltp->bestcount) - 1);
1796 xfs_dir3_leaf_log_tail(args, lbp);
1797 xfs_dir3_leaf_check(dp, lbp);
1821 error = xfs_dir2_leaf_to_block(args, lbp, NULL);