• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/

Lines Matching defs:lbp

72 	xfs_dabuf_t		*lbp;		/* leaf block's buffer */
99 if ((error = xfs_dir2_leaf_init(args, ldb, &lbp, XFS_DIR2_LEAF1_MAGIC))) {
102 ASSERT(lbp != NULL);
103 leaf = lbp->data;
118 xfs_dir2_leaf_log_ents(tp, lbp, 0, be16_to_cpu(leaf->hdr.count) - 1);
148 xfs_dir2_leaf_check(dp, lbp);
150 xfs_dir2_leaf_log_bests(tp, lbp, 0, 0);
151 xfs_da_buf_done(lbp);
174 xfs_dabuf_t *lbp; /* leaf's buffer */
198 error = xfs_da_read_buf(tp, dp, mp->m_dirleafblk, -1, &lbp,
203 ASSERT(lbp != NULL);
210 index = xfs_dir2_leaf_search_hash(args, lbp);
211 leaf = lbp->data;
281 xfs_da_brelse(tp, lbp);
287 error = xfs_dir2_leaf_to_node(args, lbp);
288 xfs_da_buf_done(lbp);
306 xfs_da_brelse(tp, lbp);
314 xfs_da_brelse(tp, lbp);
324 xfs_dir2_leaf_compact_x1(lbp, &index, &lowstale, &highstale,
345 xfs_da_brelse(tp, lbp);
352 xfs_da_brelse(tp, lbp);
364 xfs_dir2_leaf_log_tail(tp, lbp);
365 xfs_dir2_leaf_log_bests(tp, lbp, 0, be32_to_cpu(ltp->bestcount) - 1);
371 xfs_dir2_leaf_log_bests(tp, lbp, use_block, use_block);
384 xfs_da_brelse(tp, lbp);
431 xfs_dir2_leaf_log_bests(tp, lbp, use_block, use_block);
538 xfs_dir2_leaf_log_header(tp, lbp);
539 xfs_dir2_leaf_log_ents(tp, lbp, lfloglow, lfloghigh);
540 xfs_dir2_leaf_check(dp, lbp);
541 xfs_da_buf_done(lbp);
1264 xfs_dabuf_t *lbp; /* leaf buffer */
1274 if ((error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp))) {
1279 xfs_dir2_leaf_check(dp, lbp);
1280 leaf = lbp->data;
1297 xfs_da_brelse(tp, lbp);
1320 xfs_dabuf_t *lbp; /* leaf buffer */
1335 error = xfs_da_read_buf(tp, dp, mp->m_dirleafblk, -1, &lbp,
1339 *lbpp = lbp;
1340 leaf = lbp->data;
1341 xfs_dir2_leaf_check(dp, lbp);
1345 index = xfs_dir2_leaf_search_hash(args, lbp);
1373 xfs_da_brelse(tp, lbp);
1415 xfs_da_brelse(tp, lbp);
1428 xfs_da_brelse(tp, lbp);
1448 xfs_dabuf_t *lbp; /* leaf buffer */
1463 if ((error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp))) {
1469 leaf = lbp->data;
1494 xfs_dir2_leaf_log_header(tp, lbp);
1496 xfs_dir2_leaf_log_ents(tp, lbp, index, index);
1511 xfs_dir2_leaf_log_bests(tp, lbp, db, db);
1531 xfs_dir2_leaf_check(dp, lbp);
1532 xfs_da_buf_done(lbp);
1555 xfs_dir2_leaf_log_tail(tp, lbp);
1556 xfs_dir2_leaf_log_bests(tp, lbp, 0, be32_to_cpu(ltp->bestcount) - 1);
1567 xfs_dir2_leaf_check(dp, lbp);
1571 return xfs_dir2_leaf_to_block(args, lbp, dbp);
1586 xfs_dabuf_t *lbp; /* leaf buffer */
1596 if ((error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp))) {
1600 leaf = lbp->data;
1619 xfs_dir2_leaf_check(dp, lbp);
1620 xfs_da_brelse(tp, lbp);
1625 * Return index in the leaf block (lbp) which is either the first
1632 xfs_dabuf_t *lbp) /* leaf buffer */
1642 leaf = lbp->data;
1685 xfs_dabuf_t *lbp, /* leaf buffer */
1719 leaf = lbp->data;
1738 xfs_dir2_leaf_log_tail(tp, lbp);
1739 xfs_dir2_leaf_log_bests(tp, lbp, 0, be32_to_cpu(ltp->bestcount) - 1);
1758 xfs_dabuf_t *lbp; /* buffer for leaf block */
1811 lbp = state->path.blk[0].bp;
1812 leaf = lbp->data;
1841 xfs_dir2_leaf_compact(args, lbp);
1843 xfs_dir2_leaf_log_header(tp, lbp);
1855 xfs_dir2_leaf_log_bests(tp, lbp, 0, be32_to_cpu(ltp->bestcount) - 1);
1856 xfs_dir2_leaf_log_tail(tp, lbp);
1857 xfs_dir2_leaf_check(dp, lbp);
1878 error = xfs_dir2_leaf_to_block(args, lbp, NULL);