| /trueos/sys/dev/ppbus/ |
| HD | ppb_base.c | 81 error = mtx_sleep((caddr_t)bus, ppb->ppc_lock, PPBPRI | in ppb_poll_bus() 241 return (mtx_sleep(wchan, ppb->ppc_lock, priority, wmesg, timo)); in ppb_sleep()
|
| HD | ppbconf.c | 516 error = mtx_sleep(ppb, ppb->ppc_lock, in ppb_request_bus() 521 error = mtx_sleep(ppb, ppb->ppc_lock, PPBPRI, in ppb_request_bus()
|
| /trueos/sys/dev/ppc/ |
| HD | ppc_isa.c | 214 error = mtx_sleep(ppc, &ppc->ppc_lock, PPBPRI | PCATCH, in ppc_isa_write() 242 error = mtx_sleep(ppc, &ppc->ppc_lock, PPBPRI | PCATCH, in ppc_isa_write()
|
| /trueos/sys/dev/acpica/Osd/ |
| HD | OsdSynch.c | 126 if (mtx_sleep(&as->as_reset, &as->as_lock, in AcpiOsDeleteSemaphore() 317 if (mtx_sleep(&am->am_reset, &am->am_lock, in AcpiOsDeleteMutex() 375 error = mtx_sleep(am, &am->am_lock, PCATCH, "acmtx", 0); in AcpiOsAcquireMutex() 388 error = mtx_sleep(am, &am->am_lock, PCATCH, in AcpiOsAcquireMutex()
|
| /trueos/sys/dev/iicbus/ |
| HD | iiconf.c | 65 error = mtx_sleep(sc, &sc->lock, IICPRI|PCATCH, "iicreq", 0); in iicbus_poll() 69 error = mtx_sleep(sc, &sc->lock, IICPRI, "iicreq", 0); in iicbus_poll()
|
| HD | if_ic.c | 135 mtx_sleep(sc, &sc->ic_lock, 0, "icalloc", 0); in ic_alloc_buffers()
|
| /trueos/sys/arm/xilinx/ |
| HD | zy7_devcfg.c | 289 err = mtx_sleep(sc, &sc->sc_mtx, PCATCH, "zy7i1", hz); in zy7_devcfg_reset_pl() 319 err = mtx_sleep(sc, &sc->sc_mtx, PCATCH, "zy7i2", hz); in zy7_devcfg_reset_pl() 447 err = mtx_sleep(sc->dma_map, &sc->sc_mtx, PCATCH, in zy7_devcfg_write()
|
| /trueos/tools/regression/kthread/kld/ |
| HD | kthrdlk.c | 165 ret = mtx_sleep(&global_condvar, &test_global_lock, 0, "waiting thrs end", 30 * hz); in kthrdlk_done()
|
| /trueos/sys/powerpc/powermac/ |
| HD | kiic.c | 368 mtx_sleep(dev, &sc->sc_mutex, 0, "kiic", timo); in kiic_transfer() 415 err = mtx_sleep(dev, &sc->sc_mutex, 0, "kiic", timo); in kiic_transfer()
|
| /trueos/sys/dev/drm/ |
| HD | drm_lock.c | 84 ret = mtx_sleep((void *)&dev->lock.lock_queue, &dev->dev_lock, in drm_lock()
|
| HD | drm_irq.c | 464 ret = mtx_sleep(&dev->vblank[crtc].queue, in drm_wait_vblank()
|
| /trueos/sys/net/ |
| HD | bpf_buffer.c | 195 mtx_sleep(&d->bd_hbuf_in_use, &d->bd_lock, in bpf_buffer_ioctl_sblen()
|
| HD | bpf.c | 862 error = mtx_sleep(&d->bd_hbuf_in_use, &d->bd_lock, in bpfread() 1112 mtx_sleep(&d->bd_hbuf_in_use, &d->bd_lock, PRINET, in reset_d() 1255 mtx_sleep(&d->bd_hbuf_in_use, &d->bd_lock, in bpfioctl() 1971 mtx_sleep(&d->bd_hbuf_in_use, &d->bd_lock, in filt_bpfread() 2306 mtx_sleep(&d->bd_hbuf_in_use, &d->bd_lock, in catchpacket() 2351 mtx_sleep(&d->bd_hbuf_in_use, &d->bd_lock, in catchpacket()
|
| /trueos/sys/arm/broadcom/bcm2835/ |
| HD | bcm2835_spi.c | 435 mtx_sleep(dev, &sc->sc_mtx, 0, "bcm_spi", 0); in bcm_spi_transfer() 470 err = mtx_sleep(dev, &sc->sc_mtx, 0, "bcm_spi", hz * 2); in bcm_spi_transfer()
|
| HD | bcm2835_bsc.c | 390 mtx_sleep(dev, &sc->sc_mtx, 0, "bscbusw", 0); in bcm_bsc_transfer() 434 err = mtx_sleep(dev, &sc->sc_mtx, 0, "bsciow", hz); in bcm_bsc_transfer()
|
| /trueos/sys/fs/nfsserver/ |
| HD | nfs_nfsdcache.c | 388 (void)mtx_sleep(rp, mutex, (PZERO - 1) | PDROP, in nfsrc_getudp() 673 (void)mtx_sleep(rp, mutex, (PZERO - 1) | PDROP, in nfsrc_gettcp() 745 (void)mtx_sleep(rp, mutex, PZERO - 1, "nfsrc", 0); in nfsrc_lock()
|
| /trueos/sys/dev/twe/ |
| HD | twe.c | 550 mtx_sleep(sc, &sc->twe_io_lock, PPAUSE, "twioctl", hz); in twe_ioctl() 621 error = mtx_sleep(&sc->twe_aen_queue, &sc->twe_io_lock, PRIBIO | PCATCH, in twe_ioctl() 965 mtx_sleep(tr, &tr->tr_sc->twe_io_lock, PRIBIO, "twewait", 0); in twe_wait_request() 1049 mtx_sleep(sc, &sc->twe_io_lock, PRIBIO, "twereset", hz); in twe_reset() 1561 mtx_sleep(&sc->twe_wait_aen, &sc->twe_io_lock, PZERO, "twewaen", hz);
|
| /trueos/sys/arm/ti/ |
| HD | ti_i2c.c | 389 mtx_sleep(sc, &sc->sc_mtx, 0, "i2cbuswait", 0); in ti_i2c_transfer() 449 err = mtx_sleep(sc, &sc->sc_mtx, 0, "i2ciowait", hz); in ti_i2c_transfer()
|
| /trueos/sys/dev/iir/ |
| HD | iir_ctrl.c | 207 (void) mtx_sleep(ucmd, &gdt->sc_lock, PCATCH | PRIBIO, "iirucw", in iir_ioctl()
|
| /trueos/sys/kern/ |
| HD | subr_eventhandler.c | 219 mtx_sleep(list, &list->el_lock, 0, "evhrm", 0); in eventhandler_deregister()
|
| HD | kern_alq.c | 206 mtx_sleep(&ald_active, &ald_mtx, PWAIT, "aldslp", 0); in ald_daemon() 254 mtx_sleep(ald_proc, &ald_mtx, PWAIT, "aldslp", 0); in ald_shutdown()
|
| /trueos/sys/dev/tws/ |
| HD | tws_user.c | 163 error = mtx_sleep(req, &sc->gen_lock, 0, "tws_passthru", TWS_IOCTL_TIMEOUT*hz); in tws_passthru()
|
| /trueos/sys/sys/ |
| HD | mutex.h | 378 #define mtx_sleep(chan, mtx, pri, wmesg, timo) \ macro
|
| /trueos/sys/xen/xenstore/ |
| HD | xenstore.c | 778 error = mtx_sleep(&xs.reply_list, &xs.reply_lock, in xs_read_reply() 1016 mtx_sleep(&xs.watch_events, in xenwatch_thread()
|
| /trueos/sys/netinet/ |
| HD | siftr.c | 570 mtx_sleep(&wait_for_pkt, &siftr_pkt_mgr_mtx, PWAIT, "pktwait", in siftr_pkt_manager_thread() 1271 mtx_sleep(siftr_pkt_manager_thr, &siftr_pkt_mgr_mtx, PWAIT, in siftr_manage_ops()
|