Lines Matching refs:getnewbuf
124 static buf_t getnewbuf(int slpflag, int slptimeo, int *queue);
3032 if ((bp = getnewbuf(slpflag, slptimeo, &queue)) == NULL)
3036 * getnewbuf may block for a number of different reasons...
3199 bp = getnewbuf(0, 0, &queue);
3344 getnewbuf(int slpflag, int slptimeo, int * queue)
3438 msleep(&needbuffer, buf_mtxp, slpflag | PDROP | (PRIBIO+1), "getnewbuf", &ts);
3500 panic("getnewbuf: bp @ %p is LOCKED or BUSY! (flags 0x%x)\n", bp, bp->b_flags);
4152 * If getnewbuf() calls bcleanbuf() on the same thread
4592 * getnewbuf() by default will always select a buffer from the BQ_EMPTY.
4593 * getnewbuf() perfoms best if a buffer was found there.
4595 * from getnewbuf(). That's a performance win, too.
4600 * Simplify getnewbuf() logic by elimination of time aging code.