Home
last modified time | relevance | path

Searched refs:PCATCH (Results 1 – 25 of 87) sorted by relevance

1234

/openbsd/src/sys/kern/
Dkern_synch.c122 KASSERT((priority & ~(PRIMASK | PCATCH)) == 0); in tsleep()
123 KASSERT(ident != &nowake || ISSET(priority, PCATCH) || timo != 0); in tsleep()
213 KASSERT((priority & ~(PRIMASK | PCATCH | PNORELOCK)) == 0); in msleep()
214 KASSERT(ident != &nowake || ISSET(priority, PCATCH) || timo != 0); in msleep()
290 KASSERT((priority & ~(PRIMASK | PCATCH | PNORELOCK)) == 0); in rwsleep()
291 KASSERT(ident != &nowake || ISSET(priority, PCATCH) || timo != 0); in rwsleep()
346 CLR(prio, PCATCH); in sleep_setup()
358 if (prio & PCATCH) in sleep_setup()
761 sleep_setup(&entry, PWAIT|PCATCH, "thrsleep"); in thrsleep()
Dtty_pty.c258 error = ttysleep(tp, &tp->t_rawq, TTIPRI | PCATCH, ttopen); in ptsopen()
297 error = ttysleep(tp, &lbolt, TTIPRI | PCATCH, ttybg); in ptsread()
305 TTIPRI | PCATCH, ttyin); in ptsread()
479 error = tsleep_nsec(&tp->t_outq.c_cf, TTIPRI | PCATCH, ttyin, in ptcread()
567 tsleep(tp, TTIPRI | PCATCH, "ttyretype", 1) == EINTR) in ptcwrite()
591 error = tsleep_nsec(&tp->t_rawq.c_cf, TTOPRI | PCATCH, ttyout, INFSLP); in ptcwrite()
Dtty.c750 error = ttysleep(tp, &lbolt, TTOPRI | PCATCH, in ttioctl()
1243 error = ttysleep_nsec(tp, &tp->t_outq, TTOPRI | PCATCH, in ttywait_nsec()
1518 error = ttysleep(tp, &lbolt, TTIPRI | PCATCH, ttybg); in ttread()
1587 error = ttysleep(tp, &tp->t_rawq, TTIPRI | PCATCH, in ttread()
1616 error = ttysleep(tp, &lbolt, TTIPRI | PCATCH, in ttread()
1747 &tp->t_rawq, TTIPRI | PCATCH, ttopen); in ttwrite()
1768 error = ttysleep(tp, &lbolt, TTIPRI | PCATCH, ttybg); in ttwrite()
1900 error = ttysleep(tp, &tp->t_outq, TTOPRI | PCATCH, ttyout); in ttwrite()
Dkern_rwlock.c284 prio |= PCATCH; in rw_do_enter_write()
378 prio |= PCATCH; in rw_do_enter_read()
Dsubr_extent.c482 PRIBIO | ((flags & EX_CATCH) ? PCATCH : 0), in extent_do_alloc_region()
927 PRIBIO | ((flags & EX_CATCH) ? PCATCH : 0), in extent_do_alloc()
1167 PRIBIO | ((flags & EX_CATCH) ? PCATCH : 0), in extent_alloc_region_descriptor()
Dsysv_msg.c267 if ((error = tsleep_nsec(que, PZERO|PCATCH, "msgwait", INFSLP))) in sys_msgsnd()
338 if ((error = tsleep_nsec(que, PZERO|PCATCH, "msgwait", INFSLP))) in sys_msgrcv()
/openbsd/src/sys/dev/pci/drm/include/linux/
Dwait.h150 __ret = __wait_event_intr_timeout(wqh, condition, 0, PCATCH); \
158 __ret = __wait_event_intr_timeout(wqh, condition, 0, PCATCH); \
222 __ret = __wait_event_intr_timeout(wqh, condition, timo, PCATCH);\
Dcompletion.h93 ret = msleep_nsec(x, &x->lock, PCATCH, "wfci", INFSLP); in wait_for_completion_interruptible()
117 ret = msleep(x, &x->lock, PCATCH, "wfcit", timo); in wait_for_completion_interruptible_timeout()
Dsched.h31 #define TASK_INTERRUPTIBLE PCATCH
Ddelay.h46 int r = tsleep_nsec(&nowake, PWAIT|PCATCH, "msleepi", in msleep_interruptible()
Dww_mutex.h179 intr ? PCATCH : 0, in __ww_mutex_lock()
/openbsd/src/sys/dev/ic/
Dlpt.c202 error = tsleep_nsec(sc, LPTPRI | PCATCH, "lptopen", in lptopen()
316 LPTPRI | PCATCH, "lptpsh", in lptpushbytes()
350 error = tsleep_nsec(sc, LPTPRI | PCATCH, in lptpushbytes()
/openbsd/src/sys/dev/sbus/
Dbpp.c291 error = tsleep_nsec(sc->sc_buf, PZERO | PCATCH, "bppwrite", in bppwrite()
337 error = tsleep_nsec(sc, PZERO | PCATCH, "bppdma", in bppwrite()
Dmagma.c905 error = ttysleep(tp, &tp->t_rawq, TTIPRI | PCATCH, in mttyopen()
1588 error = tsleep_nsec(mp, PCATCH | PZERO, "mbppdelay", in mbpp_rw()
1673 tsleep_nsec(mp, PCATCH | PZERO, "mbpp_send", INFSLP); in mbpp_send()
1724 tsleep_nsec(mp, PCATCH | PZERO, "mbpp_recv", INFSLP); in mbpp_recv()
/openbsd/src/sys/sys/
Dparam.h111 #define PCATCH 0x100 /* OR'd with pri for tsleep to check signals */ macro
/openbsd/src/sys/arch/luna88k/cbus/
Dpcex.c194 ret = tsleep_nsec(&(sc->intr_use[level]), PWAIT | PCATCH, "pcex", in pcex_wait_int()
/openbsd/src/sys/dev/
Dhotplug.c178 error = msleep_nsec(&evqueue, &hotplug_mtx, PRIBIO | PCATCH, in hotplugread()
Dmidi.c145 PWAIT | PCATCH, "mid_rd", INFSLP); in midiread()
286 PWAIT | PCATCH, "mid_wr", INFSLP); in midiwrite()
/openbsd/src/sys/ufs/mfs/
Dmfs_vfsops.c200 sleepreturn = tsleep_nsec(vp, PWAIT | PCATCH, "mfsidl", INFSLP); in mfs_start()
/openbsd/src/sys/dev/isa/
Dpcppi.c238 tsleep_nsec(pcppi_bell_stop, PCPPIPRI | PCATCH, "bell", in pcppi_bell()
/openbsd/src/sys/dev/fdt/
Damluart.c320 TTOPRI | PCATCH, "amluprm"); in amluart_param()
432 TTIPRI | PCATCH, ttopen); in amluartopen()
/openbsd/src/sys/miscfs/fifofs/
Dfifo_vnops.c224 PCATCH | PSOCK, "fifor", INFSLP); in fifo_open()
232 PCATCH | PSOCK, "fifow", INFSLP); in fifo_open()
/openbsd/src/sys/arch/riscv64/dev/
Dsfuart.c307 TTOPRI | PCATCH, "sfuprm"); in sfuart_param()
434 TTIPRI | PCATCH, ttopen); in sfuartopen()
/openbsd/src/sys/dev/wscons/
Dwsevent.c215 error = msleep_nsec(ev, &ev->ws_mtx, PWSEVENT | PCATCH, in wsevent_read()
/openbsd/src/sys/nfs/
Dnfs_syscalls.c637 PWAIT | PCATCH, "nfsidl", INFSLP); in nfssvc_iod()
734 error = tsleep_nsec(nfsd, PSOCK | PCATCH, "nfsd", INFSLP); in nfsrv_getslp()

1234