Lines Matching defs:bufqueue
106 struct bufqueue {
120 struct bufqueue *bd_subq;
121 struct bufqueue bd_dirtyq;
122 struct bufqueue *bd_cleanq;
195 static void bq_remove(struct bufqueue *bq, struct buf *bp);
196 static void bq_insert(struct bufqueue *bq, struct buf *bp, bool unlock);
198 static void bq_init(struct bufqueue *bq, int qindex, int cpu,
401 struct bufqueue __exclusive_cache_line bqempty;
1550 static struct bufqueue *
1551 bufqueue(struct buf *bp)
1568 panic("bufqueue(%p): Unhandled type %d\n", bp, bp->b_qindex);
1572 * Return the locked bufqueue that bp is a member of.
1574 static struct bufqueue *
1577 struct bufqueue *bq, *nbq;
1584 bq = bufqueue(bp);
1587 nbq = bufqueue(bp);
1607 struct bufqueue *bq;
1703 struct bufqueue *bq;
1796 * Free a buffer from the given bufqueue. kva controls whether the
1803 struct bufqueue *bq;
1918 struct bufqueue *bq;
1926 bq_init(struct bufqueue *bq, int qindex, int subqueue, const char *lockname)
1942 bd->bd_subq = mallocarray(mp_maxid + 2, sizeof(struct bufqueue),
1960 bq_remove(struct bufqueue *bq, struct buf *bp)
1967 KASSERT(bufqueue(bp) == bq,
1983 bd_flush(struct bufdomain *bd, struct bufqueue *bq)
2010 struct bufqueue *bq;
2031 bq_insert(struct bufqueue *bq, struct buf *bp, bool unlock)
2683 * buffer will be stashed in the appropriate bufqueue[] allowing it
3575 struct bufqueue *bq;