/fs/xfs/libxfs/ |
D | xfs_dir2_leaf.c | 377 struct xfs_buf *dbp) /* input block's buffer */ in xfs_dir2_block_to_leaf() argument 419 hdr = dbp->b_addr; in xfs_dir2_block_to_leaf() 420 xfs_dir3_data_check(dp, dbp); in xfs_dir2_block_to_leaf() 447 xfs_dir2_data_make_free(args, dbp, in xfs_dir2_block_to_leaf() 455 dbp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir2_block_to_leaf() 456 xfs_trans_buf_set_type(tp, dbp, XFS_BLFT_DIR_DATA_BUF); in xfs_dir2_block_to_leaf() 475 xfs_dir2_data_log_header(args, dbp); in xfs_dir2_block_to_leaf() 477 xfs_dir3_data_check(dp, dbp); in xfs_dir2_block_to_leaf() 613 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_leaf_addname() local 801 if ((error = xfs_dir3_data_init(args, use_block, &dbp))) { in xfs_dir2_leaf_addname() [all …]
|
D | xfs_dir2_priv.h | 26 xfs_dir2_db_t *dbp); 39 struct xfs_buf *lbp, struct xfs_buf *dbp); 65 struct xfs_buf *dbp);
|
D | xfs_dir2_block.c | 905 struct xfs_buf *dbp) /* data buffer */ in xfs_dir2_leaf_to_block() argument 963 if (!dbp) { in xfs_dir2_leaf_to_block() 964 error = xfs_dir3_data_read(tp, dp, args->geo->datablk, -1, &dbp); in xfs_dir2_leaf_to_block() 968 hdr = dbp->b_addr; in xfs_dir2_leaf_to_block() 992 xfs_dir3_block_init(mp, tp, dbp, dp); in xfs_dir2_leaf_to_block() 999 xfs_dir2_data_use_free(args, dbp, dup, args->geo->blksize - size, size, in xfs_dir2_leaf_to_block() 1007 xfs_dir2_block_log_tail(tp, dbp); in xfs_dir2_leaf_to_block() 1018 xfs_dir2_block_log_leaf(tp, dbp, 0, be32_to_cpu(btp->count) - 1); in xfs_dir2_leaf_to_block() 1025 xfs_dir2_data_log_header(args, dbp); in xfs_dir2_leaf_to_block() 1040 return xfs_dir2_block_to_sf(args, dbp, size, &sfh); in xfs_dir2_leaf_to_block()
|
D | xfs_dir2_node.c | 1209 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_leafn_remove() local 1259 dbp = dblk->bp; in xfs_dir2_leafn_remove() 1260 hdr = dbp->b_addr; in xfs_dir2_leafn_remove() 1265 xfs_dir2_data_make_free(args, dbp, off, in xfs_dir2_leafn_remove() 1274 xfs_dir2_data_log_header(args, dbp); in xfs_dir2_leafn_remove() 1275 xfs_dir3_data_check(dp, dbp); in xfs_dir2_leafn_remove() 1321 error = xfs_dir2_shrink_inode(args, db, dbp); in xfs_dir2_leafn_remove() 1695 struct xfs_buf *dbp; /* data block buffer */ in xfs_dir2_node_addname_int() local 1865 (error = xfs_dir3_data_init(args, dbno, &dbp)))) in xfs_dir2_node_addname_int() 1973 hdr = dbp->b_addr; in xfs_dir2_node_addname_int() [all …]
|
D | xfs_dir2.c | 591 xfs_dir2_db_t *dbp) /* out: block number added */ in xfs_dir2_grow_inode() argument 611 *dbp = xfs_dir2_da_to_db(args->geo, (xfs_dablk_t)bno); in xfs_dir2_grow_inode()
|
/fs/freevxfs/ |
D | vxfs_lookup.c | 105 struct vxfs_dirblk *dbp = in vxfs_find_entry() local 108 int overhead = VXFS_DIRBLKOV(sbi, dbp); in vxfs_find_entry() 260 struct vxfs_dirblk *dbp = in vxfs_readdir() local 263 int overhead = VXFS_DIRBLKOV(sbi, dbp); in vxfs_readdir()
|
D | vxfs_dir.h | 90 #define VXFS_DIRBLKOV(sbi, dbp) \ argument 91 ((sizeof(short) * fs16_to_cpu(sbi, dbp->d_nhash)) + 4)
|
/fs/xfs/ |
D | xfs_log_recover.c | 5252 xfs_buf_t *hbp, *dbp; in xlog_do_recovery_pass() local 5333 dbp = xlog_get_bp(log, BTOBB(h_size)); in xlog_do_recovery_pass() 5334 if (!dbp) { in xlog_do_recovery_pass() 5413 error = xlog_bread(log, rblk_no, bblks, dbp, in xlog_do_recovery_pass() 5420 offset = dbp->b_addr; in xlog_do_recovery_pass() 5431 split_bblks, dbp, in xlog_do_recovery_pass() 5450 bblks - split_bblks, dbp, in xlog_do_recovery_pass() 5483 error = xlog_bread(log, blk_no+hblks, bblks, dbp, in xlog_do_recovery_pass() 5498 xlog_put_bp(dbp); in xlog_do_recovery_pass()
|