-/* $OpenBSD: buf.h,v 1.112 2019/11/29 01:04:08 beck Exp $ */
+/* $OpenBSD: buf.h,v 1.113 2022/09/01 05:24:51 jsg Exp $ */
/* $NetBSD: buf.h,v 1.25 1997/04/09 21:12:17 mycroft Exp $ */
/*
int buf_flip_high(struct buf *);
void buf_flip_dma(struct buf *);
struct buf *bufcache_getcleanbuf(int, int);
-struct buf *bufcache_getanycleanbuf(void);
struct buf *bufcache_getdirtybuf(void);
/*
*/
void buf_mem_init(vsize_t);
void buf_acquire(struct buf *);
-void buf_acquire_unmapped(struct buf *);
void buf_acquire_nomap(struct buf *);
void buf_map(struct buf *);
void buf_release(struct buf *);
void buf_replacevnode(struct buf *, struct vnode *);
int bread_cluster(struct vnode *, daddr_t, int, struct buf **);
-#ifdef DEBUG
-void buf_print(struct buf *);
-#endif
-
static __inline void
buf_start(struct buf *bp)
{
return (0);
}
-void cluster_write(struct buf *, struct cluster_info *, u_quad_t);
-
__END_DECLS
#endif /* _KERNEL */
#endif /* !_SYS_BUF_H_ */