/netbsd-current/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
H A D | 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) argument 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...] |
/netbsd-current/external/ibm-public/postfix/dist/src/global/ |
H A D | 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)
|
H A D | mbox_open.h | 34 int locked; /* what locks were set */ member in struct:__anon6444
|
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/sodium/ |
H A D | 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;
|
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | 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[typ [all...] |
H A D | sanitizer_mutex.h | 89 // The leaf mutexes can be locked under any other non-leaf mutex, 90 // but no other mutex can be locked while under a leaf mutex. 92 // Multiple mutexes of this type can be locked at the same time. 108 // The table fixes what mutexes can be locked under what mutexes. 110 // then Bar mutex can be locked while under Foo mutex. 170 bool locked = (state & (kWriterLock | kReaderLockMask)) != 0; local 171 if (LIKELY(!locked)) { 172 // The mutex is not read-/write-locked, try to lock. 190 if (LIKELY(!locked)) 191 return; // We've locked th 242 bool locked = (state & kWriterLock) != 0; local [all...] |
H A D | sanitizer_deadlock_detector2.cpp | 72 ThreadMutex locked[kMaxNesting]; member in struct:__sanitizer::DDLogicalThread 206 ThreadMutex *tm = <->locked[lt->nlocked++]; 219 u32 id1 = lt->locked[i].id; 220 u32 stk1 = lt->locked[i].stk; 293 ThreadMutex *tm = <->locked[lt->nlocked++]; 315 if (cb->lt->locked[i].id == m->id) { 316 lt->locked[i] = lt->locked[last]; 331 // Remove the mutex from lt->locked if there. 334 if (lt->locked[ [all...] |
/netbsd-current/lib/libpthread/ |
H A D | pthread_lock.c | 80 int locked; local 83 locked = __SIMPLELOCK_LOCKED_P(alp); 87 return !locked;
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
H A D | schedlock.exp | 210 # we expect threads other than the selected thread remained locked. 212 proc check_result { cmd before_thread before_args locked } { 228 if { $locked } { 229 set test "$test - locked" 254 if { $locked } { 255 gdb_assert {$num_other_threads == 0} "other threads didn't run - locked" 295 set locked 1 297 set locked 0 300 check_result $cmd $curthread $before_args $locked
|
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
H A D | schedlock.exp | 210 # we expect threads other than the selected thread remained locked. 212 proc check_result { cmd before_thread before_args locked } { 228 if { $locked } { 229 set test "$test - locked" 254 if { $locked } { 255 gdb_assert {$num_other_threads == 0} "other threads didn't run - locked" 295 set locked 1 297 set locked 0 300 check_result $cmd $curthread $before_args $locked
|
/netbsd-current/sys/dev/pci/ixgbe/ |
H A D | 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);
|
/netbsd-current/external/gpl3/gcc.old/dist/libbacktrace/ |
H A D | mmap.c | 115 int locked; local 129 locked = 1; 131 locked = __sync_lock_test_and_set (&state->lock_alloc, 1) == 0; 133 if (locked) 195 int locked; local 223 locked = 1; 225 locked = __sync_lock_test_and_set (&state->lock_alloc, 1) == 0; 227 if (locked)
|
/netbsd-current/external/bsd/tmux/dist/ |
H A D | 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;
|
/netbsd-current/external/gpl3/gcc/dist/libbacktrace/ |
H A D | 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)
|
/netbsd-current/external/gpl3/gdb/dist/libbacktrace/ |
H A D | 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)
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/ |
H A D | 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(loc [all...] |
/netbsd-current/external/cddl/dtracetoolkit/dist/Bin/ |
H A D | swapinfo.d | 16 * RAM Kernel Kernel resident in RAM (and usually locked) 76 this->locked = `pages_locked; 108 this->locked *= `_pagesize; this->locked /= 1048576; 134 printf("RAM Locked %5d MB\n", this->locked);
|
/netbsd-current/external/cddl/dtracetoolkit/dist/Mem/ |
H A D | swapinfo.d | 16 * RAM Kernel Kernel resident in RAM (and usually locked) 76 this->locked = `pages_locked; 108 this->locked *= `_pagesize; this->locked /= 1048576; 134 printf("RAM Locked %5d MB\n", this->locked);
|
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/i386/ |
H A D | bundle-bad.s | 15 # This locked sequence exceeds the bundle size.
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/ |
H A D | 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);
|
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | 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[ [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_deadlock_detector2.cc | 71 ThreadMutex locked[kMaxNesting]; member in struct:__sanitizer::DDLogicalThread 207 ThreadMutex *tm = <->locked[lt->nlocked++]; 220 u32 id1 = lt->locked[i].id; 221 u32 stk1 = lt->locked[i].stk; 294 ThreadMutex *tm = <->locked[lt->nlocked++]; 316 if (cb->lt->locked[i].id == m->id) { 317 lt->locked[i] = lt->locked[last]; 332 // Remove the mutex from lt->locked if there. 335 if (lt->locked[ [all...] |
/netbsd-current/external/bsd/ppp/usr.sbin/pppd/ |
H A D | tdb.h | 45 int *locked; /* set if we have a chain locked */ member in struct:__anon6223
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_mxgpu_ai.c | 246 int locked; local 256 locked = mutex_trylock(&adev->lock_reset); 257 if (locked) 269 if (locked) {
|
H A D | amdgpu_mxgpu_nv.c | 248 int locked; local 258 locked = mutex_trylock(&adev->lock_reset); 259 if (locked) 271 if (locked) {
|