Searched refs:lock (Results 201 - 225 of 2780) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs.h136 ocs_rlock_t lock; /**< device wide lock */ member in struct:ocs_softc
231 ocs_rlock_init(ocs, &ocs->lock, "ocsdevicelock");
237 return ocs_rlock_try(&ocs->lock);
243 ocs_rlock_acquire(&ocs->lock);
249 ocs_rlock_release(&ocs->lock);
255 ocs_rlock_free(&ocs->lock);
/freebsd-11-stable/contrib/libstdc++/include/ext/
H A Dconcurrence.h131 void lock() function in class:__mutex
178 void lock() function in class:__recursive_mutex
201 /// @brief Scoped lock idiom.
217 { _M_device.lock(); }
/freebsd-11-stable/contrib/llvm-project/lldb/source/API/
H A DSBQueue.cpp52 bool IsValid() { return m_queue_wp.lock() != nullptr; }
69 lldb::QueueSP queue_sp = m_queue_wp.lock();
78 lldb::QueueSP queue_sp = m_queue_wp.lock();
87 lldb::QueueSP queue_sp = m_queue_wp.lock();
96 lldb::QueueSP queue_sp = m_queue_wp.lock();
116 QueueSP queue_sp = m_queue_wp.lock();
149 QueueSP queue_sp = m_queue_wp.lock();
153 ThreadSP thread_sp = m_threads[idx].lock();
165 QueueSP queue_sp = m_queue_wp.lock();
185 QueueSP queue_sp = m_queue_wp.lock();
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Target/
H A DQueueItem.cpp46 QueueSP queue_sp = m_queue_wp.lock();
93 ProcessSP QueueItem::GetProcessSP() { return m_process_wp.lock(); }
98 ProcessSP process_sp = m_process_wp.lock();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DRWMutex.cpp29 bool RWMutexImpl::lock() { return true; } function in class:RWMutexImpl
91 RWMutexImpl::lock()
126 bool RWMutexImpl::lock() {
/freebsd-11-stable/contrib/llvm-project/lldb/source/Expression/
H A DUtilityFunction.cpp49 lldb::ProcessSP process_sp(m_jit_process_wp.lock());
51 lldb::ModuleSP jit_module_sp(m_jit_module_wp.lock());
66 ProcessSP process_sp = m_jit_process_wp.lock();
/freebsd-11-stable/contrib/llvm-project/libcxx/src/
H A Dshared_mutex.cpp28 __shared_mutex_base::lock() function in class:__shared_mutex_base
109 void shared_timed_mutex::lock() { return __base.lock(); } function in class:shared_timed_mutex
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/
H A Datomic.c19 // To avoid needing a per-object lock, this code allocates an array of
21 // For operations that must be atomic on two locations, the lower lock is
48 // Platform-specific lock implementation. Falls back to spinlocks if none is
50 // lock() and unlock() functions.
66 __inline static void lock(Lock *l) { function
82 /// Locks a lock. In the current implementation, this is potentially
84 __inline static void lock(Lock *l) { OSSpinLockLock(l); } function
89 /// Unlock a lock. This is a release operation.
93 /// Locks a lock. In the current implementation, this is potentially
95 __inline static void lock(Loc function
[all...]
/freebsd-11-stable/contrib/ipfilter/
H A Dradix_ipf.h61 ipfmutex_t lock; member in struct:ipf_rdx_head
77 # define RADIX_NODE_HEAD_LOCK(x) MUTEX_ENTER(&(x)->lock)
78 # define RADIX_NODE_HEAD_UNLOCK(x) MUTEX_UNLOCK(&(x)->lock)
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dradix_ipf.h59 ipfmutex_t lock; member in struct:ipf_rdx_head
75 # define RADIX_NODE_HEAD_LOCK(x) MUTEX_ENTER(&(x)->lock)
76 # define RADIX_NODE_HEAD_UNLOCK(x) MUTEX_UNLOCK(&(x)->lock)
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Dquota.h52 isc_mutex_t lock; /*%< Locked by lock. */ member in struct:isc_quota
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_base/bdb/
H A Dlocks-table.h45 /* Add a lock to the `locks' table in FS, as part of TRAIL.
54 svn_lock_t *lock,
59 /* Remove the lock whose key is LOCK_TOKEN from the `locks' table of
70 /* Retrieve the lock *LOCK_P pointed to by LOCK_TOKEN from the `locks'
87 in FS. Pass each lock to GET_LOCKS_FUNC callback along with
95 returned lock hasn't yet expired.
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_vm.c31 #include <sys/lock.h>
/freebsd-11-stable/sys/dev/drm/
H A Ddrm_sarea.h71 struct drm_hw_lock lock; member in struct:drm_sarea
72 /** \todo Use readers/writer lock for drm_sarea::drawable_lock */
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_sarea.h73 struct drm_hw_lock lock; member in struct:drm_sarea
74 /** \todo Use readers/writer lock for drm_sarea::drawable_lock */
/freebsd-11-stable/sys/arm/xilinx/
H A Dzy7_l2cache.c37 #include <sys/lock.h>
/freebsd-11-stable/sys/riscv/riscv/
H A Duma_machdep.c31 #include <sys/lock.h>
/freebsd-11-stable/sys/dev/hwpmc/
H A Dhwpmc_pentium.c31 #include <sys/lock.h>
/freebsd-11-stable/sys/dev/isci/scil/
H A Dscif_sas_high_priority_request_queue.h99 * This field specifies the necessary lock information (e.g. level)
103 SCIF_SAS_LOCK_T lock; member in struct:SCIF_SAS_HIGH_PRIORITY_REQUEST_QUEUE
/freebsd-11-stable/sys/dev/ex/
H A Dif_exvar.h68 struct mtx lock; member in struct:ex_softc
114 #define EX_LOCK(sc) mtx_lock(&(sc)->lock)
115 #define EX_UNLOCK(sc) mtx_unlock(&(sc)->lock)
116 #define EX_ASSERT_LOCKED(sc) mtx_assert(&(sc)->lock, MA_OWNED)
/freebsd-11-stable/sys/dev/tx/
H A Dif_txvar.h80 struct mtx lock; member in struct:__anon11764
120 #define EPIC_LOCK(sc) mtx_lock(&(sc)->lock)
121 #define EPIC_UNLOCK(sc) mtx_unlock(&(sc)->lock)
122 #define EPIC_ASSERT_LOCKED(sc) mtx_assert(&(sc)->lock, MA_OWNED)
/freebsd-11-stable/sys/dev/xen/debug/
H A Ddebug.c55 static struct mtx lock; variable in typeref:struct:mtx
80 mtx_lock_spin(&lock);
85 mtx_unlock_spin(&lock);
118 mtx_init(&lock, "xen-dbg", NULL, MTX_SPIN);
/freebsd-11-stable/sys/fs/procfs/
H A Dprocfs_mem.c40 #include <sys/lock.h>
/freebsd-11-stable/contrib/ofed/opensm/include/vendor/
H A Dosm_vendor_mlx_defs.h78 cl_spinlock_t lock; member in struct:_osmv_bind_obj
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_fcoe.h41 osal_spinlock_t lock; member in struct:ecore_fcoe_info

Completed in 236 milliseconds

1234567891011>>