Home
last modified time | relevance | path

Searched refs:mtx_sleep (Results 1 – 25 of 59) sorted by relevance

123

/trueos/sys/dev/ppbus/
HDppb_base.c81 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()
HDppbconf.c516 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/
HDppc_isa.c214 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/
HDOsdSynch.c126 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/
HDiiconf.c65 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()
HDif_ic.c135 mtx_sleep(sc, &sc->ic_lock, 0, "icalloc", 0); in ic_alloc_buffers()
/trueos/sys/arm/xilinx/
HDzy7_devcfg.c289 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/
HDkthrdlk.c165 ret = mtx_sleep(&global_condvar, &test_global_lock, 0, "waiting thrs end", 30 * hz); in kthrdlk_done()
/trueos/sys/powerpc/powermac/
HDkiic.c368 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/
HDdrm_lock.c84 ret = mtx_sleep((void *)&dev->lock.lock_queue, &dev->dev_lock, in drm_lock()
HDdrm_irq.c464 ret = mtx_sleep(&dev->vblank[crtc].queue, in drm_wait_vblank()
/trueos/sys/net/
HDbpf_buffer.c195 mtx_sleep(&d->bd_hbuf_in_use, &d->bd_lock, in bpf_buffer_ioctl_sblen()
HDbpf.c862 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/
HDbcm2835_spi.c435 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()
HDbcm2835_bsc.c390 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/
HDnfs_nfsdcache.c388 (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/
HDtwe.c550 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/
HDti_i2c.c389 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/
HDiir_ctrl.c207 (void) mtx_sleep(ucmd, &gdt->sc_lock, PCATCH | PRIBIO, "iirucw", in iir_ioctl()
/trueos/sys/kern/
HDsubr_eventhandler.c219 mtx_sleep(list, &list->el_lock, 0, "evhrm", 0); in eventhandler_deregister()
HDkern_alq.c206 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/
HDtws_user.c163 error = mtx_sleep(req, &sc->gen_lock, 0, "tws_passthru", TWS_IOCTL_TIMEOUT*hz); in tws_passthru()
/trueos/sys/sys/
HDmutex.h378 #define mtx_sleep(chan, mtx, pri, wmesg, timo) \ macro
/trueos/sys/xen/xenstore/
HDxenstore.c778 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/
HDsiftr.c570 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()

123