Lines Matching refs:buf

50 struct buf;
67 void (*io_start)(struct buf *);
68 void (*io_complete)(struct buf *);
69 void (*io_deallocate)(struct buf *);
70 int (*io_countdeps)(struct buf *, int);
99 struct buf { struct
109 void (*b_iodone)(struct buf *); argument
110 void (*b_ckhashcalc)(struct buf *); argument
114 TAILQ_ENTRY(buf) b_bobufs; /* (V) Buffer's associated vnode. */ argument
133 TAILQ_ENTRY(buf) b_freelist; /* (Q) */ argument
141 TAILQ_HEAD(cluster_list_head, buf) cluster_head; argument
142 TAILQ_ENTRY(buf) cluster_entry;
393 TAILQ_HEAD(buf_queue, buf) queue;
395 struct buf *insert_point;
396 struct buf *switch_point;
406 struct buf **bs_children; /* List of associated buffers. */
412 bwrite(struct buf *bp) in bwrite()
423 bstrategy(struct buf *bp) in bstrategy()
435 buf_start(struct buf *bp) in buf_start()
445 buf_complete(struct buf *bp) in buf_complete()
455 buf_deallocate(struct buf *bp) in buf_deallocate()
462 buf_countdeps(struct buf *bp, int i) in buf_countdeps()
471 buf_track(struct buf *bp __unused, const char *location __unused) in buf_track()
518 buf_mapped(struct buf *bp) in buf_mapped()
524 void runningbufwakeup(struct buf *);
529 void bdata2bio(struct buf *bp, struct bio *bip);
532 void bremfree(struct buf *);
533 void bremfreef(struct buf *); /* XXX Force bremfree, only for nfs. */
544 int, struct ucred *, int, void (*)(struct buf *), struct buf **);
545 void bdwrite(struct buf *);
546 void bawrite(struct buf *);
547 void babarrierwrite(struct buf *);
548 int bbarrierwrite(struct buf *);
549 void bdirty(struct buf *);
550 void bundirty(struct buf *);
551 void bufstrategy(struct bufobj *, struct buf *);
552 void brelse(struct buf *);
553 void bqrelse(struct buf *);
554 int vfs_bio_awrite(struct buf *);
555 void vfs_busy_pages_acquire(struct buf *bp);
556 void vfs_busy_pages_release(struct buf *bp);
557 struct buf *incore(struct bufobj *, daddr_t);
559 struct buf *gbincore(struct bufobj *, daddr_t);
560 struct buf *gbincore_unlocked(struct bufobj *, daddr_t);
561 struct buf *getblk(struct vnode *, daddr_t, int, int, int, int);
563 int slpflag, int slptimeo, int flags, struct buf **bpp);
564 struct buf *geteblk(int, int);
565 int bufwait(struct buf *);
566 int bufwrite(struct buf *);
567 void bufdone(struct buf *);
574 struct ucred *, long, int, int, struct buf **);
576 void cluster_write(struct vnode *, struct buf *, u_quad_t, int, int);
577 void vfs_bio_brelse(struct buf *bp, int ioflags);
578 void vfs_bio_bzero_buf(struct buf *bp, int base, int size);
579 void vfs_bio_clrbuf(struct buf *);
580 void vfs_bio_set_flags(struct buf *bp, int ioflags);
581 void vfs_bio_set_valid(struct buf *, int base, int size);
582 void vfs_busy_pages(struct buf *, int clear_modify);
583 void vfs_unbusy_pages(struct buf *);
584 int vmapbuf(struct buf *, void *, size_t, int);
585 void vunmapbuf(struct buf *);
586 void brelvp(struct buf *);
587 void bgetvp(struct vnode *, struct buf *);
588 void pbgetbo(struct bufobj *bo, struct buf *bp);
589 void pbgetvp(struct vnode *, struct buf *);
590 void pbrelbo(struct buf *);
591 void pbrelvp(struct buf *);
592 int allocbuf(struct buf *bp, int size);
593 void reassignbuf(struct buf *);
594 void bwait(struct buf *, u_char, const char *);
595 void bdone(struct buf *);