Lines Matching defs:xfs_buf

23 struct xfs_buf;
141 void (*verify_read)(struct xfs_buf *);
142 void (*verify_write)(struct xfs_buf *);
143 xfs_failaddr_t (*verify_struct)(struct xfs_buf *bp);
146 struct xfs_buf {
219 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp);
221 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp,
233 struct xfs_buf **bpp)
245 struct xfs_buf **bpp)
258 struct xfs_buf **bpp,
279 xfs_buf_flags_t flags, struct xfs_buf **bpp);
281 size_t numblks, xfs_buf_flags_t flags, struct xfs_buf **bpp,
283 int _xfs_buf_read(struct xfs_buf *bp, xfs_buf_flags_t flags);
284 void xfs_buf_hold(struct xfs_buf *bp);
287 extern void xfs_buf_rele(struct xfs_buf *);
290 extern int xfs_buf_trylock(struct xfs_buf *);
291 extern void xfs_buf_lock(struct xfs_buf *);
292 extern void xfs_buf_unlock(struct xfs_buf *);
296 static inline void xfs_buf_relse(struct xfs_buf *bp)
303 extern int xfs_bwrite(struct xfs_buf *bp);
305 extern void __xfs_buf_ioerror(struct xfs_buf *bp, int error,
308 extern void xfs_buf_ioerror_alert(struct xfs_buf *bp, xfs_failaddr_t fa);
309 void xfs_buf_ioend_fail(struct xfs_buf *);
310 void xfs_buf_zero(struct xfs_buf *bp, size_t boff, size_t bsize);
311 void __xfs_buf_mark_corrupt(struct xfs_buf *bp, xfs_failaddr_t fa);
315 extern void *xfs_buf_offset(struct xfs_buf *, size_t);
316 extern void xfs_buf_stale(struct xfs_buf *bp);
320 extern bool xfs_buf_delwri_queue(struct xfs_buf *, struct list_head *);
323 extern int xfs_buf_delwri_pushbuf(struct xfs_buf *, struct list_head *);
325 static inline xfs_daddr_t xfs_buf_daddr(struct xfs_buf *bp)
330 void xfs_buf_set_ref(struct xfs_buf *bp, int lru_ref);
337 static inline void xfs_buf_oneshot(struct xfs_buf *bp)
344 static inline int xfs_buf_ispinned(struct xfs_buf *bp)
350 xfs_buf_verify_cksum(struct xfs_buf *bp, unsigned long cksum_offset)
357 xfs_buf_update_cksum(struct xfs_buf *bp, unsigned long cksum_offset)
376 int xfs_buf_reverify(struct xfs_buf *bp, const struct xfs_buf_ops *ops);
377 bool xfs_verify_magic(struct xfs_buf *bp, __be32 dmagic);
378 bool xfs_verify_magic16(struct xfs_buf *bp, __be16 dmagic);