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