/fs/xfs/libxfs/ |
D | xfs_dir2_leaf.c | 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() [all …]
|
D | xfs_dir2_node.c | 1271 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_leafn_remove() local 1319 dbp = dblk->bp; in xfs_dir2_leafn_remove() 1320 hdr = dbp->b_addr; in xfs_dir2_leafn_remove() 1325 xfs_dir2_data_make_free(args, dbp, off, in xfs_dir2_leafn_remove() 1335 xfs_dir2_data_log_header(args, dbp); in xfs_dir2_leafn_remove() 1336 xfs_dir3_data_check(dp, dbp); in xfs_dir2_leafn_remove() 1380 error = xfs_dir2_shrink_inode(args, db, dbp); in xfs_dir2_leafn_remove() 1692 struct xfs_buf *dbp; in xfs_dir2_node_add_datablk() local 1703 error = xfs_dir3_data_init(args, *dbno, &dbp); in xfs_dir2_node_add_datablk() 1780 bf = xfs_dir2_data_bestfree_p(mp, dbp->b_addr); in xfs_dir2_node_add_datablk() [all …]
|
D | xfs_dir2_block.c | 925 struct xfs_buf *dbp) /* data buffer */ in xfs_dir2_leaf_to_block() argument 981 if (!dbp) { in xfs_dir2_leaf_to_block() 982 error = xfs_dir3_data_read(tp, dp, args->geo->datablk, 0, &dbp); in xfs_dir2_leaf_to_block() 986 hdr = dbp->b_addr; in xfs_dir2_leaf_to_block() 1010 xfs_dir3_block_init(mp, tp, dbp, dp); in xfs_dir2_leaf_to_block() 1017 error = xfs_dir2_data_use_free(args, dbp, dup, in xfs_dir2_leaf_to_block() 1027 xfs_dir2_block_log_tail(tp, dbp); in xfs_dir2_leaf_to_block() 1039 xfs_dir2_block_log_leaf(tp, dbp, 0, be32_to_cpu(btp->count) - 1); in xfs_dir2_leaf_to_block() 1046 xfs_dir2_data_log_header(args, dbp); in xfs_dir2_leaf_to_block() 1061 return xfs_dir2_block_to_sf(args, dbp, size, &sfh); in xfs_dir2_leaf_to_block()
|
D | xfs_dir2_priv.h | 47 xfs_dir2_db_t *dbp); 60 struct xfs_buf *lbp, struct xfs_buf *dbp); 102 struct xfs_buf *dbp);
|
D | xfs_dir2.c | 571 xfs_dir2_db_t *dbp) /* out: block number added */ in xfs_dir2_grow_inode() argument 591 *dbp = xfs_dir2_da_to_db(args->geo, (xfs_dablk_t)bno); in xfs_dir2_grow_inode()
|
/fs/xfs/scrub/ |
D | dir.c | 433 struct xfs_buf *dbp, in xchk_directory_check_freesp() argument 438 dfp = xfs_dir2_data_bestfree_p(sc->mp, dbp->b_addr); in xchk_directory_check_freesp() 458 struct xfs_buf *dbp; in xchk_directory_leaf1_bestfree() local 535 &dbp); in xchk_directory_leaf1_bestfree() 540 if (!dbp) { in xchk_directory_leaf1_bestfree() 552 xchk_directory_check_freesp(sc, lblk, dbp, best); in xchk_directory_leaf1_bestfree() 553 xfs_trans_brelse(sc->tp, dbp); in xchk_directory_leaf1_bestfree() 570 struct xfs_buf *dbp; in xchk_directory_free_bestfree() local 600 0, &dbp); in xchk_directory_free_bestfree() 604 xchk_directory_check_freesp(sc, lblk, dbp, best); in xchk_directory_free_bestfree() [all …]
|
/fs/freevxfs/ |
D | vxfs_lookup.c | 81 struct vxfs_dirblk *dbp = in vxfs_find_entry() local 84 int overhead = VXFS_DIRBLKOV(sbi, dbp); in vxfs_find_entry() 232 struct vxfs_dirblk *dbp = in vxfs_readdir() local 235 int overhead = VXFS_DIRBLKOV(sbi, dbp); in vxfs_readdir()
|
D | vxfs_dir.h | 65 #define VXFS_DIRBLKOV(sbi, dbp) \ argument 66 ((sizeof(short) * fs16_to_cpu(sbi, dbp->d_nhash)) + 4)
|
/fs/xfs/ |
D | xfs_log_recover.c | 2964 char *hbp, *dbp; in xlog_do_recovery_pass() local 3046 dbp = xlog_alloc_buffer(log, BTOBB(h_size)); in xlog_do_recovery_pass() 3047 if (!dbp) { in xlog_do_recovery_pass() 3124 error = xlog_bread(log, rblk_no, bblks, dbp, in xlog_do_recovery_pass() 3131 offset = dbp; in xlog_do_recovery_pass() 3142 split_bblks, dbp, in xlog_do_recovery_pass() 3194 error = xlog_bread(log, blk_no+hblks, bblks, dbp, in xlog_do_recovery_pass() 3209 kmem_free(dbp); in xlog_do_recovery_pass()
|