Lines Matching full:dbp
436 struct xfs_buf *dbp) /* input block's buffer */ in xfs_dir2_block_to_leaf() argument
477 hdr = dbp->b_addr; in xfs_dir2_block_to_leaf()
478 xfs_dir3_data_check(dp, dbp); in xfs_dir2_block_to_leaf()
505 xfs_dir2_data_make_free(args, dbp, in xfs_dir2_block_to_leaf()
513 dbp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir2_block_to_leaf()
514 xfs_trans_buf_set_type(tp, dbp, XFS_BLFT_DIR_DATA_BUF); in xfs_dir2_block_to_leaf()
533 xfs_dir2_data_log_header(args, dbp); in xfs_dir2_block_to_leaf()
535 xfs_dir3_data_check(dp, dbp); in xfs_dir2_block_to_leaf()
672 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_leaf_addname() local
857 if ((error = xfs_dir3_data_init(args, use_block, &dbp))) { in xfs_dir2_leaf_addname()
879 hdr = dbp->b_addr; in xfs_dir2_leaf_addname()
890 &dbp); in xfs_dir2_leaf_addname()
895 hdr = dbp->b_addr; in xfs_dir2_leaf_addname()
908 error = xfs_dir2_data_use_free(args, dbp, dup, in xfs_dir2_leaf_addname()
934 xfs_dir2_data_log_header(args, dbp); in xfs_dir2_leaf_addname()
935 xfs_dir2_data_log_entry(args, dbp, dep); in xfs_dir2_leaf_addname()
963 xfs_dir3_data_check(dp, dbp); in xfs_dir2_leaf_addname()
1214 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_leaf_lookup() local
1229 error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr); in xfs_dir2_leaf_lookup()
1246 ((char *)dbp->b_addr + in xfs_dir2_leaf_lookup()
1254 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup()
1274 struct xfs_buf *dbp = NULL; /* data buffer */ in xfs_dir2_leaf_lookup_int() local
1329 if (dbp) in xfs_dir2_leaf_lookup_int()
1330 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1333 &dbp); in xfs_dir2_leaf_lookup_int()
1343 dep = (xfs_dir2_data_entry_t *)((char *)dbp->b_addr + in xfs_dir2_leaf_lookup_int()
1357 *dbpp = dbp; in xfs_dir2_leaf_lookup_int()
1372 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1375 &dbp); in xfs_dir2_leaf_lookup_int()
1381 *dbpp = dbp; in xfs_dir2_leaf_lookup_int()
1388 if (dbp) in xfs_dir2_leaf_lookup_int()
1389 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_lookup_int()
1405 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_leaf_removename() local
1426 error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr); in xfs_dir2_leaf_removename()
1432 hdr = dbp->b_addr; in xfs_dir2_leaf_removename()
1433 xfs_dir3_data_check(dp, dbp); in xfs_dir2_leaf_removename()
1456 xfs_dir2_data_make_free(args, dbp, in xfs_dir2_leaf_removename()
1477 xfs_dir2_data_log_header(args, dbp); in xfs_dir2_leaf_removename()
1486 xfs_dir3_data_check(dp, dbp); in xfs_dir2_leaf_removename()
1493 if ((error = xfs_dir2_shrink_inode(args, db, dbp))) { in xfs_dir2_leaf_removename()
1505 dbp = NULL; in xfs_dir2_leaf_removename()
1535 dbp = NULL; in xfs_dir2_leaf_removename()
1541 return xfs_dir2_leaf_to_block(args, lbp, dbp); in xfs_dir2_leaf_removename()
1551 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_leaf_replace() local
1566 error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr); in xfs_dir2_leaf_replace()
1579 ((char *)dbp->b_addr + in xfs_dir2_leaf_replace()
1588 xfs_dir2_data_log_entry(args, dbp, dep); in xfs_dir2_leaf_replace()
1657 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_leaf_trim_data() local
1670 xfs_dir2_db_to_da(geo, db), 0, &dbp); in xfs_dir2_leaf_trim_data()
1679 struct xfs_dir2_data_hdr *hdr = dbp->b_addr; in xfs_dir2_leaf_trim_data()
1694 if ((error = xfs_dir2_shrink_inode(args, db, dbp))) { in xfs_dir2_leaf_trim_data()
1696 xfs_trans_brelse(tp, dbp); in xfs_dir2_leaf_trim_data()