/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 165 * PARAMETERS: Lock - Pointer to a valid RW lock 169 * DESCRIPTION: Reader/writer lock creation and deletion interfaces. 175 ACPI_RW_LOCK *Lock) 180 Lock->NumReaders = 0; 181 Status = AcpiOsCreateMutex (&Lock->ReaderMutex); 187 Status = AcpiOsCreateMutex (&Lock->WriterMutex); 194 ACPI_RW_LOCK *Lock) 197 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 | 232 * argument and uses that as a name for the lock in debugging. 233 * By executing spin_lock_init() in a macro the key changes from "lock" for 239 spinlock_t *Lock = ACPI_ALLOCATE(sizeof(*Lock)); \ 240 if (Lock) { \ 241 *(__Handle) = Lock; \ 244 Lock ? AE_OK : AE_NO_MEMORY; \
|
/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);
|
tsan_mutex.cc | 54 // Build the "can lock" adjacency matrix. 55 // If [i][j]==true, then one can lock mutex j while under mutex i. 105 Printf("Can lock graph:\n"); 112 Printf("Can lock graph closure:\n"); 135 void InternalDeadlockDetector::Lock(MutexType t) { 136 // Printf("LOCK %d @%zu\n", t, seq_ + 1); 156 Printf("ThreadSanitizer: can't lock %d while under %zu\n", 227 void Mutex::Lock() { 229 cur_thread()->internal_deadlock_detector.Lock(type_); 260 cur_thread()->internal_deadlock_detector.Lock(type_) [all...] |
/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 in typeref:typename:void 74 static Lock locks[SPINLOCK_COUNT] = { [0 ... SPINLOCK_COUNT-1] = {0,1,0} } 84 __inline static void lock(Lock *l) { function in typeref:typename:void 97 __inline static void lock(Lock *l) { function in typeref:typename:void [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();
|
tsan_test_util.h | 50 void Lock(); 106 void Lock(const Mutex &m);
|
tsan_mop.cc | 78 t1.Lock(m); 95 t1.Lock(m);
|
tsan_test_util_posix.cc | 137 void Mutex::Lock() { 299 static_cast<Mutex*>(ev->ptr)->Lock(); 432 void ScopedThread::Lock(const Mutex &m) {
|
/src/sys/external/bsd/acpica/dist/tests/misc/ |
converterSample.asl | 73 Field(GNVS,AnyAcc,Lock,Preserve)
|
/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();
|
sanitizer_thread_registry.h | 92 void Lock() { mtx_.Lock(); }
|
/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();
|
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
FuzzerUtilDarwin.cpp | 49 std::lock_guard<std::mutex> Lock(SignalMutex); 137 std::lock_guard<std::mutex> Lock(SignalMutex);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_mutex_test.cc | 34 Lock l(mtx_); 62 typedef GenericScopedLock<MutexType> Lock;
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/ |
tsan_mutex_test.cc | 32 Lock l(mtx_); 57 typedef GenericScopedLock<MutexType> Lock;
|
/src/sys/external/bsd/gnu-efi/dist/inc/ |
efirtlib.h | 185 IN FLOCK *Lock 191 IN FLOCK *Lock
|
efilink.h | 174 // A lock structure 180 UINTN Lock;
|
/src/sys/external/bsd/acpica/dist/include/ |
acutils.h | 752 ACPI_RW_LOCK *Lock); 756 ACPI_RW_LOCK *Lock); 760 ACPI_RW_LOCK *Lock); 764 ACPI_RW_LOCK *Lock); 768 ACPI_RW_LOCK *Lock); 772 ACPI_RW_LOCK *Lock);
|
/src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
xray_profile_collector.cc | 128 SpinMutexLock Lock(&GlobalMutex); 237 SpinMutexLock Lock(&GlobalMutex); 308 SpinMutexLock Lock(&GlobalMutex); 380 SpinMutexLock Lock(&GlobalMutex);
|
xray_basic_logging.cc | 247 SpinMutexLock Lock(&LogMutex); 270 SpinMutexLock Lock(&LogMutex); 293 SpinMutexLock Lock(&LogMutex);
|
/src/sys/external/bsd/compiler_rt/dist/lib/lsan/ |
lsan_thread.cc | 102 // No lock needed when getting current thread. 151 thread_registry->Lock();
|