Searched refs:mtx (Results 251 - 275 of 1318) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/geom/virstor/
H A Dg_virstor.h119 struct mtx delayed_bio_q_mtx;
/freebsd-11-stable/sys/netpfil/ipfw/
H A Ddn_aqm_pie.h87 struct mtx lock_mtx;
/freebsd-11-stable/sys/arm/ti/
H A Dti_adcvar.h41 struct mtx sc_mtx;
/freebsd-11-stable/sys/arm/include/
H A Dpcpu.h55 struct mtx pc_cmap_lock; \
/freebsd-11-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_bscvar.h48 struct mtx sc_mtx;
/freebsd-11-stable/lib/libstdthreads/
H A DMakefile8 SRCS= threads.h call_once.c cnd.c mtx.c thrd.c tss.c
/freebsd-11-stable/sys/sys/
H A Dtty.h62 struct mtx *t_mtx; /* TTY lock. */
63 struct mtx t_mtxobj; /* Per-TTY lock (when not borrowing). */
163 struct tty *tty_alloc_mutex(struct ttydevsw *tsw, void *softc, struct mtx *mtx);
H A Dunpcb.h85 struct mtx unp_mtx; /* mutex */
H A Dmutex.h94 int _mtx_trylock_flags_int(struct mtx *m, int opts LOCK_FILE_LINE_ARG_DEF);
160 * Top-level macros to provide lock cookie once the actual mtx is passed.
161 * They will also prevent passing a malformed object to the mtx KPI by
389 struct mtx *mtx_pool_find(struct mtx_pool *pool, void *ptr);
390 struct mtx *mtx_pool_alloc(struct mtx_pool *pool);
458 #define mtx_sleep(chan, mtx, pri, wmesg, timo) \
459 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), \
479 extern struct mtx Giant;
480 extern struct mtx blocked_lock;
521 #define MTX_SYSINIT(name, mtx, des
[all...]
H A Dproc.h73 * (m) locked by s_mtx mtx
86 struct mtx s_mtx; /* Mutex to protect members. */
93 * (m) locked by pg_mtx mtx
104 struct mtx pg_mtx; /* Mutex to protect members */
135 * c - locked by proc mtx
138 * f - session mtx
139 * g - process group mtx
140 * h - callout_lock mtx
141 * i - by curproc or the master session mtx
215 struct mtx *volatil
[all...]
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_l2t.h72 struct mtx lock;
/freebsd-11-stable/sys/dev/iicbus/
H A Diicbus.h47 struct mtx lock;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector1.cpp36 SpinMutex mtx; member in struct:__sanitizer::DD
108 SpinMutexLock lk(&mtx);
163 SpinMutexLock lk(&mtx);
180 SpinMutexLock lk(&mtx);
/freebsd-11-stable/sys/arm/versatile/
H A Dversatile_pci.c130 struct mtx mtx; member in struct:versatile_pci_softc
247 mtx_init(&sc->mtx, device_get_nameunit(dev), "versatilepci",
473 mtx_lock_spin(&sc->mtx);
475 mtx_unlock_spin(&sc->mtx);
500 mtx_lock_spin(&sc->mtx);
512 mtx_unlock_spin(&sc->mtx);
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx_spi.c126 struct mtx mtx; member in struct:spi_softc
307 mtx_lock(&sc->mtx);
326 mtx_unlock(&sc->mtx);
370 mtx_unlock(&sc->mtx);
401 err = msleep(sc, &sc->mtx, 0, "imxspi", 10 * hz);
426 mtx_lock(&sc->mtx);
453 mtx_unlock(&sc->mtx);
493 mtx_destroy(&sc->mtx);
508 mtx_init(&sc->mtx, device_get_nameuni
[all...]
/freebsd-11-stable/sys/dev/pdq/
H A Dpdq_freebsd.h127 struct mtx mtx; member in struct:_pdq_os_ctx_t
132 #define PDQ_LOCK(_sc) mtx_lock(&(_sc)->mtx)
133 #define PDQ_UNLOCK(_sc) mtx_unlock(&(_sc)->mtx)
134 #define PDQ_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->mtx, MA_OWNED)
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_sync.cpp22 : mtx(MutexTypeSyncVar, StatMtxSyncVar) {
226 s->mtx.Lock();
228 s->mtx.ReadLock();
250 mys->mtx.Lock();
252 mys->mtx.ReadLock();
/freebsd-11-stable/sys/dev/patm/
H A Dif_patm_attach.c206 mtx_init(&sc->mtx, device_get_nameunit(dev),
305 utopia_attach(&sc->utopia, IFP2IFATM(sc->ifp), &sc->media, &sc->mtx,
313 mtx_lock(&sc->mtx);
316 mtx_unlock(&sc->mtx);
469 mtx_lock(&sc->mtx);
476 mtx_unlock(&sc->mtx);
562 mtx_destroy(&sc->mtx);
607 mtx_lock(&sc->mtx);
609 mtx_unlock(&sc->mtx);
631 mtx_lock(&sc->mtx);
[all...]
/freebsd-11-stable/sys/dev/ahci/
H A Dahciem.c85 mtx_init(&enc->mtx, "AHCI enclosure lock", NULL, MTX_DEF);
89 mtx_destroy(&enc->mtx);
108 mtx_lock(&enc->mtx);
123 device_get_unit(dev), &enc->mtx,
142 mtx_unlock(&enc->mtx);
189 mtx_unlock(&enc->mtx);
196 mtx_destroy(&enc->mtx);
210 mtx_lock(&enc->mtx);
215 mtx_unlock(&enc->mtx);
221 mtx_destroy(&enc->mtx);
[all...]
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_resource.c81 static struct mtx rhdl_fifo_lock;
87 struct mtx *fifo_lock,
134 static int cxio_init_resource_fifo(struct buf_ring **fifo, struct mtx * fifo_lock,
142 struct mtx * fifo_lock,
222 static u32 cxio_hal_get_resource(struct buf_ring *fifo, struct mtx *lock)
232 static void cxio_hal_put_resource(struct buf_ring *fifo, u32 entry, struct mtx *lock)
/freebsd-11-stable/sys/arm/amlogic/aml8726/
H A Daml8726_fb.c95 struct mtx mtx; member in struct:aml8726_fb_softc
110 #define AML_FB_LOCK(sc) mtx_lock(&(sc)->mtx)
111 #define AML_FB_UNLOCK(sc) mtx_unlock(&(sc)->mtx)
113 mtx_init(&(sc)->mtx, device_get_nameunit((sc)->dev), \
115 #define AML_FB_LOCK_DESTROY(sc) mtx_destroy(&(sc)->mtx);
H A Daml8726_pinctrl.c64 struct mtx mtx; member in struct:aml8726_pinctrl_softc
77 #define AML_PINCTRL_LOCK(sc) mtx_lock(&(sc)->mtx)
78 #define AML_PINCTRL_UNLOCK(sc) mtx_unlock(&(sc)->mtx)
80 mtx_init(&(sc)->mtx, device_get_nameunit((sc)->dev), \
82 #define AML_PINCTRL_LOCK_DESTROY(sc) mtx_destroy(&(sc)->mtx);
/freebsd-11-stable/sys/dev/uart/
H A Duart_dev_msm.c67 static int msm_getc(struct uart_bas *bas, struct mtx *mtx);
264 msm_getc(struct uart_bas *bas, struct mtx *mtx) argument
268 uart_lock(mtx);
282 uart_unlock(mtx);
/freebsd-11-stable/sys/amd64/vmm/io/
H A Dvioapic.c57 struct mtx mtx; member in struct:vioapic
66 #define VIOAPIC_LOCK(vioapic) mtx_lock_spin(&((vioapic)->mtx))
67 #define VIOAPIC_UNLOCK(vioapic) mtx_unlock_spin(&((vioapic)->mtx))
68 #define VIOAPIC_LOCKED(vioapic) mtx_owned(&((vioapic)->mtx))
478 mtx_init(&vioapic->mtx, "vioapic lock", NULL, MTX_SPIN);
/freebsd-11-stable/stand/usb/
H A Dusb_busdma_loader.c281 mtx_assert(pc->tag_parent->mtx, MA_OWNED);
354 struct mtx *mtx, usb_dma_callback_t *func,
362 (mtx == NULL)) {
370 udpt->mtx = mtx;
352 usb_dma_tag_setup(struct usb_dma_parent_tag *udpt, struct usb_dma_tag *udt, bus_dma_tag_t dmat, struct mtx *mtx, usb_dma_callback_t *func, uint8_t ndmabits, uint8_t nudt) argument

Completed in 165 milliseconds

<<11121314151617181920>>