/xnu-2422.115.4/bsd/sys/ |
H A D | param.h | 143 #define PCATCH 0x100 /* OR'd with pri for tsleep to check signals */ macro
|
/xnu-2422.115.4/bsd/miscfs/fifofs/ |
H A D | fifo_vnops.c | 162 error = msleep(&fip->fi_flags, &vp->v_lock, PRIBIO | PCATCH, "fifocreatewait", NULL); 241 PCATCH | PSOCK, "fifoor", NULL); 259 PCATCH | PSOCK, "fifoow", NULL);
|
/xnu-2422.115.4/bsd/kern/ |
H A D | kern_overrides.c | 188 msleep((caddr_t)&sys_override_wait, &sys_override_lock, PRIBIO | PCATCH, "system_override", &ts);
|
H A D | kern_synch.c | 76 catch = ut->uu_pri & PCATCH; 138 * If pri&PCATCH is set, signals will cause sleep 178 if (pri & PCATCH)
|
H A D | tty_pty.c | 222 error = ttysleep(tp, TSA_CARR_ON(tp), TTIPRI | PCATCH, 313 error = ttysleep(tp, &ptsread, TTIPRI | PCATCH | PTTYBLOCK, "ptsbg", 323 error = ttysleep(tp, TSA_PTS_READ(tp), TTIPRI | PCATCH, 539 error = ttysleep(tp, TSA_PTC_READ(tp), TTIPRI | PCATCH, "ptcin", 0); 760 error = ttysleep(tp, TSA_PTC_WRITE(tp), TTOPRI | PCATCH, "ptcout", 0);
|
H A D | kern_pcsamples.c | 329 ret = tsleep(&pcsample_enable, PRIBIO | PCATCH, "pcsample", 0);
|
H A D | tty_ptmx.c | 595 error = ttysleep(tp, TSA_CARR_ON(tp), TTIPRI | PCATCH, 701 error = ttysleep(tp, &ptsd_read, TTIPRI | PCATCH | PTTYBLOCK, "ptsd_bg", 711 error = ttysleep(tp, TSA_PTS_READ(tp), TTIPRI | PCATCH, 947 error = ttysleep(tp, TSA_PTC_READ(tp), TTIPRI | PCATCH, "ptmx_in", 0); 1284 error = ttysleep(tp, TSA_PTC_WRITE(tp), TTOPRI | PCATCH, "ptmx_out", 0);
|
H A D | subr_log.c | 194 if ((error = tsleep((caddr_t)msgbufp, LOG_RDPRI | PCATCH,
|
H A D | sys_pipe.c | 660 error = msleep(cpipe, PIPE_MTX(cpipe), catch ? (PRIBIO | PCATCH) : PRIBIO, 812 error = msleep(rpipe, PIPE_MTX(rpipe), PRIBIO | PCATCH, "piperd", 0); 1077 error = msleep(wpipe, PIPE_MTX(wpipe), PRIBIO | PCATCH, "pipewr", 0);
|
H A D | kpi_socket.c | 96 PSOCK | PCATCH, "sock_accept", NULL); 248 mutex_held, PSOCK | PCATCH, "sock_connect", NULL);
|
H A D | tty.c | 1625 TTOPRI | PCATCH, "ttywai", 2119 error = ttysleep(tp, TSA_HUP_OR_INPUT(tp), TTIPRI | PCATCH, 2189 error = ttysleep(tp, &ttread, TTIPRI | PCATCH, 2310 error = ttysleep(tp, TSA_CARR_ON(tp), TTIPRI | PCATCH, 2467 error = ttysleep(tp, TSA_OLOWAT(tp), TTOPRI | PCATCH, "ttywri",
|
H A D | sysv_msg.c | 878 eval = msleep(blocking_resource, &sysv_msg_subsys_mutex, (PZERO - 4) | PCATCH, 1323 eval = msleep((caddr_t)msqptr, &sysv_msg_subsys_mutex, (PZERO - 4) | PCATCH, "msgwait",
|
H A D | kern_sig.c | 820 (void) tsleep0((caddr_t) p, PPAUSE|PCATCH, "pause", 0, sigcontinue); 1289 error = msleep((caddr_t)&ut->uu_sigwait, &p->p_mlock, PPAUSE|PCATCH, "pause", 0); 3141 msleep((caddr_t)&p->sigwait_thread, &p->p_mlock, PCATCH | PDROP, 0, 0);
|
H A D | uipc_syscalls.c | 437 PSOCK | PCATCH, "accept", 0); 765 PSOCK | PCATCH, __func__, 0); 825 PSOCK | PCATCH, __func__, 0);
|
H A D | kern_aio.c | 1201 error = msleep1(&p->AIO_SUSPEND_SLEEP_CHAN, aio_proc_mutex(p), PCATCH | PWAIT | PDROP, "aio_suspend", abstime); /* XXX better priority? */ 1605 result = msleep(lio_context, aio_proc_mutex(p), PCATCH | PRIBIO | PSPIN, "lio_listio", 0);
|
H A D | kern_exit.c | 1358 if ((error = msleep0((caddr_t)q, proc_list_mlock, PWAIT | PCATCH | PDROP, "wait", 0, wait1continue))) 1607 PWAIT | PCATCH | PDROP, "waitid", 0, waitidcontinue)) != 0)
|
H A D | kern_credential.c | 317 error = msleep(workp, kauth_resolver_mtx, PCATCH, "kr_submit", &ts); 427 error = tsleep(&ts, PZERO | PCATCH, "kr_submit", hz/2); 754 error = msleep0(&kauth_resolver_unsubmitted, kauth_resolver_mtx, PCATCH, "GRGetWork", 0, kauth_resolver_getwork_continue); 895 error = msleep0(&kauth_resolver_unsubmitted, kauth_resolver_mtx, PCATCH, "GRGetWork", 0, kauth_resolver_getwork_continue);
|
H A D | kern_lockf.c | 477 priority |= PCATCH;
|
H A D | sysv_shm.c | 676 error = tsleep((caddr_t)shmseg, PLOCK | PCATCH, "shmget", 0);
|
/xnu-2422.115.4/bsd/security/audit/ |
H A D | audit_bsd.c | 317 return (msleep(cvp, mp, PSOCK | PCATCH, desc, 0));
|
/xnu-2422.115.4/bsd/nfs/ |
H A D | nfs_bio.c | 649 int slpflag = PCATCH; 681 tsleep(&nfs_nbdwrite, PCATCH, "nfs_nbdwrite", 1); 718 "nfsbufget", (slpflag == PCATCH) ? NULL : &ts); 873 msleep(&nfsneedbuffer, nfs_buf_mutex, PCATCH|PDROP, "nfsbufget", NULL); 2238 int error = 0, slpflag = NMFLAG(nmp, INTR) ? PCATCH : 0; 3260 slpflag = PCATCH; 3317 if (slpflag == PCATCH) { 3375 if (slpflag == PCATCH) { 3631 slpflag = PCATCH;
|
H A D | nfs_gss.c | 452 slpflag |= (NMFLAG(req->r_nmp, INTR) && req->r_thread && !(req->r_flags & R_NOINTR)) ? PCATCH : 0; 502 slpflag &= ~PCATCH; 524 slpflag &= ~PCATCH; 1175 slpflag = (NMFLAG(nmp, INTR) && !(req->r_flags & R_NOINTR)) ? PCATCH : 0;
|
H A D | nfs_lock.c | 473 slpflag = (interruptable && (type != F_UNLCK)) ? PCATCH : 0;
|
H A D | nfs_socket.c | 2956 slpflag |= PCATCH; 3028 slpflag = (NMFLAG(nmp, INTR) && req->r_thread) ? PCATCH : 0; 3473 slpflag = PCATCH; 4027 int delay, slpflag = (NMFLAG(nmp, INTR) && !(req->r_flags & R_NOINTR)) ? PCATCH : 0; 4409 int slpflag = (req->r_nmp && NMFLAG(req->r_nmp, INTR) && req->r_thread && !(req->r_flags & R_NOINTR)) ? PCATCH : 0; 4938 slpflag = PCATCH; 4946 if (slpflag == PCATCH) {
|
/xnu-2422.115.4/bsd/netinet/ |
H A D | ip_compat.h | 329 # define SLEEP(id, n) tsleep((id), PPAUSE|PCATCH, n, 0)
|