Searched defs:mtx_lock (Results 1 - 13 of 13) sorted by relevance

/freebsd-head/sys/sys/
H A D_mutex.h41 * All mutex implementations must always have a member called mtx_lock.
49 volatile uintptr_t mtx_lock; /* Owner and flags. */ member in struct:mtx
63 volatile uintptr_t mtx_lock; /* Owner and flags. */ member in struct:mtx_padalign
H A Dmutex.h67 * State bits kept in mutex->mtx_lock, for the DEFAULT lock type. None of this,
167 * failing compilation as the mtx_lock reserved member will not be found.
170 _mtx_init(&(m)->mtx_lock, n, t, o)
172 _mtx_destroy(&(m)->mtx_lock)
174 _mtx_trylock_flags_(&(m)->mtx_lock, o, f, l)
177 __mtx_lock_sleep(&(m)->mtx_lock, v, o, f, l)
179 __mtx_unlock_sleep(&(m)->mtx_lock, v, o, f, l)
182 __mtx_lock_sleep(&(m)->mtx_lock, v)
184 __mtx_unlock_sleep(&(m)->mtx_lock, v)
189 _mtx_lock_spin_cookie(&(m)->mtx_lock,
383 #define mtx_lock macro
[all...]
/freebsd-head/lib/libstdthreads/
H A Dmtx.c75 mtx_lock(mtx_t *mtx) function
/freebsd-head/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_atomic.c47 #define mtx_lock(lock) pthread_mutex_lock(lock) macro
63 mtx_lock(&atomic_mtx);
72 mtx_lock(&atomic_mtx);
82 mtx_lock(&atomic_mtx);
94 mtx_lock(&atomic_mtx);
105 mtx_lock(&atomic_mtx);
116 mtx_lock(&atomic_mtx);
/freebsd-head/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_atomic.c47 #define mtx_lock(lock) pthread_mutex_lock(lock) macro
63 mtx_lock(&atomic_mtx);
72 mtx_lock(&atomic_mtx);
82 mtx_lock(&atomic_mtx);
94 mtx_lock(&atomic_mtx);
105 mtx_lock(&atomic_mtx);
116 mtx_lock(&atomic_mtx);
/freebsd-head/contrib/openbsm/bin/auditdistd/
H A Dsynch.h65 mtx_lock(pthread_mutex_t *lock) function
/freebsd-head/contrib/processor-trace/include/posix/
H A Dthreads.h155 static inline int mtx_lock(mtx_t *mtx) function
/freebsd-head/contrib/processor-trace/include/windows/
H A Dthreads.h159 static inline int mtx_lock(mtx_t *mtx) function
/freebsd-head/sys/arm64/coresight/
H A Dcoresight.h101 struct mtx mtx_lock; member in struct:coresight_platform_data
/freebsd-head/sys/kern/
H A Dsubr_unit.c107 mtx_lock(&unitmtx);
151 mtx_lock(struct mtx *mp) function
320 mtx_lock(uh->mtx);
329 mtx_lock(uh->mtx);
654 mtx_lock(uh->mtx);
774 mtx_lock(uh->mtx);
907 mtx_lock(uh->mtx);
/freebsd-head/sys/dev/xdma/
H A Dxdma.h164 struct mtx mtx_lock; member in struct:xdma_channel
206 #define XCHAN_LOCK(xchan) mtx_lock(&(xchan)->mtx_lock)
207 #define XCHAN_UNLOCK(xchan) mtx_unlock(&(xchan)->mtx_lock)
209 mtx_assert(&(xchan)->mtx_lock, MA_OWNED)
211 #define QUEUE_IN_LOCK(xchan) mtx_lock(&(xchan)->mtx_qin_lock)
216 #define QUEUE_OUT_LOCK(xchan) mtx_lock(&(xchan)->mtx_qout_lock)
221 #define QUEUE_BANK_LOCK(xchan) mtx_lock(&(xchan)->mtx_bank_lock)
226 #define QUEUE_PROC_LOCK(xchan) mtx_lock(&(xchan)->mtx_proc_lock)
/freebsd-head/stand/kshim/
H A Dbsd_kernel.c266 mtx_lock(struct mtx *mtx) function
378 mtx_lock(mtx);
426 mtx_lock(c->mtx);
428 mtx_lock(&mtx_callout);
456 mtx_lock(&mtx_callout);
494 mtx_lock(&mtx_callout);
502 mtx_lock(&mtx_callout);
520 mtx_lock(c->mtx);
530 mtx_lock(&mtx_callout);
1188 mtx_lock(
[all...]
/freebsd-head/contrib/llvm-project/openmp/runtime/src/
H A Dkmp.h2173 kmp_lock_t *mtx_lock; /* is referenced by depnodes w/mutexinoutset dep */ member in struct:kmp_dephash_entry

Completed in 129 milliseconds