Lines Matching refs:slpflag
120 static buf_t getnewbuf(int slpflag, int slptimeo, int *queue);
123 static errno_t buf_acquire_locked(buf_t bp, int flags, int slpflag, int slptimeo);
1038 buf_invalidateblks(vnode_t vp, int flags, int slpflag, int slptimeo)
1078 if ( (error = (int)buf_acquire_locked(bp, BAC_REMOVE | BAC_SKIP_LOCKED, slpflag, slptimeo)) ) {
1140 if ( (error = (int)buf_acquire_locked(bp, BAC_REMOVE | BAC_SKIP_LOCKED, slpflag, slptimeo)) ) {
2216 buf_getblk(vnode_t vp, daddr64_t blkno, int size, int slpflag, int slptimeo, int operation)
2260 err = msleep(bp, buf_mtxp, slpflag | PDROP | (PRIBIO + 1), "buf_getblk", &ts);
2266 if (err && ((slpflag & PCATCH) || ((err == EWOULDBLOCK) && slptimeo)))
2364 if ((bp = getnewbuf(slpflag, slptimeo, &queue)) == NULL)
2661 getnewbuf(int slpflag, int slptimeo, int * queue)
2754 msleep(&needbuffer, buf_mtxp, slpflag|(PRIBIO+1), "getnewbuf", &ts);
3027 buf_acquire(buf_t bp, int flags, int slpflag, int slptimeo) {
3032 error = buf_acquire_locked(bp, flags, slpflag, slptimeo);
3041 buf_acquire_locked(buf_t bp, int flags, int slpflag, int slptimeo)
3066 error = msleep((caddr_t)bp, buf_mtxp, slpflag | (PRIBIO + 1), "buf_acquire", &ts);