/nptl/ |
A D | pthread_spin_lock.c | 24 __pthread_spin_lock (pthread_spinlock_t *lock) in __pthread_spin_lock() argument 43 if (__glibc_likely (atomic_exchange_acquire (lock, 1) == 0)) in __pthread_spin_lock() 49 if (__glibc_likely (atomic_compare_exchange_weak_acquire (lock, &val, 1))) in __pthread_spin_lock() 71 val = atomic_load_relaxed (lock); in __pthread_spin_lock() 78 while (!atomic_compare_exchange_weak_acquire (lock, &val, 1)); in __pthread_spin_lock()
|
A D | pthread_spin_trylock.c | 25 __pthread_spin_trylock (pthread_spinlock_t *lock) in __pthread_spin_trylock() argument 54 if (atomic_exchange_acquire (lock, 1) == 0) in __pthread_spin_trylock() 63 if (atomic_compare_exchange_weak_acquire (lock, &val, 1)) in __pthread_spin_trylock() 76 while (atomic_load_relaxed (lock) == 0); in __pthread_spin_trylock()
|
A D | DESIGN-systemtap-probes.txt | 26 arg1 = address of mutex lock 28 arg1 = address of mutex lock 32 arg1 = address of mutex lock 39 mutex lock 45 arg1 = address of rw lock 47 arg1 = address of rw lock 50 arg1 = address of rw lock 54 the lock 57 arg1 = address of rw lock 68 arg2 = mutex lock [all …]
|
A D | tst-rwlock20.c | 43 static pthread_rwlock_t lock; variable 63 xpthread_rwlock_wrlock (&lock); in tf() 64 xpthread_rwlock_unlock (&lock); in tf() 69 xpthread_rwlock_rdlock (&lock); in tf() 70 xpthread_rwlock_unlock (&lock); in tf() 92 xpthread_rwlock_init (&lock, &attr); in do_test()
|
A D | tst-rwlock19.c | 33 static pthread_rwlock_t lock = PTHREAD_RWLOCK_INITIALIZER; variable 48 int err = pthread_rwlock_rdlock (&lock); in reader_thread() 64 if (pthread_rwlock_unlock (&lock) != 0) in reader_thread() 86 lock.__data.__readers = readers; in do_test() 116 if (lock.__data.__readers != readers) in do_test()
|
A D | pthread_spin_unlock.c | 24 __pthread_spin_unlock (pthread_spinlock_t *lock) in __pthread_spin_unlock() argument 29 atomic_store_release (lock, 0); in __pthread_spin_unlock()
|
A D | pthread_spin_init.c | 23 __pthread_spin_init (pthread_spinlock_t *lock, int pshared) in __pthread_spin_init() argument 26 atomic_store_relaxed (lock, 0); in __pthread_spin_init()
|
A D | tst-rwlock8.c | 38 static pthread_rwlock_t lock; variable 54 if (pthread_rwlock_wrlock (&lock) != 0) in writer_thread() 64 if (pthread_rwlock_unlock (&lock) != 0) in writer_thread() 90 if (pthread_rwlock_rdlock (&lock) != 0) in reader_thread() 100 if (pthread_rwlock_unlock (&lock) != 0) in reader_thread() 134 if (pthread_rwlock_init (&lock, &a) != 0) in do_test()
|
A D | tst-rwlock9.c | 48 static pthread_rwlock_t lock; variable 83 ? pthread_rwlock_timedwrlock (&lock, &ts) in writer_thread() 84 : pthread_rwlock_clockwrlock (&lock, clockid, &ts); in writer_thread() 94 if (pthread_rwlock_unlock (&lock) != 0) in writer_thread() 129 e = pthread_rwlock_timedrdlock (&lock, &ts); in reader_thread() 131 e = pthread_rwlock_clockrdlock (&lock, clockid, &ts); in reader_thread() 141 if (pthread_rwlock_unlock (&lock) != 0) in reader_thread() 165 if (pthread_rwlock_init (&lock, &a) != 0) in do_test_clock()
|
A D | pthread_getschedparam.c | 38 lll_lock (pd->lock, LLL_PRIVATE); in __pthread_getschedparam() 68 lll_unlock (pd->lock, LLL_PRIVATE); in __pthread_getschedparam()
|
A D | pthread_spin_destroy.c | 22 __pthread_spin_destroy (pthread_spinlock_t *lock) in __pthread_spin_destroy() argument
|
A D | pthread_setschedparam.c | 39 lll_lock (pd->lock, LLL_PRIVATE); in __pthread_setschedparam() 67 lll_unlock (pd->lock, LLL_PRIVATE); in __pthread_setschedparam()
|
A D | pthread_setschedprio.c | 41 lll_lock (pd->lock, LLL_PRIVATE); in __pthread_setschedprio() 60 lll_unlock (pd->lock, LLL_PRIVATE); in __pthread_setschedprio()
|
A D | tst-signal3.c | 41 static pthread_mutex_t lock[N]; variable 87 pthread_mutex_lock (&lock[idx]); in tf() 150 if (pthread_mutex_init (&lock[i], NULL) != 0) in do_test() 155 if (pthread_mutex_lock (&lock[i]) != 0) in do_test() 193 if (pthread_mutex_unlock (&lock[i]) != 0) in do_test()
|
A D | nptl-printers.py | 58 self.lock = data['__lock'] 126 if self.lock == PTHREAD_MUTEX_UNLOCKED: 129 if self.lock & FUTEX_WAITERS: 136 if self.lock & FUTEX_OWNER_DIED: 139 self.values.append(('Owner ID', self.lock & FUTEX_TID_MASK)) 155 lock_value = self.lock 164 waiters = self.lock & FUTEX_WAITERS 165 owner = self.lock & FUTEX_TID_MASK 168 waiters = (self.lock != PTHREAD_MUTEX_LOCKED_NO_WAITERS) 206 prio_ceiling = ((self.lock & PTHREAD_MUTEX_PRIO_CEILING_MASK)
|
A D | tpp.c | 119 lll_lock (self->lock, LLL_PRIVATE); in libc_hidden_def() 155 lll_unlock (self->lock, LLL_PRIVATE); in libc_hidden_def() 172 lll_lock (self->lock, LLL_PRIVATE); in libc_hidden_def() 194 lll_unlock (self->lock, LLL_PRIVATE); in libc_hidden_def()
|
A D | pthread_getattr_np.c | 43 lll_lock (thread->lock, LLL_PRIVATE); in __pthread_getattr_np() 201 lll_unlock (thread->lock, LLL_PRIVATE); in __pthread_getattr_np()
|
A D | pthread_create.c | 247 lll_lock (pd->lock, LLL_PRIVATE); in create_thread() 348 lll_lock (pd->lock, LLL_PRIVATE); in start_thread() 358 lll_unlock (pd->lock, LLL_PRIVATE); in start_thread() 847 lll_unlock (pd->lock, LLL_PRIVATE); in __pthread_create_2_1() 880 lll_unlock (pd->lock, LLL_PRIVATE); in __pthread_create_2_1()
|
A D | TODO | 10 If yes, for a short time release lock. If someone else locks no wakeup
|
A D | descr.h | 331 int lock; member
|
A D | allocatestack.c | 550 pd->lock = LLL_LOCK_INITIALIZER; in allocate_stack()
|
A D | Makefile | 46 elision-lock \
|