/freebsd-11-stable/sys/dev/smbus/ |
H A D | smbus.h | 37 struct mtx lock;
|
/freebsd-11-stable/sys/dev/mmc/ |
H A D | mmc_private.h | 60 struct mtx sc_mtx;
|
/freebsd-11-stable/sys/nfs/ |
H A D | nfs_fha.h | 65 struct mtx *mtx; member in struct:fha_hash_entry 78 struct mtx mtx; member in struct:fha_hash_slot
|
H A D | nfs_fha.c | 57 mtx_init(&softc->fha_hash[i].mtx, "fhalock", NULL, MTX_DEF); 111 mtx_destroy(&softc->fha_hash[i].mtx); 204 mtx_assert(e->mtx, MA_OWNED); 218 mtx_assert(e->mtx, MA_OWNED); 233 new_fhe->mtx = &fhs->mtx; 234 mtx_lock(&fhs->mtx); 250 mtx_assert(fhe->mtx, MA_OWNED); 260 mtx_assert(fhe->mtx, MA_OWNED); 274 mtx_assert(fhe->mtx, MA_OWNE 445 struct mtx *mtx; local [all...] |
/freebsd-11-stable/sys/dev/bhnd/cores/pci/ |
H A D | bhnd_pcivar.h | 96 struct mtx mtx; /**< state mutex used to protect member in struct:bhnd_pci_softc 106 mtx_init(&(sc)->mtx, device_get_nameunit((sc)->dev), \ 108 #define BHND_PCI_LOCK(sc) mtx_lock(&(sc)->mtx) 109 #define BHND_PCI_UNLOCK(sc) mtx_unlock(&(sc)->mtx) 110 #define BHND_PCI_LOCK_ASSERT(sc, what) mtx_assert(&(sc)->mtx, what) 111 #define BHND_PCI_LOCK_DESTROY(sc) mtx_destroy(&(sc)->mtx)
|
/freebsd-11-stable/sys/arm/allwinner/ |
H A D | aw_reset.c | 62 struct mtx mtx; member in struct:aw_reset_softc 81 mtx_lock(&sc->mtx); 88 mtx_unlock(&sc->mtx); 101 mtx_lock(&sc->mtx); 103 mtx_unlock(&sc->mtx); 135 mtx_init(&sc->mtx, device_get_nameunit(dev), NULL, MTX_DEF);
|
/freebsd-11-stable/sys/dev/sound/usb/ |
H A D | uaudio_pcm.c | 138 struct mtx *mtx = mixer_get_lock(m); local 141 if (mtx_owned(mtx)) { 145 mtx_lock(mtx); 149 mtx_unlock(mtx); 157 struct mtx *mtx = mixer_get_lock(m); local 161 if (mtx_owned(mtx)) { 165 mtx_lock(mtx); 169 mtx_unlock(mtx); [all...] |
/freebsd-11-stable/sys/dev/cmx/ |
H A D | cmxvar.h | 52 struct mtx mtx; /* per-unit lock */ member in struct:cmx_softc 97 #define CMX_LOCK(sc) mtx_lock(&(sc)->mtx) 98 #define CMX_UNLOCK(sc) mtx_unlock(&(sc)->mtx) 99 #define CMX_LOCK_ASSERT(sc, what) mtx_assert(&(sc)->mtx, (what))
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | xarray.h | 49 #define XA_ASSERT_LOCKED(xa) mtx_assert(&(xa)->mtx, MA_OWNED) 50 #define xa_lock(xa) mtx_lock(&(xa)->mtx) 51 #define xa_unlock(xa) mtx_unlock(&(xa)->mtx) 55 struct mtx mtx; /* internal mutex */ member in struct:xarray
|
/freebsd-11-stable/usr.bin/mkuzip/ |
H A D | mkuz_fqueue.c | 52 if (pthread_mutex_init(&fqp->mtx, NULL) != 0) { 69 pthread_mutex_lock(&fqp->mtx); 80 pthread_mutex_unlock(&fqp->mtx); 90 pthread_mutex_lock(&fqp->mtx); 102 pthread_mutex_unlock(&fqp->mtx); 126 pthread_mutex_lock(&fqp->mtx); 128 pthread_cond_wait(&fqp->cvar, &fqp->mtx); 158 pthread_mutex_unlock(&fqp->mtx); 171 pthread_mutex_lock(&fqp->mtx); 173 pthread_cond_wait(&fqp->cvar, &fqp->mtx); [all...] |
H A D | mkuz_fqueue.h | 30 pthread_mutex_t mtx; member in struct:mkuz_fifo_queue
|
/freebsd-11-stable/sys/dev/bhnd/nvram/ |
H A D | bhnd_spromvar.h | 81 struct mtx mtx; /**< SPROM shadow mutex */ member in struct:bhnd_sprom_softc
|
/freebsd-11-stable/sys/sparc64/pci/ |
H A D | firevar.h | 44 struct mtx sc_msi_mtx; 45 struct mtx sc_pcib_mtx;
|
H A D | schizovar.h | 51 struct mtx sc_sync_mtx; 54 struct mtx *sc_mtx;
|
H A D | psychovar.h | 48 struct mtx *sc_mtx;
|
/freebsd-11-stable/sys/dev/dwc/ |
H A D | if_dwcvar.h | 69 struct mtx mtx; member in struct:dwc_softc
|
/freebsd-11-stable/sys/i386/bios/ |
H A D | apm.h | 35 struct mtx mtx; member in struct:apm_softc
|
/freebsd-11-stable/sys/libkern/ |
H A D | arc4random.c | 34 struct mtx mtx; member in struct:arc4_s 75 mtx_lock(&arc4->mtx); 94 mtx_unlock(&arc4->mtx); 111 mtx_init(&arc4->mtx, "arc4_mtx", NULL, MTX_DEF); 130 mtx_destroy(&arc4->mtx); 178 mtx_lock(&arc4->mtx); 183 mtx_unlock(&arc4->mtx);
|
/freebsd-11-stable/sys/sys/ |
H A D | selinfo.h | 48 struct mtx *si_mtx; /* Lock for tdlist. */
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | ps2mouse.c | 97 pthread_mutex_t mtx; member in struct:ps2mouse_softc 162 assert(pthread_mutex_isowned_np(&sc->mtx)); 182 assert(pthread_mutex_isowned_np(&sc->mtx)); 230 assert(pthread_mutex_isowned_np(&sc->mtx)); 248 pthread_mutex_lock(&sc->mtx); 250 pthread_mutex_unlock(&sc->mtx); 264 pthread_mutex_lock(&sc->mtx); 273 pthread_mutex_unlock(&sc->mtx); 279 pthread_mutex_lock(&sc->mtx); 366 pthread_mutex_unlock(&sc->mtx); [all...] |
H A D | usb_emul.h | 113 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-11-stable/sys/fs/devfs/ |
H A D | devfs_int.h | 88 extern struct mtx devmtx; 89 extern struct mtx devfs_de_interlock; 91 extern struct mtx cdevpriv_mtx;
|
/freebsd-11-stable/sys/dev/ae/ |
H A D | if_aevar.h | 112 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-11-stable/sys/dev/ixl/ |
H A D | ixl_iw.c | 76 mtx_lock(&ixl_iw.mtx); 85 mtx_unlock(&ixl_iw.mtx); 89 mtx_unlock(&ixl_iw.mtx); 118 mtx_destroy(&ixl_iw.mtx); 129 mtx_init(&ixl_iw.mtx, "ixl_iw_pfs", NULL, MTX_DEF); 148 mtx_lock(&ixl_iw.mtx); 183 mtx_unlock(&ixl_iw.mtx); 195 mtx_lock(&ixl_iw.mtx); 214 mtx_unlock(&ixl_iw.mtx); 230 mtx_lock(&ixl_iw.mtx); [all...] |
/freebsd-11-stable/sys/dev/nvme/ |
H A D | nvme_test.c | 75 struct mtx *mtx; local 77 mtx = mtx_pool_find(mtxpool_sleep, bio); 78 mtx_lock(mtx); 80 mtx_unlock(mtx); 88 struct mtx *mtx; local 121 mtx = mtx_pool_find(mtxpool_sleep, bio); 122 mtx_lock(mtx); 124 msleep(bio, mtx, PRIBI [all...] |