Searched refs:slpflag (Results 1 - 8 of 8) sorted by relevance

/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_bio.c649 int slpflag = PCATCH; local
693 msleep(&np->n_bflag, nfs_buf_mutex, slpflag, "nfs_buf_get_invalwait", &ts);
700 slpflag = 0;
717 msleep(bp, nfs_buf_mutex, slpflag|(PRIBIO+1)|PDROP,
718 "nfsbufget", (slpflag == PCATCH) ? NULL : &ts);
719 slpflag = 0;
1332 nfs_buf_acquire(struct nfsbuf *bp, int flags, int slpflag, int slptimeo) argument
1351 error = msleep(bp, nfs_buf_mutex, slpflag | (PRIBIO + 1),
2238 int error = 0, slpflag = NMFLAG(nmp, INTR) ? PCATCH : 0; local
2247 msleep(&nmp->nm_asyncwrites, &nmp->nm_lock, slpflag|(PZER
3249 int error = 0, error2, slptimeo = 0, slpflag = 0; local
3457 nfs_vinvalbuf_internal( nfsnode_t np, int flags, thread_t thd, kauth_cred_t cred, int slpflag, int slptimeo) argument
3622 int error, slpflag, slptimeo, nflags, retry = 0; local
[all...]
H A Dnfs_gss.c420 int slpflag, recordmark = 0; local
430 slpflag = (PZERO-1);
432 slpflag |= (NMFLAG(req->r_nmp, INTR) && req->r_thread && !(req->r_flags & R_NOINTR)) ? PCATCH : 0;
481 msleep(cp, cp->gss_clnt_mtx, slpflag | PDROP, "ctxwait", NULL);
482 slpflag &= ~PCATCH;
503 msleep(cp, cp->gss_clnt_mtx, slpflag | PDROP, "seqwin", NULL);
504 slpflag &= ~PCATCH;
1144 int error, slpflag; local
1154 slpflag = (NMFLAG(nmp, INTR) && !(req->r_flags & R_NOINTR)) ? PCATCH : 0;
1160 tsleep(&lbolt, PSOCK | slpflag, "nfs_gss_clnt_ctx_init_retr
[all...]
H A Dnfs_lock.c412 int interruptable, slpflag; local
473 slpflag = (interruptable && (type != F_UNLCK)) ? PCATCH : 0;
481 error = msleep(msgreq, nfs_lock_mutex, slpflag | PUSER, "lockd", &ts);
482 slpflag = 0;
H A Dnfs_socket.c2774 int error, error2, sotype, rexmit, slpflag = 0, needrecon; local
2824 slpflag |= PCATCH;
2862 msleep(req, &nmp->nm_lock, slpflag|PSOCK, "nfsconnectwait", &ts);
2863 slpflag = 0;
2896 slpflag = (NMFLAG(nmp, INTR) && req->r_thread) ? PCATCH : 0;
2911 msleep(req, &nmp->nm_lock, slpflag | (PZERO - 1), "nfswaitcwnd", &ts);
2912 slpflag = 0;
3338 int error = 0, slpflag, first = 1; local
3341 slpflag = PCATCH;
3343 slpflag
3895 int delay, slpflag = (NMFLAG(nmp, INTR) && !(req->r_flags & R_NOINTR)) ? PCATCH : 0; local
4277 int slpflag = (req->r_nmp && NMFLAG(req->r_nmp, INTR) && req->r_thread && !(req->r_flags & R_NOINTR)) ? PCATCH : 0; local
4795 int error = 0, slpflag = 0; local
[all...]
H A Dnfs4_vnops.c1623 int error = 0, slpflag = NMFLAG(nmp, INTR) ? PCATCH : 0; local
1630 msleep(&nmp->nm_state, &nmp->nm_lock, slpflag|(PZERO-1), "nfsrecoverwait", &ts);
1631 slpflag = 0;
1648 int error = 0, slpflag = (NMFLAG(nmp, INTR) && thd) ? PCATCH : 0; local
1661 msleep(&nmp->nm_state, &nmp->nm_lock, slpflag|(PZERO-1), "nfsrecoverwait", &ts);
1662 slpflag = 0;
1759 int error = 0, slpflag; local
1764 slpflag = (NMFLAG(nmp, INTR) && thd) ? PCATCH : 0;
1771 msleep(&np->n_openflags, &np->n_openlock, slpflag, "nfs_open_state_set_busy", &ts);
1772 slpflag
1902 int error = 0, slpflag; local
2083 int error = 0, slpflag; local
3055 int error = 0, slpflag; local
3574 int error = 0, error2, willsplit = 0, delay, slpflag, busy = 0, inuse = 0, restart, inqueue = 0; local
4409 int error = 0, done = 0, slpflag = NMFLAG(nmp, INTR) ? PCATCH : 0; local
[all...]
H A Dnfs_vfsops.c2512 int error = 0, savederror = 0, slpflag = (NMFLAG(nmp, INTR) ? PCATCH : 0); local
2561 error = tsleep(nmp, PSOCK|slpflag, "nfs_mount_connect_retry", 2*hz);
2579 int error = 0, slpflag; local
2588 slpflag = NMFLAG(nmp, INTR) ? PCATCH : 0;
2602 error = msleep(&nmp->nm_nss, &nmp->nm_lock, slpflag|PSOCK, "nfsconnectthread", &ts);
2612 slpflag = 0;
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_bio.c124 static buf_t getnewbuf(int slpflag, int slptimeo, int *queue);
127 static errno_t buf_acquire_locked(buf_t bp, int flags, int slpflag, int slptimeo);
1435 buf_invalidateblks(vnode_t vp, int flags, int slpflag, int slptimeo) argument
1486 if ( (error = (int)buf_acquire_locked(bp, aflags, slpflag, slptimeo)) ) {
1557 if ( (error = (int)buf_acquire_locked(bp, aflags, slpflag, slptimeo)) ) {
2859 buf_getblk(vnode_t vp, daddr64_t blkno, int size, int slpflag, int slptimeo, int operation) argument
2905 err = msleep(bp, buf_mtxp, slpflag | PDROP | (PRIBIO + 1), "buf_getblk", &ts);
2911 if (err && ((slpflag & PCATCH) || ((err == EWOULDBLOCK) && slptimeo)))
3008 if ((bp = getnewbuf(slpflag, slptimeo, &queue)) == NULL)
3320 getnewbuf(int slpflag, in argument
3685 buf_acquire(buf_t bp, int flags, int slpflag, int slptimeo) argument
3699 buf_acquire_locked(buf_t bp, int flags, int slpflag, int slptimeo) argument
[all...]
H A Dvfs_subr.c387 vnode_waitforwrites(vnode_t vp, int output_target, int slpflag, int slptimeout, const char *msg) { argument
395 slpflag |= PDROP;
407 error = msleep((caddr_t)&vp->v_numoutput, &vp->v_lock, (slpflag | (PRIBIO + 1)), msg, &ts);

Completed in 77 milliseconds