| /src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
| ttm_lock.c | 68 bool locked = false; local 72 locked = true; 74 return locked; 93 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked) 97 *locked = false; 103 *locked = true; 115 bool locked; local 120 __ttm_read_trylock(lock, &locked)); 123 __ttm_read_trylock(lock, &locked)); 127 BUG_ON(locked); 144 bool locked = false; local 188 bool locked = false; local [all...] |
| /src/sys/external/isc/libsodium/dist/src/libsodium/sodium/ |
| core.c | 40 static volatile int locked; variable 103 assert(locked == 0); 104 locked = 1; 112 if (locked == 0) { 118 locked = 0; 134 assert(locked == 0); 135 locked = 1; 145 if (locked == 0) { 151 locked = 0;
|
| /src/external/ibm-public/postfix/dist/src/global/ |
| mbox_open.c | 114 int locked = 0; local 144 locked |= MBOX_DOT_LOCK; 168 if (locked & MBOX_DOT_LOCK) 186 locked |= lock_style; 189 if (locked & MBOX_DOT_LOCK) 212 if (locked & MBOX_DOT_LOCK) 220 mp->locked = locked; 237 if (mp->locked & MBOX_DOT_LOCK)
|
| mbox_open.h | 34 int locked; /* what locks were set */ member in struct:__anon23117
|
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_mutex.cpp | 55 // The table defines a static mutex type hierarchy (what mutex types can be locked 67 // Adjacency matrix of what mutexes can be locked under what mutexes. 148 LockDesc locked[kMutexTypeMax]; member in struct:__sanitizer::InternalDeadlockDetector 154 // Find the last locked mutex type. 159 if (locked[i].seq == 0) 161 CHECK_NE(locked[i].seq, max_seq); 162 if (max_seq < locked[i].seq) { 163 max_seq = locked[i].seq; 169 CHECK_EQ(locked[type].seq, max_seq); 170 CHECK(locked[type].pc) [all...] |
| sanitizer_mutex.h | 97 // The leaf mutexes can be locked under any other non-leaf mutex, 98 // but no other mutex can be locked while under a leaf mutex. 100 // Multiple mutexes of this type can be locked at the same time. 116 // The table fixes what mutexes can be locked under what mutexes. 118 // then Bar mutex can be locked while under Foo mutex. 178 bool locked = (state & (kWriterLock | kReaderLockMask)) != 0; local 179 if (LIKELY(!locked)) { 180 // The mutex is not read-/write-locked, try to lock. 198 if (LIKELY(!locked)) 199 return; // We've locked the mutex 264 bool locked = (state & kWriterLock) != 0; local [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_mutex.cpp | 55 // The table defines a static mutex type hierarchy (what mutex types can be locked 67 // Adjacency matrix of what mutexes can be locked under what mutexes. 148 LockDesc locked[kMutexTypeMax]; member in struct:__sanitizer::InternalDeadlockDetector 154 // Find the last locked mutex type. 159 if (locked[i].seq == 0) 161 CHECK_NE(locked[i].seq, max_seq); 162 if (max_seq < locked[i].seq) { 163 max_seq = locked[i].seq; 169 CHECK_EQ(locked[type].seq, max_seq); 170 CHECK(locked[type].pc) [all...] |
| sanitizer_mutex.h | 95 // The leaf mutexes can be locked under any other non-leaf mutex, 96 // but no other mutex can be locked while under a leaf mutex. 98 // Multiple mutexes of this type can be locked at the same time. 114 // The table fixes what mutexes can be locked under what mutexes. 116 // then Bar mutex can be locked while under Foo mutex. 176 bool locked = (state & (kWriterLock | kReaderLockMask)) != 0; local 177 if (LIKELY(!locked)) { 178 // The mutex is not read-/write-locked, try to lock. 196 if (LIKELY(!locked)) 197 return; // We've locked the mutex 248 bool locked = (state & kWriterLock) != 0; local [all...] |
| /src/lib/libpthread/ |
| pthread_lock.c | 80 int locked; local 83 locked = __SIMPLELOCK_LOCKED_P(alp); 87 return !locked;
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
| schedlock.exp | 202 # thread's args before the command was run. LOCKED indicates whether 203 # we expect threads other than the selected thread remained locked. 205 proc check_result { cmd before_thread before_args locked } { 221 if { $locked } { 222 set test "$test - locked" 247 if { $locked } { 248 gdb_assert {$num_other_threads == 0} "other threads didn't run - locked" 288 set locked 1 290 set locked 0 293 check_result $cmd $curthread $before_args $locked [all...] |
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
| schedlock.exp | 202 # thread's args before the command was run. LOCKED indicates whether 203 # we expect threads other than the selected thread remained locked. 205 proc check_result { cmd before_thread before_args locked } { 221 if { $locked } { 222 set test "$test - locked" 247 if { $locked } { 248 gdb_assert {$num_other_threads == 0} "other threads didn't run - locked" 288 set locked 1 290 set locked 0 293 check_result $cmd $curthread $before_args $locked [all...] |
| /src/sys/dev/pci/ixgbe/ |
| ixgbe_82599.h | 66 s32 prot_autoc_read_82599(struct ixgbe_hw *hw, bool *locked, u32 *reg_val); 67 s32 prot_autoc_write_82599(struct ixgbe_hw *hw, u32 reg_val, bool locked);
|
| /src/external/bsd/tmux/dist/ |
| cmd-wait-for.c | 51 int locked; member in struct:wait_channel 91 wc->locked = 0; 107 if (wc->locked) 209 if (wc->locked) { 215 wc->locked = 1; 226 if (wc == NULL || !wc->locked) { 227 cmdq_error(item, "channel %s not locked", name); 236 wc->locked = 0; 261 wc->locked = 0;
|
| /src/external/gpl3/gcc/dist/libbacktrace/ |
| mmap.c | 119 int locked; local 133 locked = 1; 135 locked = __sync_lock_test_and_set (&state->lock_alloc, 1) == 0; 137 if (locked) 199 int locked; local 227 locked = 1; 229 locked = __sync_lock_test_and_set (&state->lock_alloc, 1) == 0; 231 if (locked)
|
| /src/external/gpl3/gcc.old/dist/libbacktrace/ |
| mmap.c | 119 int locked; local 133 locked = 1; 135 locked = __sync_lock_test_and_set (&state->lock_alloc, 1) == 0; 137 if (locked) 199 int locked; local 227 locked = 1; 229 locked = __sync_lock_test_and_set (&state->lock_alloc, 1) == 0; 231 if (locked)
|
| /src/external/gpl3/gdb/dist/libbacktrace/ |
| mmap.c | 119 int locked; local 133 locked = 1; 135 locked = __sync_lock_test_and_set (&state->lock_alloc, 1) == 0; 137 if (locked) 199 int locked; local 227 locked = 1; 229 locked = __sync_lock_test_and_set (&state->lock_alloc, 1) == 0; 231 if (locked)
|
| /src/external/gpl3/gdb.old/dist/libbacktrace/ |
| mmap.c | 119 int locked; local 133 locked = 1; 135 locked = __sync_lock_test_and_set (&state->lock_alloc, 1) == 0; 137 if (locked) 199 int locked; local 227 locked = 1; 229 locked = __sync_lock_test_and_set (&state->lock_alloc, 1) == 0; 231 if (locked)
|
| /src/external/gpl3/gdb.old/dist/gdb/python/lib/gdb/dap/ |
| next.py | 89 locked = send_gdb_with_response(lambda: _handle_thread_step(threadId, singleThread)) 91 return {"allThreadsContinued": not locked}
|
| /src/external/gpl3/gdb/dist/gdb/python/lib/gdb/dap/ |
| next.py | 84 locked = _handle_thread_step(threadId, singleThread) 86 return {"allThreadsContinued": not locked}
|
| /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/ |
| MCJIT.cpp | 93 std::lock_guard<sys::Mutex> locked(lock); 105 std::lock_guard<sys::Mutex> locked(lock); 114 std::lock_guard<sys::Mutex> locked(lock); 141 std::lock_guard<sys::Mutex> locked(lock); 148 std::lock_guard<sys::Mutex> locked(lock); 190 std::lock_guard<sys::Mutex> locked(lock); 239 std::lock_guard<sys::Mutex> locked(lock); 259 std::lock_guard<sys::Mutex> locked(lock); 274 std::lock_guard<sys::Mutex> locked(lock); 301 std::lock_guard<sys::Mutex> locked(lock) [all...] |
| /src/external/bsd/openldap/dist/servers/slapd/back-monitor/ |
| search.c | 105 Entry *sub_nv = NULL, *sub_ch = NULL, *locked = e; local 139 monitor_cache_release( mi, locked ); 140 locked = NULL; 147 if ( locked ) { 148 monitor_cache_release( mi, locked ); 167 if ( locked ) { 168 monitor_cache_release( mi, locked );
|
| /src/external/cddl/dtracetoolkit/dist/Bin/ |
| swapinfo.d | 16 * RAM Kernel Kernel resident in RAM (and usually locked) 17 * RAM Locked Locked memory pages from swap (Anon) 76 this->locked = `pages_locked; 108 this->locked *= `_pagesize; this->locked /= 1048576; 134 printf("RAM Locked %5d MB\n", this->locked);
|
| /src/external/cddl/dtracetoolkit/dist/Mem/ |
| swapinfo.d | 16 * RAM Kernel Kernel resident in RAM (and usually locked) 17 * RAM Locked Locked memory pages from swap (Anon) 76 this->locked = `pages_locked; 108 this->locked *= `_pagesize; this->locked /= 1048576; 134 printf("RAM Locked %5d MB\n", this->locked);
|
| /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/ |
| GDBRegistrationListener.cpp | 145 std::lock_guard<llvm::sys::Mutex> locked(*JITDebugLock); 169 std::lock_guard<llvm::sys::Mutex> locked(*JITDebugLock); 188 std::lock_guard<llvm::sys::Mutex> locked(*JITDebugLock);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_deadlock_detector2.cc | 73 ThreadMutex locked[kMaxNesting]; member in struct:__sanitizer::DDLogicalThread 209 ThreadMutex *tm = <->locked[lt->nlocked++]; 222 u32 id1 = lt->locked[i].id; 223 u32 stk1 = lt->locked[i].stk; 296 ThreadMutex *tm = <->locked[lt->nlocked++]; 318 if (cb->lt->locked[i].id == m->id) { 319 lt->locked[i] = lt->locked[last]; 334 // Remove the mutex from lt->locked if there. 337 if (lt->locked[i].id == m->id) [all...] |