xfs_mount_t *mp;
xfs_mount_t mbuf;
struct xlog xlog;
- xfs_buf_t *sbp;
+ struct xfs_buf *sbp;
xfs_sb_t *sb;
xfs_agnumber_t num_ags, agno;
xfs_agblock_t bno;
int risfile; /* realtime "subvolume" is a reg file */
int rcreat; /* try to create realtime subvolume */
int setblksize; /* attempt to set device blksize */
- int usebuflock; /* lock xfs_buf_t's - for MT usage */
+ int usebuflock; /* lock xfs_buf's - for MT usage */
/* output results */
dev_t ddev; /* device for data subvolume */
dev_t logdev; /* device for log subvolume */
int);
extern struct xfs_buf *xlog_get_bp(struct xlog *, int);
extern int xlog_bread(struct xlog *log, xfs_daddr_t blk_no, int nbblks,
- xfs_buf_t *bp, char **offset);
+ struct xfs_buf *bp, char **offset);
extern int xlog_bread_noalign(struct xlog *log, xfs_daddr_t blk_no,
- int nbblks, xfs_buf_t *bp);
+ int nbblks, struct xfs_buf *bp);
extern int xlog_find_zeroed(struct xlog *log, xfs_daddr_t *blk_no);
-extern int xlog_find_cycle_start(struct xlog *log, xfs_buf_t *bp,
+extern int xlog_find_cycle_start(struct xlog *log, struct xfs_buf *bp,
xfs_daddr_t first_blk, xfs_daddr_t *last_blk,
uint cycle);
extern int xlog_find_tail(struct xlog *log, xfs_daddr_t *head_blk,
struct cache *libxfs_bcache; /* global buffer cache */
int libxfs_bhash_size; /* #buckets in bcache */
-int use_xfs_buf_lock; /* global flag: use xfs_buf_t locks for MT */
+int use_xfs_buf_lock; /* global flag: use xfs_buf locks for MT */
/*
* dev_map - map open devices to fd.
xfs_failaddr_t (*verify_struct)(struct xfs_buf *);
};
-typedef struct xfs_buf {
+struct xfs_buf {
struct cache_node b_node;
unsigned int b_flags;
xfs_daddr_t b_bn;
struct xfs_buf_map __b_map;
int b_nmaps;
struct list_head b_list;
-} xfs_buf_t;
+};
bool xfs_verify_magic(struct xfs_buf *bp, __be32 dmagic);
bool xfs_verify_magic16(struct xfs_buf *bp, __be16 dmagic);
/* Buffer (Raw) Interfaces */
int libxfs_bwrite(struct xfs_buf *bp);
-extern int libxfs_readbufr(struct xfs_buftarg *, xfs_daddr_t, xfs_buf_t *, int, int);
+extern int libxfs_readbufr(struct xfs_buftarg *, xfs_daddr_t, struct xfs_buf *, int, int);
extern int libxfs_readbufr_map(struct xfs_buftarg *, struct xfs_buf *, int);
extern int libxfs_device_zero(struct xfs_buftarg *, xfs_daddr_t, uint);
xfs_rtblock_t start, xfs_extlen_t len, int val);
int xfs_rtmodify_summary_int(struct xfs_mount *mp, struct xfs_trans *tp,
int log, xfs_rtblock_t bbno, int delta,
- xfs_buf_t **rbpp, xfs_fsblock_t *rsb,
+ struct xfs_buf **rbpp, xfs_fsblock_t *rsb,
xfs_suminfo_t *sum);
int xfs_rtmodify_summary(struct xfs_mount *mp, struct xfs_trans *tp, int log,
- xfs_rtblock_t bbno, int delta, xfs_buf_t **rbpp,
+ xfs_rtblock_t bbno, int delta, struct xfs_buf **rbpp,
xfs_fsblock_t *rsb);
int xfs_rtfree_range(struct xfs_mount *mp, struct xfs_trans *tp,
xfs_rtblock_t start, xfs_extlen_t len,
* Check to see if a buffer matching the given parameters is already
* a part of the given transaction.
*/
-xfs_buf_t *
+struct xfs_buf *
xfs_trans_buf_item_match(
xfs_trans_t *tp,
struct xfs_buftarg *btp,
*/
void
xfs_buf_item_init(
- xfs_buf_t *bp,
+ struct xfs_buf *bp,
xfs_mount_t *mp)
{
xfs_log_item_t *lip;
}
static void
-__initbuf(xfs_buf_t *bp, struct xfs_buftarg *btp, xfs_daddr_t bno,
+__initbuf(struct xfs_buf *bp, struct xfs_buftarg *btp, xfs_daddr_t bno,
unsigned int bytes)
{
bp->b_flags = 0;
}
static void
-libxfs_initbuf(xfs_buf_t *bp, struct xfs_buftarg *btp, xfs_daddr_t bno,
+libxfs_initbuf(struct xfs_buf *bp, struct xfs_buftarg *btp, xfs_daddr_t bno,
unsigned int bytes)
{
__initbuf(bp, btp, bno, bytes);
}
static void
-libxfs_initbuf_map(xfs_buf_t *bp, struct xfs_buftarg *btp,
+libxfs_initbuf_map(struct xfs_buf *bp, struct xfs_buftarg *btp,
struct xfs_buf_map *map, int nmaps)
{
unsigned int bytes = 0;
bp->b_flags |= LIBXFS_B_DISCONTIG;
}
-static xfs_buf_t *
+static struct xfs_buf *
__libxfs_getbufr(int blen)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
/*
* first look for a buffer that can be used as-is,
}
if (&bp->b_node.cn_mru == &xfs_buf_freelist.cm_list) {
bp = list_entry(xfs_buf_freelist.cm_list.next,
- xfs_buf_t, b_node.cn_mru);
+ struct xfs_buf, b_node.cn_mru);
list_del_init(&bp->b_node.cn_mru);
free(bp->b_addr);
bp->b_addr = NULL;
return bp;
}
-static xfs_buf_t *
+static struct xfs_buf *
libxfs_getbufr(struct xfs_buftarg *btp, xfs_daddr_t blkno, int bblen)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
int blen = BBTOB(bblen);
bp =__libxfs_getbufr(blen);
return bp;
}
-static xfs_buf_t *
+static struct xfs_buf *
libxfs_getbufr_map(struct xfs_buftarg *btp, xfs_daddr_t blkno, int bblen,
struct xfs_buf_map *map, int nmaps)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
int blen = BBTOB(bblen);
if (!map || !nmaps) {
}
int
-libxfs_readbufr(struct xfs_buftarg *btp, xfs_daddr_t blkno, xfs_buf_t *bp,
+libxfs_readbufr(struct xfs_buftarg *btp, xfs_daddr_t blkno, struct xfs_buf *bp,
int len, int flags)
{
int fd = libxfs_device_to_fd(btp->bt_bdev);
struct cache *cache,
struct list_head *list)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
int count = 0;
if (list_empty(list))
libxfs_bcache_free(void)
{
struct list_head *cm_list;
- xfs_buf_t *bp, *next;
+ struct xfs_buf *bp, *next;
cm_list = &xfs_buf_freelist.cm_list;
list_for_each_entry_safe(bp, next, cm_list, b_node.cn_mru) {
void
libxfs_trans_bhold_release(
xfs_trans_t *tp,
- xfs_buf_t *bp)
+ struct xfs_buf *bp)
{
struct xfs_buf_log_item *bip = bp->b_log_item;
return 0;
}
-xfs_buf_t *
+struct xfs_buf *
libxfs_trans_getsb(
struct xfs_trans *tp)
{
void
libxfs_trans_bhold(
xfs_trans_t *tp,
- xfs_buf_t *bp)
+ struct xfs_buf *bp)
{
struct xfs_buf_log_item *bip = bp->b_log_item;
void
libxfs_trans_binval(
xfs_trans_t *tp,
- xfs_buf_t *bp)
+ struct xfs_buf *bp)
{
struct xfs_buf_log_item *bip = bp->b_log_item;
void
libxfs_trans_inode_alloc_buf(
xfs_trans_t *tp,
- xfs_buf_t *bp)
+ struct xfs_buf *bp)
{
struct xfs_buf_log_item *bip = bp->b_log_item;
inode_item_done(
struct xfs_inode_log_item *iip)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
int error;
ASSERT(iip->ili_inode != NULL);
buf_item_done(
xfs_buf_log_item_t *bip)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
int hold;
extern kmem_zone_t *xfs_buf_item_zone;
buf_item_unlock(
xfs_buf_log_item_t *bip)
{
- xfs_buf_t *bp = bip->bli_buf;
+ struct xfs_buf *bp = bip->bli_buf;
uint hold;
/* Clear the buffer's association with this transaction. */
int
libxfs_iflush_int(
xfs_inode_t *ip,
- xfs_buf_t *bp)
+ struct xfs_buf *bp)
{
struct xfs_inode_log_item *iip;
xfs_dinode_t *dip;
xfs_mount_t *mp, /* mount point structure */
xfs_trans_t *tp, /* transaction pointer */
xfs_agnumber_t agno, /* allocation group number */
- xfs_buf_t **bpp) /* buffer for the ag free block array */
+ struct xfs_buf **bpp) /* buffer for the ag free block array */
{
- xfs_buf_t *bp; /* return value */
+ struct xfs_buf *bp; /* return value */
int error;
ASSERT(agno != NULLAGNUMBER);
int /* error */
xfs_alloc_get_freelist(
xfs_trans_t *tp, /* transaction pointer */
- xfs_buf_t *agbp, /* buffer containing the agf structure */
+ struct xfs_buf *agbp, /* buffer containing the agf structure */
xfs_agblock_t *bnop, /* block address retrieved from freelist */
int btreeblk) /* destination is a AGF btree */
{
struct xfs_agf *agf = agbp->b_addr;
- xfs_buf_t *agflbp;/* buffer for a.g. freelist structure */
+ struct xfs_buf *agflbp;/* buffer for a.g. freelist structure */
xfs_agblock_t bno; /* block number returned */
__be32 *agfl_bno;
int error;
void
xfs_alloc_log_agf(
xfs_trans_t *tp, /* transaction pointer */
- xfs_buf_t *bp, /* buffer for a.g. freelist header */
+ struct xfs_buf *bp, /* buffer for a.g. freelist header */
int fields) /* mask of fields to be logged (XFS_AGF_...) */
{
int first; /* first byte offset */
xfs_agnumber_t agno, /* allocation group number */
int flags) /* XFS_ALLOC_FLAGS_... */
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
int error;
error = xfs_alloc_read_agf(mp, tp, agno, flags, &bp);
int /* error */
xfs_alloc_put_freelist(
xfs_trans_t *tp, /* transaction pointer */
- xfs_buf_t *agbp, /* buffer for a.g. freelist header */
- xfs_buf_t *agflbp,/* buffer for a.g. free block array */
+ struct xfs_buf *agbp, /* buffer for a.g. freelist header */
+ struct xfs_buf *agflbp,/* buffer for a.g. free block array */
xfs_agblock_t bno, /* block being freed */
int btreeblk) /* block came from a AGF btree */
{
struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork);
struct xfs_btree_block *block; /* current btree block */
xfs_fsblock_t bno; /* block # of "block" */
- xfs_buf_t *bp; /* buffer for "block" */
+ struct xfs_buf *bp; /* buffer for "block" */
int error; /* error return value */
xfs_extnum_t i=0, j; /* index into the extents list */
int level; /* btree level, for checking */
struct xfs_btree_block *rblock = ifp->if_broot;
struct xfs_btree_block *cblock;/* child btree block */
xfs_fsblock_t cbno; /* child block number */
- xfs_buf_t *cbp; /* child block's buffer */
+ struct xfs_buf *cbp; /* child block's buffer */
int error; /* error return value */
__be64 *pp; /* ptr to block address */
struct xfs_owner_info oinfo;
int flags; /* logging flags returned */
struct xfs_ifork *ifp; /* inode fork pointer */
xfs_alloc_arg_t args; /* allocation arguments */
- xfs_buf_t *bp; /* buffer for extent block */
+ struct xfs_buf *bp; /* buffer for extent block */
struct xfs_bmbt_irec rec;
struct xfs_iext_cursor icur;
xfs_btree_cur_t *cur, /* input cursor */
xfs_btree_cur_t **ncur) /* output cursor */
{
- xfs_buf_t *bp; /* btree block's buffer pointer */
+ struct xfs_buf *bp; /* btree block's buffer pointer */
int error; /* error return value */
int i; /* level number of btree block */
xfs_mount_t *mp; /* mount structure for filesystem */
int level) /* level to change */
{
struct xfs_btree_block *block; /* generic btree block pointer */
- xfs_buf_t *bp; /* buffer containing block */
+ struct xfs_buf *bp; /* buffer containing block */
/*
* Get the block pointer for this level.
int level) /* level to change */
{
struct xfs_btree_block *block; /* generic btree block pointer */
- xfs_buf_t *bp; /* buffer containing block */
+ struct xfs_buf *bp; /* buffer containing block */
/*
* Get the block pointer for this level.
xfs_btree_setbuf(
xfs_btree_cur_t *cur, /* btree cursor */
int lev, /* level in btree */
- xfs_buf_t *bp) /* new buffer to set */
+ struct xfs_buf *bp) /* new buffer to set */
{
struct xfs_btree_block *b; /* btree block */
int *stat) /* success/failure */
{
struct xfs_btree_block *block;
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
int error; /* error return value */
int lev;
union xfs_btree_ptr ptr;
void
xfs_ialloc_log_agi(
xfs_trans_t *tp, /* transaction pointer */
- xfs_buf_t *bp, /* allocation group header buffer */
+ struct xfs_buf *bp, /* allocation group header buffer */
int fields) /* bitmask of fields to log */
{
int first; /* first byte number */
xfs_trans_t *tp, /* transaction pointer */
xfs_agnumber_t agno) /* allocation group number */
{
- xfs_buf_t *bp = NULL;
+ struct xfs_buf *bp = NULL;
int error;
error = xfs_ialloc_read_agi(mp, tp, agno, &bp);
xfs_trans_t *tp, /* transaction pointer */
xfs_rtblock_t block, /* block number in bitmap or summary */
int issum, /* is summary not bitmap */
- xfs_buf_t **bpp) /* output: buffer for the block */
+ struct xfs_buf **bpp) /* output: buffer for the block */
{
- xfs_buf_t *bp; /* block buffer, result */
+ struct xfs_buf *bp; /* block buffer, result */
xfs_inode_t *ip; /* bitmap or summary inode */
xfs_bmbt_irec_t map;
int nmap = 1;
xfs_rtword_t *b; /* current word in buffer */
int bit; /* bit number in the word */
xfs_rtblock_t block; /* bitmap block number */
- xfs_buf_t *bp; /* buf for the block */
+ struct xfs_buf *bp; /* buf for the block */
xfs_rtword_t *bufp; /* starting word in buffer */
int error; /* error value */
xfs_rtblock_t firstbit; /* first useful bit in the word */
xfs_rtword_t *b; /* current word in buffer */
int bit; /* bit number in the word */
xfs_rtblock_t block; /* bitmap block number */
- xfs_buf_t *bp; /* buf for the block */
+ struct xfs_buf *bp; /* buf for the block */
xfs_rtword_t *bufp; /* starting word in buffer */
int error; /* error value */
xfs_rtblock_t i; /* current bit number rel. to start */
int log, /* log2 of extent size */
xfs_rtblock_t bbno, /* bitmap block number */
int delta, /* change to make to summary info */
- xfs_buf_t **rbpp, /* in/out: summary block buffer */
+ struct xfs_buf **rbpp, /* in/out: summary block buffer */
xfs_fsblock_t *rsb, /* in/out: summary block number */
xfs_suminfo_t *sum) /* out: summary info for this block */
{
- xfs_buf_t *bp; /* buffer for the summary block */
+ struct xfs_buf *bp; /* buffer for the summary block */
int error; /* error value */
xfs_fsblock_t sb; /* summary fsblock */
int so; /* index into the summary file */
int log, /* log2 of extent size */
xfs_rtblock_t bbno, /* bitmap block number */
int delta, /* change to make to summary info */
- xfs_buf_t **rbpp, /* in/out: summary block buffer */
+ struct xfs_buf **rbpp, /* in/out: summary block buffer */
xfs_fsblock_t *rsb) /* in/out: summary block number */
{
return xfs_rtmodify_summary_int(mp, tp, log, bbno,
xfs_rtword_t *b; /* current word in buffer */
int bit; /* bit number in the word */
xfs_rtblock_t block; /* bitmap block number */
- xfs_buf_t *bp; /* buf for the block */
+ struct xfs_buf *bp; /* buf for the block */
xfs_rtword_t *bufp; /* starting word in buffer */
int error; /* error value */
xfs_rtword_t *first; /* first used word in the buffer */
xfs_trans_t *tp, /* transaction pointer */
xfs_rtblock_t start, /* starting block to free */
xfs_extlen_t len, /* length to free */
- xfs_buf_t **rbpp, /* in/out: summary block buffer */
+ struct xfs_buf **rbpp, /* in/out: summary block buffer */
xfs_fsblock_t *rsb) /* in/out: summary block number */
{
xfs_rtblock_t end; /* end of the freed extent */
xfs_rtword_t *b; /* current word in buffer */
int bit; /* bit number in the word */
xfs_rtblock_t block; /* bitmap block number */
- xfs_buf_t *bp; /* buf for the block */
+ struct xfs_buf *bp; /* buf for the block */
xfs_rtword_t *bufp; /* starting word in buffer */
int error; /* error value */
xfs_rtblock_t i; /* current bit number rel. to start */
int error; /* error value */
xfs_mount_t *mp; /* file system mount structure */
xfs_fsblock_t sb; /* summary file block number */
- xfs_buf_t *sumbp = NULL; /* summary file block buffer */
+ struct xfs_buf *sumbp = NULL; /* summary file block buffer */
mp = tp->t_mountp;
{
xfs_daddr_t i, j;
uint cycle;
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
int bufblks;
char *buf = NULL;
int error = 0;
int extra_bblks)
{
xfs_daddr_t i;
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
char *offset = NULL;
xlog_rec_header_t *head = NULL;
int error = 0;
struct xlog *log,
xfs_daddr_t *return_head_blk)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
char *offset;
xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk;
int num_scan_bblks;
xlog_rec_header_t *rhead;
xlog_op_header_t *op_head;
char *offset = NULL;
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
int error, i, found;
xfs_daddr_t umount_data_blk;
xfs_daddr_t after_umount_blk;
struct xlog *log,
xfs_daddr_t *blk_no)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
char *offset;
uint first_cycle, last_cycle;
xfs_daddr_t new_blk, last_blk, start_blk;
xlog_rec_header_t *rhead;
xfs_daddr_t blk_no;
char *offset;
- xfs_buf_t *hbp, *dbp;
+ struct xfs_buf *hbp, *dbp;
int error = 0, h_size;
int bblks, split_bblks;
int hblks, split_hblks, wrapped_hblks;
struct xlog *log,
xfs_daddr_t *last_blk)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
xfs_daddr_t first_blk;
uint first_half_cycle, last_half_cycle;
int error = 0;
char *buf,
int len)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
xfs_daddr_t d;
int error;
int flags;
char **argv)
{
xfs_agnumber_t agno;
- xfs_buf_t *buf;
+ struct xfs_buf *buf;
int c;
char *dfile = NULL;
char *logfile = NULL;
*/
int
-verify_set_agheader(xfs_mount_t *mp, xfs_buf_t *sbuf, xfs_sb_t *sb,
+verify_set_agheader(xfs_mount_t *mp, struct xfs_buf *sbuf, xfs_sb_t *sb,
xfs_agf_t *agf, xfs_agi_t *agi, xfs_agnumber_t i)
{
int rval = 0;
xfs_dablk_t blocknum, int valuelen, char* value)
{
xfs_fsblock_t bno;
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
int clearit = 0, i = 0, length = 0, amountdone = 0;
int hdrsize = 0;
int error;
{
int repair;
xfs_attr_leafblock_t *leaf;
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
xfs_ino_t ino;
xfs_fsblock_t dev_bno;
xfs_dablk_t da_bno;
#define _XR_DA_UTIL_H
struct da_level_state {
- xfs_buf_t *bp; /* block bp */
+ struct xfs_buf *bp; /* block bp */
xfs_dablk_t bno; /* file block number */
xfs_dahash_t hashval; /* last verified hashval */
int index; /* current index in block */
xfs_dinode_t *dino_p;
int i;
int cnt = 0;
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
int error;
/*
{
xfs_ino_t parent;
ino_tree_node_t *ino_rec;
- xfs_buf_t **bplist;
+ struct xfs_buf **bplist;
xfs_dinode_t *dino;
int icnt;
int status;
ino_rec = first_irec;
irec_offset = 0;
- bplist = malloc(cluster_count * sizeof(xfs_buf_t *));
+ bplist = malloc(cluster_count * sizeof(struct xfs_buf *));
if (bplist == NULL)
do_error(_("failed to allocate %zd bytes of memory\n"),
- cluster_count * sizeof(xfs_buf_t *));
+ cluster_count * sizeof(struct xfs_buf *));
for (bp_index = 0; bp_index < cluster_count; bp_index++) {
/*
/*
int level;
uint64_t prev_last_key;
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
xfs_bmbt_block_t *block;
*/
} bm_level_state_t;
static void
sync_sb(xfs_mount_t *mp)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
bp = libxfs_getsb(mp);
if (!bp)
static int
fill_rbmino(xfs_mount_t *mp)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
xfs_trans_t *tp;
xfs_inode_t *ip;
xfs_rtword_t *bmp;
static int
fill_rsumino(xfs_mount_t *mp)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
xfs_trans_t *tp;
xfs_inode_t *ip;
xfs_suminfo_t *smp;
static int pf_batch_bytes;
static int pf_batch_fsbs;
-static void pf_read_inode_dirs(prefetch_args_t *, xfs_buf_t *);
+static void pf_read_inode_dirs(prefetch_args_t *, struct xfs_buf *);
/*
* Buffer priorities for the libxfs cache
int isadir,
prefetch_args_t *args))
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
int rc;
int error;
static void
pf_read_inode_dirs(
prefetch_args_t *args,
- xfs_buf_t *bp)
+ struct xfs_buf *bp)
{
xfs_dinode_t *dino;
int icnt = 0;
pf_which_t which,
void *buf)
{
- xfs_buf_t *bplist[MAX_BUFS];
+ struct xfs_buf *bplist[MAX_BUFS];
unsigned int num;
off64_t first_off, last_off, next_off;
int len, size;
if (len > 0) {
/*
- * go through the xfs_buf_t list copying from the
- * read buffer into the xfs_buf_t's and release them.
+ * go through the struct xfs_buf list copying from the
+ * read buffer into the struct xfs_buf's and release them.
*/
for (i = 0; i < num; i++) {
int bmbno;
int end_bmbno;
xfs_fsblock_t bno;
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
xfs_rtblock_t extno;
int i;
int len;
blkmap_t *blkmap)
{
xfs_fsblock_t bno;
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
char *bytes;
int sumbno;
uint64_t magic,
const struct xfs_buf_ops *ops)
{
- xfs_buf_t *bp;
+ struct xfs_buf *bp;
int err;
int dirty = 0;
bool badcrc = false;
xfs_agf_t *agf,
struct aghdr_cnts *agcnts)
{
- xfs_buf_t *agflbuf;
+ struct xfs_buf *agflbuf;
xfs_agnumber_t agno;
struct agfl_state state;
int error;
xfs_mount_t *temp_mp;
xfs_mount_t *mp;
xfs_dsb_t *dsb;
- xfs_buf_t *sbp;
+ struct xfs_buf *sbp;
xfs_mount_t xfs_m;
struct xlog log = {0};
char *msgbuf;