HomeSort by: relevance | last modified time | path
    Searched refs:Lock (Results 1 - 25 of 189) sorted by relevancy

1 2 3 4 5 6 7 8

  /src/sys/external/bsd/gnu-efi/dist/lib/
lock.c 1 /* $NetBSD: lock.c,v 1.1.1.1 2014/04/01 16:16:06 jakllsch Exp $ */
9 lock.c
27 IN OUT FLOCK *Lock,
34 Initialize a basic mutual exclusion lock. Each lock
37 multiprocessor support, acquiring the lock only consists
40 Note on a debug build the lock is acquired and released
45 Lock - The FLOCK structure to initialize
47 Priority - The task priority level of the lock
52 An initialized F Lock structure
    [all...]
  /src/sys/external/bsd/acpica/dist/utilities/
utlock.c 3 * Module Name: utlock - Reader/Writer lock interfaces
57 * PARAMETERS: Lock - Pointer to a valid RW lock
61 * DESCRIPTION: Reader/writer lock creation and deletion interfaces.
67 ACPI_RW_LOCK *Lock)
72 Lock->NumReaders = 0;
73 Status = AcpiOsCreateMutex (&Lock->ReaderMutex);
79 Status = AcpiOsCreateMutex (&Lock->WriterMutex);
86 ACPI_RW_LOCK *Lock)
89 AcpiOsDeleteMutex (Lock->ReaderMutex)
    [all...]
  /src/sys/external/bsd/gnu-efi/dist/lib/runtime/
rtlock.c 9 lock.c
31 IN FLOCK *Lock
38 lock, and then acquires ownership of the lock.
42 Lock - The lock to acquire
46 Lock owned
52 Lock->OwnerTpl = uefi_call_wrapper(BS->RaiseTPL, 1, Lock->Tpl);
57 Lock->OwnerTpl = LibRuntimeRaiseTPL(Lock->Tpl)
    [all...]
  /src/sys/external/bsd/acpica/dist/include/platform/
aclinuxex.h 124 * argument and uses that as a name for the lock in debugging.
125 * By executing spin_lock_init() in a macro the key changes from "lock" for
131 spinlock_t *Lock = ACPI_ALLOCATE(sizeof(*Lock)); \
132 if (Lock) { \
133 *(__Handle) = Lock; \
136 Lock ? AE_OK : AE_NO_MEMORY; \
  /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_thread_arg_retval.h 36 void Lock() SANITIZER_ACQUIRE() { mtx_.Lock(); }
46 __sanitizer::Lock lock(&mtx_);
61 // Lock to prevent re-use of the thread between fn() and DetachLocked()
63 __sanitizer::Lock lock(&mtx_);
83 __sanitizer::Lock lock(&mtx_);
88 // anyway. We likely should lock/unlock the object to avoid deadlocks, an
    [all...]
sanitizer_thread_arg_retval.cpp 31 __sanitizer::Lock lock(&mtx_);
40 __sanitizer::Lock lock(&mtx_);
54 __sanitizer::Lock lock(&mtx_);
62 __sanitizer::Lock lock(&mtx_);
sanitizer_mutex.h 29 void Lock() SANITIZER_ACQUIRE() {
133 ALWAYS_INLINE void Lock() {
172 void Lock() SANITIZER_ACQUIRE() {
173 CheckedMutex::Lock();
180 // The mutex is not read-/write-locked, try to lock.
210 // next time we take the lock or block again.
222 // The mutex is not read-/write-locked, try to lock.
225 CheckedMutex::Lock();
260 CheckedMutex::Lock();
338 // - number of readers holding the lock,
    [all...]
sanitizer_stack_store.h 112 void Lock() SANITIZER_NO_THREAD_SAFETY_ANALYSIS { mtx_.Lock(); }
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_mutex.h 48 void Lock();
69 typedef GenericScopedLock<Mutex> Lock;
75 void Lock(MutexType t);
  /src/external/apache2/llvm/dist/llvm/lib/Support/
PluginLoader.cpp 26 sys::SmartScopedLock<true> Lock(*PluginsLock);
37 sys::SmartScopedLock<true> Lock(*PluginsLock);
42 sys::SmartScopedLock<true> Lock(*PluginsLock);
Parallel.cpp 49 std::lock_guard<std::mutex> Lock(Mutex);
63 std::lock_guard<std::mutex> Lock(Mutex);
91 std::lock_guard<std::mutex> Lock(Mutex);
101 std::unique_lock<std::mutex> Lock(Mutex);
102 Cond.wait(Lock, [&] { return Stop || !WorkStack.empty(); });
107 Lock.unlock();
150 // lock if all threads in the default executor are blocked. To prevent the dead
151 // lock, only allow the first TaskGroup to run tasks parallelly. In the scenario
DynamicLibrary.cpp 117 // Lock for ExplicitSymbols and OpenedHandles.
142 SmartScopedLock<true> Lock(*SymbolsMutex);
154 SmartScopedLock<true> Lock(*SymbolsMutex);
163 SmartScopedLock<true> Lock(*SymbolsMutex);
179 SmartScopedLock<true> Lock(*SymbolsMutex);
ManagedStatic.cpp 31 std::lock_guard<std::recursive_mutex> Lock(*getManagedStaticMutex());
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/
atomic.c 20 * To avoid needing a per-object lock, this code allocates an array of
22 * For operations that must be atomic on two locations, the lower lock is
49 // Platform-specific lock implementation. Falls back to spinlocks if none is
50 // defined. Each platform should define the Lock type, and corresponding
51 // lock() and unlock() functions.
58 typedef struct _usem Lock;
59 __inline static void unlock(Lock *l) {
65 __inline static void lock(Lock *l) { function
74 static Lock locks[SPINLOCK_COUNT] = { [0 ... SPINLOCK_COUNT-1] = {0,1,0} }
84 __inline static void lock(Lock *l) { function
97 __inline static void lock(Lock *l) { function
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/
tsan_mutex.cc 27 t.Lock(m);
33 t.Lock(m);
45 t.Lock(m);
51 t.Lock(m);
63 t.Lock(m);
69 t.Lock(m);
79 t.Lock(m);
102 t1.Lock(m);
105 t2.Lock(m);
118 t1.Lock(m)
    [all...]
tsan_bench.cc 97 t.Lock(m);
101 m.Lock();
  /src/external/apache2/llvm/dist/llvm/lib/IR/
PassRegistry.cpp 42 sys::SmartScopedReader<true> Guard(Lock);
47 sys::SmartScopedReader<true> Guard(Lock);
56 sys::SmartScopedWriter<true> Guard(Lock);
72 sys::SmartScopedReader<true> Guard(Lock);
96 sys::SmartScopedWriter<true> Guard(Lock);
117 sys::SmartScopedWriter<true> Guard(Lock);
122 sys::SmartScopedWriter<true> Guard(Lock);
  /src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
ThreadSafeModule.h 27 /// An LLVMContext together with an associated mutex that can be used to lock
39 // RAII based lock for ThreadSafeContext.
40 class LLVM_NODISCARD Lock {
42 Lock(std::shared_ptr<State> S) : S(std::move(S)), L(this->S->Mutex) {}
67 Lock getLock() const {
68 assert(S && "Can not lock an empty ThreadSafeContext");
69 return Lock(S);
90 // We also need to lock the context to make sure the module tear-down
113 // We need to lock the context while we destruct the module.
135 auto Lock = TSCtx.getLock()
    [all...]
  /src/external/gpl3/gcc/dist/libsanitizer/lsan/
lsan_thread.cpp 33 Lock lock(&mu_for_thread_context);
87 thread_registry->Lock();
88 thread_arg_retval->Lock();
  /src/sys/external/bsd/acpica/dist/tests/misc/
converterSample.asl 73 Field(GNVS,AnyAcc,Lock,Preserve)
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
IRCompileLayer.cpp 24 std::lock_guard<std::mutex> Lock(IRLayerMutex);
34 std::lock_guard<std::mutex> Lock(IRLayerMutex);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_mutex.h 29 void Lock() {
79 void Lock();
108 void Lock() {
184 mu_->Lock();
  /src/external/apache2/llvm/dist/llvm/include/llvm/
PassRegistry.h 39 mutable sys::SmartRWMutex<true> Lock;
  /src/external/gpl2/gettext/dist/gettext-tools/tests/
msgexec-4 25 #. Denote a lock's state
26 msgctxt "Lock state"
30 #. Denote a lock's state
31 msgctxt "Lock state"
95 context: Lock state
100 context: Lock state
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/benchmarks/
vts_many_threads_bench.cc 35 void Lock() { pthread_mutex_lock(&m_); }
64 mutexes[(offset + i) % kNumMutexes].Lock();

Completed in 27 milliseconds

1 2 3 4 5 6 7 8