Lines Matching refs:lbp

385 	struct xfs_buf		*lbp;		/* leaf block's buffer */
412 error = xfs_dir3_leaf_get_buf(args, ldb, &lbp, XFS_DIR2_LEAF1_MAGIC);
416 leaf = lbp->b_addr;
430 xfs_dir3_leaf_log_header(args, lbp);
438 xfs_dir3_leaf_log_ents(args, &leafhdr, lbp, 0, leafhdr.count - 1);
474 xfs_dir3_leaf_check(dp, lbp);
476 xfs_dir3_leaf_log_bests(args, lbp, 0, 0);
613 struct xfs_buf *lbp; /* leaf's buffer */
640 error = xfs_dir3_leaf_read(tp, dp, args->geo->leafblk, &lbp);
650 index = xfs_dir2_leaf_search_hash(args, lbp);
651 leaf = lbp->b_addr;
727 xfs_trans_brelse(tp, lbp);
733 error = xfs_dir2_leaf_to_node(args, lbp);
751 xfs_trans_brelse(tp, lbp);
759 xfs_trans_brelse(tp, lbp);
790 xfs_trans_brelse(tp, lbp);
797 xfs_trans_brelse(tp, lbp);
809 xfs_dir3_leaf_log_tail(args, lbp);
810 xfs_dir3_leaf_log_bests(args, lbp, 0,
817 xfs_dir3_leaf_log_bests(args, lbp, use_block, use_block);
831 xfs_trans_brelse(tp, lbp);
851 xfs_trans_brelse(tp, lbp);
882 xfs_dir3_leaf_log_bests(args, lbp, use_block, use_block);
899 xfs_dir3_leaf_log_header(args, lbp);
900 xfs_dir3_leaf_log_ents(args, &leafhdr, lbp, lfloglow, lfloghigh);
901 xfs_dir3_leaf_check(dp, lbp);
1158 struct xfs_buf *lbp; /* leaf buffer */
1168 error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr);
1174 xfs_dir3_leaf_check(dp, lbp);
1194 xfs_trans_brelse(tp, lbp);
1218 struct xfs_buf *lbp; /* leaf buffer */
1231 error = xfs_dir3_leaf_read(tp, dp, args->geo->leafblk, &lbp);
1235 *lbpp = lbp;
1236 leaf = lbp->b_addr;
1237 xfs_dir3_leaf_check(dp, lbp);
1243 index = xfs_dir2_leaf_search_hash(args, lbp);
1273 xfs_trans_brelse(tp, lbp);
1315 xfs_trans_brelse(tp, lbp);
1328 xfs_trans_brelse(tp, lbp);
1349 struct xfs_buf *lbp; /* leaf buffer */
1364 error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr);
1369 leaf = lbp->b_addr;
1386 xfs_buf_mark_corrupt(lbp);
1401 xfs_dir3_leaf_log_header(args, lbp);
1404 xfs_dir3_leaf_log_ents(args, &leafhdr, lbp, index, index);
1420 xfs_dir3_leaf_log_bests(args, lbp, db, db);
1438 xfs_dir3_leaf_check(dp, lbp);
1461 xfs_dir3_leaf_log_tail(args, lbp);
1462 xfs_dir3_leaf_log_bests(args, lbp, 0,
1473 xfs_dir3_leaf_check(dp, lbp);
1477 return xfs_dir2_leaf_to_block(args, lbp, dbp);
1492 struct xfs_buf *lbp; /* leaf buffer */
1502 error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr);
1525 xfs_dir3_leaf_check(dp, lbp);
1526 xfs_trans_brelse(tp, lbp);
1531 * Return index in the leaf block (lbp) which is either the first
1538 struct xfs_buf *lbp) /* leaf buffer */
1548 xfs_dir2_leaf_hdr_from_disk(args->dp->i_mount, &leafhdr, lbp->b_addr);
1588 struct xfs_buf *lbp, /* leaf buffer */
1609 leaf = lbp->b_addr;
1640 xfs_dir3_leaf_log_tail(args, lbp);
1641 xfs_dir3_leaf_log_bests(args, lbp, 0, be32_to_cpu(ltp->bestcount) - 1);
1679 struct xfs_buf *lbp; /* buffer for leaf block */
1734 lbp = state->path.blk[0].bp;
1735 leaf = lbp->b_addr;
1764 xfs_dir3_leaf_compact(args, &leafhdr, lbp);
1766 lbp->b_ops = &xfs_dir3_leaf1_buf_ops;
1767 xfs_trans_buf_set_type(tp, lbp, XFS_BLFT_DIR_LEAF1_BUF);
1785 xfs_dir3_leaf_log_header(args, lbp);
1786 xfs_dir3_leaf_log_bests(args, lbp, 0, be32_to_cpu(ltp->bestcount) - 1);
1787 xfs_dir3_leaf_log_tail(args, lbp);
1788 xfs_dir3_leaf_check(dp, lbp);
1812 error = xfs_dir2_leaf_to_block(args, lbp, NULL);