Lines Matching refs:xfs_buf

21 struct xfs_buf;
122 void (*verify_read)(struct xfs_buf *);
123 void (*verify_write)(struct xfs_buf *);
124 xfs_failaddr_t (*verify_struct)(struct xfs_buf *bp);
127 typedef struct xfs_buf { struct
196 struct xfs_buf *xfs_buf_incore(struct xfs_buftarg *target, argument
201 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp);
203 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp,
214 struct xfs_buf **bpp) in xfs_buf_get()
227 struct xfs_buf **bpp, in xfs_buf_read()
248 struct xfs_buf **bpp);
250 size_t numblks, int flags, struct xfs_buf **bpp,
252 int _xfs_buf_read(struct xfs_buf *bp, xfs_buf_flags_t flags);
253 void xfs_buf_hold(struct xfs_buf *bp);
272 extern int xfs_bwrite(struct xfs_buf *bp);
274 extern void __xfs_buf_ioerror(struct xfs_buf *bp, int error,
277 extern void xfs_buf_ioerror_alert(struct xfs_buf *bp, xfs_failaddr_t fa);
278 void xfs_buf_ioend_fail(struct xfs_buf *);
279 void xfs_buf_zero(struct xfs_buf *bp, size_t boff, size_t bsize);
280 void __xfs_buf_mark_corrupt(struct xfs_buf *bp, xfs_failaddr_t fa);
284 extern void *xfs_buf_offset(struct xfs_buf *, size_t);
285 extern void xfs_buf_stale(struct xfs_buf *bp);
289 extern bool xfs_buf_delwri_queue(struct xfs_buf *, struct list_head *);
292 extern int xfs_buf_delwri_pushbuf(struct xfs_buf *, struct list_head *);
311 void xfs_buf_set_ref(struct xfs_buf *bp, int lru_ref);
318 static inline void xfs_buf_oneshot(struct xfs_buf *bp) in xfs_buf_oneshot()
325 static inline int xfs_buf_ispinned(struct xfs_buf *bp) in xfs_buf_ispinned()
331 xfs_buf_verify_cksum(struct xfs_buf *bp, unsigned long cksum_offset) in xfs_buf_verify_cksum()
338 xfs_buf_update_cksum(struct xfs_buf *bp, unsigned long cksum_offset) in xfs_buf_update_cksum()
362 int xfs_buf_reverify(struct xfs_buf *bp, const struct xfs_buf_ops *ops);
363 bool xfs_verify_magic(struct xfs_buf *bp, __be32 dmagic);
364 bool xfs_verify_magic16(struct xfs_buf *bp, __be16 dmagic);