/freebsd-current/contrib/unbound/services/ |
H A D | view.h | 57 /** lock on the view tree */ 58 lock_rw_type lock; member in struct:views 71 * view_create's lock protect */ 80 /** lock on the data in the structure 81 * For the node and name you need to also hold the views_tree lock to 83 lock_rw_type lock; member in struct:view 133 * @param write: 1 for obtaining write lock on found view, 0 for read lock
|
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | refcount.h | 67 refcount_dec_and_lock_irqsave(refcount_t *ref, spinlock_t *lock, argument 71 spin_lock_irqsave(lock, flags);
|
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/ |
H A D | mutex.h | 34 SRWLOCK lock; member in struct:malloc_mutex_s::__anon827::__anon828 36 CRITICAL_SECTION lock; member in struct:malloc_mutex_s::__anon827::__anon828 39 os_unfair_lock lock; member in struct:malloc_mutex_s::__anon827::__anon828 41 pthread_mutex_t lock; member in struct:malloc_mutex_s::__anon827::__anon828 44 pthread_mutex_t lock; member in struct:malloc_mutex_s::__anon827::__anon828 78 # define MALLOC_MUTEX_LOCK(m) AcquireSRWLockExclusive(&(m)->lock) 79 # define MALLOC_MUTEX_UNLOCK(m) ReleaseSRWLockExclusive(&(m)->lock) 80 # define MALLOC_MUTEX_TRYLOCK(m) (!TryAcquireSRWLockExclusive(&(m)->lock)) 82 # define MALLOC_MUTEX_LOCK(m) EnterCriticalSection(&(m)->lock) 83 # define MALLOC_MUTEX_UNLOCK(m) LeaveCriticalSection(&(m)->lock) [all...] |
/freebsd-current/sys/sys/ |
H A D | lockmgr.h | 60 #error "LOCK_FILE and LOCK_LINE not defined, include <sys/lock.h> before" 70 int __lockmgr_args(struct lock *lk, u_int flags, struct lock_object *ilk, 72 int lockmgr_lock_flags(struct lock *lk, u_int flags, 74 int lockmgr_slock(struct lock *lk, u_int flags, const char *file, int line); 75 int lockmgr_xlock(struct lock *lk, u_int flags, const char *file, int line); 76 int lockmgr_unlock(struct lock *lk); 79 void _lockmgr_assert(const struct lock *lk, int what, const char *file, int line); 81 void _lockmgr_disown(struct lock *lk, const char *file, int line); 83 void lockallowrecurse(struct lock *lk); 84 void lockallowshare(struct lock *l [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteClientBase.cpp | 46 std::lock_guard<std::mutex> lock(m_mutex); 68 std::lock_guard<std::mutex> lock(m_mutex); 127 // Do this with the continue lock held. 146 switch (cont_lock.lock()) { 162 Lock lock(*this, interrupt_timeout); 163 if (!lock || !lock.DidInterrupt()) 173 Lock lock(*this, interrupt_timeout); 174 if (!lock.DidInterrupt()) 184 Lock lock(*thi 327 GDBRemoteClientBase::ContinueLock::lock() { function in class:GDBRemoteClientBase::ContinueLock [all...] |
/freebsd-current/contrib/ntp/libntp/lib/isc/ |
H A D | task.c | 107 isc_mutex_t lock; member in struct:isc__task 108 /* Locked by task lock. */ 118 /* Locked by task manager lock. */ 139 isc_mutex_t lock; member in struct:isc__taskmgr 144 /* Locked by task manager lock. */ 307 LOCK(&manager->lock); 320 UNLOCK(&manager->lock); 322 DESTROYLOCK(&task->lock); 344 result = isc_mutex_init(&task->lock); 349 LOCK(&manager->lock); [all...] |
/freebsd-current/sys/dev/nvmf/controller/ |
H A D | nvmft_controller.c | 11 #include <sys/lock.h> 61 mtx_init(&ctrlr->lock, "nvmft controller", NULL, MTX_DEF); 83 mtx_destroy(&ctrlr->lock); 126 sx_xlock(&np->lock); 129 sx_xunlock(&np->lock); 167 sx_xunlock(&np->lock); 191 sx_slock(&np->lock); 197 sx_sunlock(&np->lock); 208 sx_sunlock(&np->lock); 218 sx_sunlock(&np->lock); [all...] |
/freebsd-current/sys/dev/iicbus/gpio/ |
H A D | pcf8574.c | 72 struct sx lock; member in struct:pcf8574_softc 144 sx_init(&sc->lock, "pcf8574"); 148 sx_destroy(&sc->lock); 164 sx_destroy(&sc->lock); 206 sx_xlock(&sc->lock); 211 sx_xunlock(&sc->lock); 228 sx_xunlock(&sc->lock); 248 sx_xlock(&sc->lock); 268 sx_xunlock(&sc->lock); 292 sx_xlock(&sc->lock); [all...] |
/freebsd-current/sys/compat/linuxkpi/common/src/ |
H A D | linux_idr.c | 35 #include <sys/lock.h> 50 spinlock_t lock; member in struct:linux_idr_cache 72 if (mtx_owned(&lic->lock) == 0) 93 spin_lock_init(&lic->lock); 109 spin_lock(&lic->lock); 111 spin_unlock(&lic->lock); 117 spin_lock_destroy(&lic->lock); 133 spin_lock(&lic->lock); 135 spin_unlock(&lic->lock); 137 spin_lock(&lic->lock); [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/ |
H A D | mutex_fuchsia.cpp | 14 void Mutex::lock() __TA_NO_THREAD_SAFETY_ANALYSIS { sync_mutex_lock(&Mu); }
|
H A D | mutex_posix.cpp | 15 void Mutex::lock() { function in class:gwp_asan::Mutex
|
/freebsd-current/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | lock.h | 32 #include_next <sys/lock.h>
|
/freebsd-current/sys/contrib/openzfs/include/sys/ |
H A D | zfs_ratelimit.h | 36 kmutex_t lock; member in struct:__anon10466
|
/freebsd-current/contrib/llvm-project/lldb/source/Core/ |
H A D | ModuleChild.cpp | 24 lldb::ModuleSP ModuleChild::GetModule() const { return m_module_wp.lock(); }
|
/freebsd-current/crypto/openssl/providers/implementations/include/prov/ |
H A D | kdfexchange.h | 17 CRYPTO_RWLOCK *lock; member in struct:kdf_data_st
|
H A D | macsignature.h | 16 CRYPTO_RWLOCK *lock; member in struct:mac_key_st
|
/freebsd-current/sys/dev/smbus/ |
H A D | smbus.h | 37 struct mtx lock; member in struct:smbus_softc
|
/freebsd-current/sys/powerpc/powermac/ |
H A D | ata_dbdma.h | 34 #include <sys/lock.h>
|
/freebsd-current/sys/ofed/drivers/infiniband/core/ |
H A D | iwcm.h | 57 spinlock_t lock; member in struct:iwcm_id_private
|
/freebsd-current/sys/fs/procfs/ |
H A D | procfs_note.c | 37 #include <sys/lock.h>
|
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Interpreter/ |
H A D | OptionValueFileSpecList.h | 41 std::lock_guard<std::recursive_mutex> lock(m_mutex); 51 std::lock_guard<std::recursive_mutex> lock(m_mutex); 56 std::lock_guard<std::recursive_mutex> lock(m_mutex); 61 std::lock_guard<std::recursive_mutex> lock(m_mutex);
|
/freebsd-current/sys/contrib/vchiq/interface/compat/ |
H A D | vchi_bsd.c | 82 mtx_init(&t->mtx, "dahdi timer lock", NULL, MTX_SPIN); 138 mtx_init(&c->lock, "VCHI completion lock", "condvar", MTX_DEF); 146 mtx_destroy(&c->lock); 152 mtx_lock(&c->lock); 162 mtx_unlock(&c->lock); 168 mtx_lock(&c->lock); 178 mtx_unlock(&c->lock); 184 mtx_lock(&c->lock); 188 mtx_unlock(&c->lock); [all...] |
/freebsd-current/crypto/openssl/crypto/ec/ |
H A D | ecx_key.c | 47 ret->lock = CRYPTO_THREAD_lock_new(); 48 if (ret->lock == NULL) 64 CRYPTO_DOWN_REF(&key->references, &i, key->lock); 72 CRYPTO_THREAD_lock_free(key->lock); 85 if (CRYPTO_UP_REF(&key->references, &i, key->lock) <= 0)
|
/freebsd-current/lib/libnetmap/ |
H A D | nmctx.c | 71 .lock = NULL, 131 if (ctx->lock != NULL) 132 ctx->lock(ctx, 1); 138 if (ctx->lock != NULL) 139 ctx->lock(ctx, 0);
|
/freebsd-current/sys/dev/cxgbe/iw_cxgbe/ |
H A D | id_table.c | 54 spin_lock_irqsave(&alloc->lock, flags); 72 spin_unlock_irqrestore(&alloc->lock, flags); 83 spin_lock_irqsave(&alloc->lock, flags); 85 spin_unlock_irqrestore(&alloc->lock, flags); 100 spin_lock_init(&alloc->lock);
|