PCATCH
error = tsleep((void *)ev, PEVENT | PCATCH, "firm_event", 0);
error = tsleep(sc, PCATCH | (PZERO - 1), "par-cdelay", 0);
error = tsleep(parintr, PCATCH | (PZERO - 1), "parsendch", hz);
error = tsleep((void *)sc, PZERO | PCATCH, "pmsrea", 0);
error = tsleep((void *)ev, PEVENT | PCATCH, "firm_event", 0);
if ((error = tsleep((void *)sc, LPTPRI | PCATCH, "lptopen",
LPTPRI | PCATCH, "lptpsh", tic);
if ((error = tsleep((void *)sc, LPTPRI | PCATCH,
error = tsleep(sc, (PCATCH|PZERO) + 1, "hpib", 0);
err = tsleep(sc, PZERO | PCATCH, "cpi_open", hz);
err = tsleep((void *)sc, PZERO | PCATCH,
error = tsleep(&eeprom_busy, PZERO | PCATCH, "eeprom", 0);
error = tsleep(&ee_busy, PZERO | PCATCH, "eeprom", 0);
if ((error = tsleep((void *)&tu_sc, (PZERO + 10)|PCATCH, "reset", 0)))
error = tsleep(sc, PCATCH|(PZERO-1), "par-cdelay", 0);
if ((error = tsleep(parintr, PCATCH|(PZERO-1), "parsendch", 0))) {
int coda_pcatch = PCATCH;
tsleep(l, PUSER|PCATCH, "uslpthrd", ticks); /* XXX */
error = tsleep(&idat, PZERO | PCATCH, "linux_tcsbrk", hz / 4);
error = tsleep(&idat, PZERO | PCATCH, "linux_tcsbrk", hz / 4);
if (tsleep((void *)sc, PCATCH, "cardbus",
error = tsleep(sc, (PCATCH|PZERO) + 1, "gpib", 0);
tsleep(sc, PRIBIO | PCATCH, "hvkbdcon",
error = tsleep(sc, PWAIT | PCATCH, "awilck", 0);
error = tsleep(&icp->icp_qfreeze, PRIBIO|PCATCH,
error = mtsleep((void*)sc, PRIBIO | PCATCH, "kppoll",
error = tsleep((void *)sc, LPTPRI | PCATCH, "lptopen", STEP);
LPTPRI | PCATCH, "lptpsh", tic);
error = tsleep((void *)sc, LPTPRI | PCATCH,
#define FWPRI ((PZERO+8)|PCATCH)
error = tsleep(sc->sc_frames, PZERO | PCATCH, "irtrd", 0);
if ((error = wtwait(sc, PCATCH, "wtrew")) != 0)
if ((error = wtwait(sc, PCATCH, "wterase")) != 0)
if ((error = wtwait(sc, PCATCH, "wtretens")) != 0)
if ((error = wtwait(sc, PCATCH, "wtorew")) != 0)
if ((error = wtwait(sc, PCATCH, "wtorfm")) != 0)
if ((error = wtwait(sc, PCATCH, "wtowfm")) != 0)
if ((error = tsleep((void *)ra, (PZERO + 1) | PCATCH,
error = tsleep((void *) sc, LPTPRI | PCATCH, "lptopen", STEP);
LPTPRI | PCATCH, "lptpsh", tic);
error = tsleep((void *) sc, LPTPRI | PCATCH,
#define BKTRPRI (PZERO+8)|PCATCH
#define VBIPRI (PZERO-4)|PCATCH
error = tsleep(cz, TTIPRI | PCATCH, wstring, uimax(1, hz/100));
if (tsleep(&sc->sc_ioctl_buf, PCATCH, "bwfm", hz)) {
err = tsleep(desc, PCATCH, "iwmcmd", mstohz(2000));
return async ? 0 : tsleep(desc, PCATCH, "iwncmd", hz);
error = tsleep(sc, PCATCH, "iwncal", 2 * hz);
if ((error = tsleep(sc, PCATCH, "iwninit", hz)) != 0) {
return tsleep(sc, PCATCH, "iwninit", 5 * hz);
if ((error = tsleep(sc, PCATCH, "iwninit", hz)) != 0) {
if ((error = tsleep(sc, PCATCH, "wpiinit", hz)) != 0) {
if ((error = tsleep(sc, PCATCH, "wpiinit", hz)) != 0) {
return async ? 0 : tsleep(cmd, PCATCH, "wpicmd", hz);
rv = tsleep(&mly->mly_event_change, PRIBIO | PCATCH,
error = tsleep(&sc->sc_state, PZERO | PCATCH, "oboecl", hz/10);
error = tsleep(&sc->sc_rxs, PZERO | PCATCH, "oboerd", 0);
error = tsleep(&sc->sc_txs, PZERO | PCATCH, "oboewr", 0);
error = tsleep(&twe->sc_aen_queue, PRIBIO | PCATCH,
int error = tsleep(wq, PCATCH, "xmmwq", 0); \
int error = tsleep(wq, PCATCH, "xmmwq", jiffies); \
tsleep(sc, PCATCH, "btbc_wait", hz / 5);
tsleep(sc, PCATCH, "btbc_wait", hz);
tsleep(sc, PCATCH, "btbc_reset", 1);
tsleep(sc, PCATCH, "btbc_enable", 1);
tsleep(sc, PCATCH, "btbc_enable", hz * 2);
rv = tsleep(ray_update_params, 0|PCATCH, "cmd in use", 0);
rv = tsleep(ray_report_params, 0|PCATCH, "cmd in use", 0);
err = tsleep((void *)lpt, LPPRI|PCATCH,
if (tsleep(rf_sc, PRIBIO | PCATCH, "density probe", 2 * hz)
error = tsleep(sc->sc_buf, PZERO|PCATCH, "bppwrite", 0);
error = tsleep(sc, PZERO|PCATCH, "bppdma", 0);
error = tsleep(mp, PCATCH | PZERO, "mbppdelay", 0);
tsleep(mp, PCATCH | PZERO, "mbpp_send", 0);
tsleep(mp, PCATCH | PZERO, "mbpp_recv", 0);
tsleep(sc->sc_dev, SPKRPRI | PCATCH, device_xname(sc->sc_dev), ticks);
error = tsleep((void *)ev, PEVENT | PCATCH, "firm_event", 0);
error = tsleep((void *)&ks->kbd_id, PZERO | PCATCH, devopn,
error = tsleep((void *)&ks->kbd_layout, PZERO | PCATCH,
error = tsleep(&k->k_txflags, PZERO | PCATCH, "kbdout", 1);
error = tsleep(&sc->sc_ur_framelen, PZERO | PCATCH,
error = tsleep(&sc->sc_wr_buf, PZERO | PCATCH, "usirwr", 0);
error = tsleep(&sc->sc_rd_count, PZERO | PCATCH,
error = tsleep(&sc->sc_ur_framelen, PZERO | PCATCH,
error = tsleep(&sc->sc_wr_buf, PZERO | PCATCH,
if ((error = tsleep(sc, PRIBIO | PCATCH, "vndlck", 0)) != 0)
res = tsleep(sc, PCATCH, "wswait", 0);
res = tsleep(scr, PCATCH, "wswait", 0);
error = tsleep(ev, PWSEVENT | PCATCH, "wsevent_read", 0);
bp = getblk(vp, bn, size, PCATCH, 0, 0);
slpflag = PCATCH;
slpflag = PCATCH;
if (slpflag == PCATCH) {
error = msleep(&ncl_iodwant[myiod], &ncl_iod_mutex, PWAIT | PCATCH,
slpflag = PCATCH;
if (slpflag == PCATCH) {
if (slpflag == PCATCH) {
error = nfs_catnap(PZERO | PCATCH, ret,
if ((priority & PCATCH) == 0)
error = msleep(&nfslock_list, &nfslock_mtx, PSOCK | PCATCH,
error = tsleep(&args, PCATCH, "nlmgrace", 5*hz);
error = tsleep(&args, PCATCH, "nlmgrace", 5*hz);
error = tsleep(&args, PCATCH, "nlmgrace", retry);
error = msleep(nw, &nlm_global_lock, PCATCH, "nlmlock", timo);
catch_p = priority & PCATCH;
catch_p = priority & PCATCH;
err = bbusy(bp, ((slpflag & PCATCH) != 0), slptimeo, NULL);
if ((slpflag & PCATCH) != 0)
if ((bp = getnewbuf(PCATCH, 1, 1)) == NULL)
if (tsleep(aa, PPAUSE | PCATCH, "at_ifinit",
bp = getblk(vp, bn, size, PCATCH, 0);
error = mtsleep(&fs->lfs_availsleep, PCATCH | PUSER,
error = tsleep(&fs->lfs_availsleep, PCATCH | PUSER,
error = mtsleep(&fs->lfs_nowrap, PCATCH | PUSER,
error = mtsleep(&fs->lfs_nowrap, PCATCH | PUSER,
mtsleep(&fs->lfs_availsleep, PCATCH | PUSER,
PCATCH | PUSER | PNORELOCK, "lfs_maxdirop", 0,
(void) mtsleep(event, PVM | PNORELOCK | (intr ? PCATCH : 0), \