Lines Matching full:dbp

385 	struct xfs_buf		*dbp)		/* input block's buffer */  in xfs_dir2_block_to_leaf()  argument
426 hdr = dbp->b_addr; in xfs_dir2_block_to_leaf()
427 xfs_dir3_data_check(dp, dbp); in xfs_dir2_block_to_leaf()
454 xfs_dir2_data_make_free(args, dbp, in xfs_dir2_block_to_leaf()
462 dbp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir2_block_to_leaf()
463 xfs_trans_buf_set_type(tp, dbp, XFS_BLFT_DIR_DATA_BUF); in xfs_dir2_block_to_leaf()
482 xfs_dir2_data_log_header(args, dbp); in xfs_dir2_block_to_leaf()
484 xfs_dir3_data_check(dp, dbp); in xfs_dir2_block_to_leaf()
621 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_leaf_addname() local
805 if ((error = xfs_dir3_data_init(args, use_block, &dbp))) { in xfs_dir2_leaf_addname()
827 hdr = dbp->b_addr; in xfs_dir2_leaf_addname()
838 0, &dbp); in xfs_dir2_leaf_addname()
843 hdr = dbp->b_addr; in xfs_dir2_leaf_addname()
856 error = xfs_dir2_data_use_free(args, dbp, dup, in xfs_dir2_leaf_addname()
882 xfs_dir2_data_log_header(args, dbp); in xfs_dir2_leaf_addname()
883 xfs_dir2_data_log_entry(args, dbp, dep); in xfs_dir2_leaf_addname()
911 xfs_dir3_data_check(dp, dbp); in xfs_dir2_leaf_addname()
1162 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_leaf_lookup() local
1177 error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr); in xfs_dir2_leaf_lookup()
1194 ((char *)dbp->b_addr + in xfs_dir2_leaf_lookup()
1202 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup()
1222 struct xfs_buf *dbp = NULL; /* data buffer */ in xfs_dir2_leaf_lookup_int() local
1276 if (dbp) in xfs_dir2_leaf_lookup_int()
1277 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1280 0, &dbp); in xfs_dir2_leaf_lookup_int()
1290 dep = (xfs_dir2_data_entry_t *)((char *)dbp->b_addr + in xfs_dir2_leaf_lookup_int()
1304 *dbpp = dbp; in xfs_dir2_leaf_lookup_int()
1319 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1322 0, &dbp); in xfs_dir2_leaf_lookup_int()
1328 *dbpp = dbp; in xfs_dir2_leaf_lookup_int()
1335 if (dbp) in xfs_dir2_leaf_lookup_int()
1336 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1352 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_leaf_removename() local
1373 error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr); in xfs_dir2_leaf_removename()
1379 hdr = dbp->b_addr; in xfs_dir2_leaf_removename()
1380 xfs_dir3_data_check(dp, dbp); in xfs_dir2_leaf_removename()
1401 xfs_dir2_data_make_free(args, dbp, in xfs_dir2_leaf_removename()
1422 xfs_dir2_data_log_header(args, dbp); in xfs_dir2_leaf_removename()
1431 xfs_dir3_data_check(dp, dbp); in xfs_dir2_leaf_removename()
1438 if ((error = xfs_dir2_shrink_inode(args, db, dbp))) { in xfs_dir2_leaf_removename()
1450 dbp = NULL; in xfs_dir2_leaf_removename()
1480 dbp = NULL; in xfs_dir2_leaf_removename()
1486 return xfs_dir2_leaf_to_block(args, lbp, dbp); in xfs_dir2_leaf_removename()
1496 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_leaf_replace() local
1511 error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr); in xfs_dir2_leaf_replace()
1524 ((char *)dbp->b_addr + in xfs_dir2_leaf_replace()
1533 xfs_dir2_data_log_entry(args, dbp, dep); in xfs_dir2_leaf_replace()
1602 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_leaf_trim_data() local
1614 error = xfs_dir3_data_read(tp, dp, xfs_dir2_db_to_da(geo, db), 0, &dbp); in xfs_dir2_leaf_trim_data()
1623 struct xfs_dir2_data_hdr *hdr = dbp->b_addr; in xfs_dir2_leaf_trim_data()
1638 if ((error = xfs_dir2_shrink_inode(args, db, dbp))) { in xfs_dir2_leaf_trim_data()
1640 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_trim_data()