/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteClientBase.cpp | 43 std::lock_guard<std::mutex> lock(m_mutex); 56 std::lock_guard<std::mutex> lock(m_mutex); 103 // Do this with the continue lock held. 122 switch (cont_lock.lock()) { 137 Lock lock(*this, true); 138 if (!lock || !lock.DidInterrupt()) 148 Lock lock(*this, true); 149 if (!lock.DidInterrupt()) 158 Lock lock(*thi 311 GDBRemoteClientBase::ContinueLock::lock() { function in class:GDBRemoteClientBase::ContinueLock [all...] |
/freebsd-11-stable/contrib/ntp/lib/isc/win32/ |
H A D | app.c | 44 static isc_mutex_t lock; variable 87 result = isc_mutex_init(&lock); 109 LOCK(&lock); 131 UNLOCK(&lock); 142 LOCK(&lock); 161 UNLOCK(&lock); 205 LOCK(&lock); 213 UNLOCK(&lock); 224 LOCK(&lock); 233 UNLOCK(&lock); [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_base/ |
H A D | lock.c | 0 /* lock.c : functions for manipulating filesystem locks. 32 #include "lock.h" 36 #include "bdb/lock-tokens-table.h" 48 add_lock_and_token(svn_lock_t *lock, argument 53 SVN_ERR(svn_fs_bdb__lock_add(trail->fs, lock_token, lock, 60 /* Delete LOCK_TOKEN and its corresponding lock (associated with PATH, 92 BATON->path is the canonical abspath to lock. Set *BATON->lock_p 93 to the resulting lock. For the other arguments, see 104 svn_lock_t *lock; local 135 /* Is the caller attempting to lock a 256 svn_lock_t *lock; local 328 svn_lock_t *lock; local 460 svn_fs_base__get_lock(svn_lock_t **lock, svn_fs_t *fs, const char *path, apr_pool_t *pool) argument 484 spool_locks_info(void *baton, svn_lock_t *lock, apr_pool_t *pool) argument 557 svn_lock_t *lock; local 609 verify_lock(svn_fs_t *fs, svn_lock_t *lock, apr_pool_t *pool) argument 638 get_locks_callback(void *baton, svn_lock_t *lock, apr_pool_t *pool) argument 662 svn_lock_t *lock; local [all...] |
/freebsd-11-stable/contrib/ntp/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...] |
H A D | refcount.c | 33 return (isc_mutex_init(&ref->lock));
|
H A D | ratelimiter.c | 40 isc_mutex_t lock; member in struct:isc_ratelimiter 79 result = isc_mutex_init(&rl->lock); 103 DESTROYLOCK(&rl->lock); 112 LOCK(&rl->lock); 121 UNLOCK(&rl->lock); 144 LOCK(&rl->lock); 162 UNLOCK(&rl->lock); 182 LOCK(&rl->lock); 201 UNLOCK(&rl->lock); 214 LOCK(&rl->lock); [all...] |
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | radeon_irq_kms.c | 102 DRM_SPINLOCK_IRQSAVE(&rdev->irq.lock, irqflags); 114 DRM_SPINUNLOCK_IRQRESTORE(&rdev->irq.lock, irqflags); 149 DRM_SPINLOCK_IRQSAVE(&rdev->irq.lock, irqflags); 161 DRM_SPINUNLOCK_IRQRESTORE(&rdev->irq.lock, irqflags); 251 DRM_SPININIT(&rdev->irq.lock, "drm__radeon_device__irq__lock"); 313 DRM_SPINLOCK_IRQSAVE(&rdev->irq.lock, irqflags); 315 DRM_SPINUNLOCK_IRQRESTORE(&rdev->irq.lock, irqflags); 337 DRM_SPINLOCK_IRQSAVE(&rdev->irq.lock, irqflags); 339 DRM_SPINUNLOCK_IRQRESTORE(&rdev->irq.lock, irqflags); 363 DRM_SPINLOCK_IRQSAVE(&rdev->irq.lock, irqflag [all...] |
/freebsd-11-stable/contrib/amd/scripts/ |
H A D | ctl-amd.in | 97 test -x /var/lock/subsys && touch /var/lock/subsys/amd 106 rm -f /var/lock/subsys/amd 123 if [ -f /var/lock/subsys/amd ]; then
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | lock.h | 32 #include_next <sys/lock.h> 41 /* sx lock class */(2 << LO_CLASSSHIFT))
|
/freebsd-11-stable/sys/powerpc/powermac/ |
H A D | ata_dbdma.h | 34 #include <sys/lock.h>
|
/freebsd-11-stable/sys/dev/xe/ |
H A D | if_xevar.h | 41 struct mtx lock; member in struct:xe_softc 72 #define XE_LOCK(sc) mtx_lock(&(sc)->lock) 73 #define XE_UNLOCK(sc) mtx_unlock(&(sc)->lock) 74 #define XE_ASSERT_LOCKED(sc) mtx_assert(&(sc)->lock, MA_OWNED)
|
/freebsd-11-stable/sys/fs/procfs/ |
H A D | procfs_note.c | 39 #include <sys/lock.h>
|
/freebsd-11-stable/sys/dev/smbus/ |
H A D | smbus.h | 37 struct mtx lock; member in struct:smbus_softc
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | iwcm.h | 57 spinlock_t lock; member in struct:iwcm_id_private
|
/freebsd-11-stable/sys/dev/iicbus/ |
H A D | iicbus.h | 47 struct mtx lock; member in struct:iicbus_softc 66 #define IICBUS_LOCK(sc) mtx_lock(&(sc)->lock) 67 #define IICBUS_UNLOCK(sc) mtx_unlock(&(sc)->lock) 68 #define IICBUS_ASSERT_LOCKED(sc) mtx_assert(&(sc)->lock, MA_OWNED)
|
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Interpreter/ |
H A D | OptionValueFileSpecList.h | 43 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); 66 std::lock_guard<std::recursive_mutex> lock(m_mutex);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Core/ |
H A D | ModuleChild.cpp | 24 lldb::ModuleSP ModuleChild::GetModule() const { return m_module_wp.lock(); }
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/ |
H A D | mutex_posix.cpp | 15 void Mutex::lock() { function in class:gwp_asan::Mutex
|
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_idr.c | 38 #include <sys/lock.h> 53 spinlock_t lock; member in struct:linux_idr_cache 75 if (mtx_owned(&lic->lock.m) == 0) 96 spin_lock_init(&lic->lock); 112 spin_lock(&lic->lock); 114 spin_unlock(&lic->lock); 120 spin_lock_destroy(&lic->lock); 136 spin_lock(&lic->lock); 138 spin_unlock(&lic->lock); 140 spin_lock(&lic->lock); [all...] |
/freebsd-11-stable/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);
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_atomic.c | 31 #include <sys/lock.h> 43 #define mtx_lock(lock) pthread_mutex_lock(lock) 44 #define mtx_unlock(lock) pthread_mutex_unlock(lock)
|
/freebsd-11-stable/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-11-stable/sys/dev/filemon/ |
H A D | filemon.c | 44 #include <sys/lock.h> 79 * The filemon->lock protects several things currently: 86 struct sx lock; /* Lock for this filemon. */ member in struct:filemon 123 sx_assert(&filemon->lock, SA_UNLOCKED); 127 sx_destroy(&filemon->lock); 132 * Acquire the proc's p_filemon reference and lock the filemon. 152 sx_xlock(&filemon->lock); 164 sx_assert(&p->p_filemon->lock, SA_XLOCKED); 185 sx_xunlock(&filemon->lock); 215 sx_assert(&filemon->lock, SA_XLOCKE [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_ra_serf/ |
H A D | get_lock.c | 2 * get_lock.c : obtain single lock information functions for ra_serf 69 svn_lock_t *lock; 162 lock_ctx->lock->expiration_date = 0; 168 lock_ctx->lock->expiration_date = apr_time_now() + 183 lock_ctx->lock->token = buf; 190 lock_ctx->lock->comment = apr_pstrmemdup(lock_ctx->pool, 217 ctx->lock->owner = apr_pstrdup(ctx->pool, val); 223 SVN_ERR(svn_time_from_cstring(&ctx->lock->creation_date, val, 272 svn_lock_t **lock, 290 lock_ctx->lock 67 svn_lock_t *lock; member in struct:lock_info_t 268 svn_ra_serf__get_lock(svn_ra_session_t *ra_session, svn_lock_t **lock, const char *path, apr_pool_t *result_pool) argument [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | lockmgr.h | 59 #error "LOCK_FILE and LOCK_LINE not defined, include <sys/lock.h> before" 69 int __lockmgr_args(struct lock *lk, u_int flags, struct lock_object *ilk, 71 int lockmgr_lock_fast_path(struct lock *lk, u_int flags, 73 int lockmgr_unlock_fast_path(struct lock *lk, u_int flags, 76 void _lockmgr_assert(const struct lock *lk, int what, const char *file, int line); 78 void _lockmgr_disown(struct lock *lk, const char *file, int line); 80 void lockallowrecurse(struct lock *lk); 81 void lockallowshare(struct lock *lk); 82 void lockdestroy(struct lock *lk); 83 void lockdisablerecurse(struct lock *l [all...] |