Searched refs:mtx (Results 76 - 100 of 1378) sorted by relevance

1234567891011>>

/freebsd-current/sys/dev/qcom_gcc/
H A Dqcom_gcc_ipq4018_var.h40 struct mtx mtx; member in struct:qcom_gcc_ipq4018_softc
/freebsd-current/sys/arm64/qoriq/clk/
H A Dqoriq_clkgen.h78 struct mtx mtx; member in struct:qoriq_clkgen_softc
/freebsd-current/sys/dev/firmware/arm/
H A Dscmi.h58 struct mtx mtx; member in struct:scmi_softc
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/
H A Dmutex_prof.h14 #define OP(mtx) global_prof_mutex_##mtx,
32 #define OP(mtx) arena_prof_mutex_##mtx,
H A Dbase_structs.h31 malloc_mutex_t mtx; member in struct:base_s
/freebsd-current/sys/dev/mlx5/mlx5_en/
H A Den_hw_tls_rx.h36 #define MLX5E_TLS_RX_TAG_LOCK(tag) mtx_lock(&(tag)->mtx)
37 #define MLX5E_TLS_RX_TAG_UNLOCK(tag) mtx_unlock(&(tag)->mtx)
65 struct mtx mtx; member in struct:mlx5e_tls_rx_tag
/freebsd-current/sys/geom/mountver/
H A Dg_mountver.h46 struct mtx sc_mtx;
/freebsd-current/sys/dev/gpio/
H A Dpl061.h45 struct mtx sc_mtx;
H A Dgpioc.c76 struct mtx mtx; member in struct:gpioc_pin_intr
87 struct mtx mtx; member in struct:gpioc_cdevpriv
199 mtx_unlock(&intr_conf->mtx);
217 mtx_lock(&intr_conf->mtx);
230 mtx_unlock(&intr_conf->mtx);
256 mtx_lock(&intr_conf->mtx);
274 mtx_assert(&intr_conf->mtx, MA_OWNED);
275 mtx_lock(&priv->mtx);
[all...]
/freebsd-current/usr.sbin/bhyve/
H A Dusb_emul.h113 pthread_mutex_t mtx; member in struct:usb_data_xfer
134 pthread_mutex_init(&((x)->mtx), NULL); \
144 pthread_mutex_lock(&((x)->mtx)); \
148 pthread_mutex_unlock(&((x)->mtx)); \
/freebsd-current/usr.bin/mkuzip/
H A Dmkuz_fqueue.h28 pthread_mutex_t mtx; member in struct:mkuz_fifo_queue
/freebsd-current/sys/sys/
H A Dselinfo.h47 struct mtx *si_mtx; /* Lock for tdlist. */
/freebsd-current/usr.sbin/bhyve/amd64/
H A Dps2mouse.c99 pthread_mutex_t mtx; member in struct:ps2mouse_softc
164 assert(pthread_mutex_isowned_np(&sc->mtx));
184 assert(pthread_mutex_isowned_np(&sc->mtx));
232 assert(pthread_mutex_isowned_np(&sc->mtx));
250 pthread_mutex_lock(&sc->mtx);
252 pthread_mutex_unlock(&sc->mtx);
266 pthread_mutex_lock(&sc->mtx);
275 pthread_mutex_unlock(&sc->mtx);
281 pthread_mutex_lock(&sc->mtx);
368 pthread_mutex_unlock(&sc->mtx);
[all...]
/freebsd-current/sys/i386/include/
H A Dproc.h71 extern struct mtx dt_lock;
/freebsd-current/sys/dev/uart/
H A Duart_bus_scc.c70 uintptr_t mtx; local
75 if (BUS_READ_IVAR(parent, dev, SCC_IVAR_HWMTX, &mtx))
77 sc->sc_hwmtx = (struct mtx *)(void *)mtx;
/freebsd-current/sys/cam/
H A Dcam_sim.h59 struct mtx *mtx,
85 struct mtx *mtx; member in struct:cam_sim
/freebsd-current/sys/dev/iicbus/controller/vybrid/
H A Dvf_i2c.h65 struct mtx mutex;
/freebsd-current/sys/libkern/
H A Darc4random.c63 struct mtx mtx; member in struct:chacha20_s
143 mtx_lock(&chacha20->mtx);
152 mtx_unlock(&chacha20->mtx);
168 mtx_init(&chacha20->mtx, "chacha20_mtx", NULL, MTX_DEF);
184 mtx_destroy(&chacha20->mtx);
217 mtx_lock(&chacha20->mtx);
222 mtx_unlock(&chacha20->mtx);
224 mtx_lock(&chacha20->mtx);
236 mtx_unlock(&chacha20->mtx);
[all...]
/freebsd-current/sys/dev/ae/
H A Dif_aevar.h112 struct mtx mtx; member in struct:ae_softc
156 #define AE_LOCK(_sc) mtx_lock(&(_sc)->mtx)
157 #define AE_UNLOCK(_sc) mtx_unlock(&(_sc)->mtx)
158 #define AE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->mtx, MA_OWNED)
/freebsd-current/sys/dev/ixl/
H A Dixl_iw.c75 mtx_lock(&ixl_iw.mtx);
84 mtx_unlock(&ixl_iw.mtx);
88 mtx_unlock(&ixl_iw.mtx);
117 mtx_destroy(&ixl_iw.mtx);
128 mtx_init(&ixl_iw.mtx, "ixl_iw_pfs", NULL, MTX_DEF);
147 mtx_lock(&ixl_iw.mtx);
182 mtx_unlock(&ixl_iw.mtx);
194 mtx_lock(&ixl_iw.mtx);
213 mtx_unlock(&ixl_iw.mtx);
229 mtx_lock(&ixl_iw.mtx);
[all...]
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dxarray.h52 #define XA_ASSERT_LOCKED(xa) mtx_assert(&(xa)->mtx, MA_OWNED)
53 #define xa_lock(xa) mtx_lock(&(xa)->mtx)
54 #define xa_unlock(xa) mtx_unlock(&(xa)->mtx)
58 struct mtx mtx; /* internal mutex */ member in struct:xarray
/freebsd-current/sys/arm/ti/
H A Dti_scm_syscon.c69 struct mtx mtx; member in struct:ti_scm_syscon_softc
91 mtx_lock(&sc->mtx);
93 mtx_unlock(&sc->mtx);
105 mtx_lock(&sc->mtx);
107 mtx_unlock(&sc->mtx);
119 mtx_lock(&sc->mtx);
124 mtx_unlock(&sc->mtx);
176 mtx_init(&sc->mtx, device_get_nameunit(sc->dev), NULL, MTX_DEF);
256 mtx_lock(&sc->mtx);
[all...]
/freebsd-current/sys/dev/nvme/
H A Dnvme_test.c73 struct mtx *mtx; local
75 mtx = mtx_pool_find(mtxpool_sleep, bio);
76 mtx_lock(mtx);
78 mtx_unlock(mtx);
86 struct mtx *mtx; local
120 mtx = mtx_pool_find(mtxpool_sleep, bio);
121 mtx_lock(mtx);
123 msleep(bio, mtx, PRIBI
[all...]
/freebsd-current/sys/arm/ti/am335x/
H A Dam3359_cppi41.c62 struct mtx mtx; member in struct:ti_am3359_cppi41_softc
86 mtx_lock(&sc->mtx);
88 mtx_unlock(&sc->mtx);
100 mtx_lock(&sc->mtx);
102 mtx_unlock(&sc->mtx);
141 mtx_init(&sc->mtx, device_get_nameunit(sc->dev), NULL, MTX_DEF);
/freebsd-current/stand/kshim/
H A Dbsd_kernel.c263 struct mtx Giant;
273 mtx_init(struct mtx *mtx, const char *name, const char *type, int opt) argument
275 mtx->owned = 0;
276 mtx->parent = mtx;
280 mtx_lock(struct mtx *mtx) argument
282 mtx = mtx
287 mtx_unlock(struct mtx *mtx) argument
294 mtx_owned(struct mtx *mtx) argument
301 mtx_destroy(struct mtx *mtx) argument
357 cv_wait(struct cv *cv, struct mtx *mtx) argument
363 cv_timedwait(struct cv *cv, struct mtx *mtx, int timo) argument
487 callout_init_mtx(struct callout *c, struct mtx *mtx, int flags) argument
[all...]

Completed in 192 milliseconds

1234567891011>>