/glibc-2.36/sysdeps/nptl/ |
D | lowlevellock.h | 81 extern void __lll_lock_wait (int *futex, int private); 94 #define __lll_lock(futex, private) \ argument 101 if (__builtin_constant_p (private) && (private) == LLL_PRIVATE) \ 104 __lll_lock_wait (__futex, private); \ 107 #define lll_lock(futex, private) \ argument 108 __lll_lock (&(futex), private) 118 #define __lll_cond_lock(futex, private) \ argument 123 __lll_lock_wait (__futex, private); \ 125 #define lll_cond_lock(futex, private) __lll_cond_lock (&(futex), private) argument 130 extern void __lll_lock_wake (int *futex, int private); [all …]
|
D | lowlevellock-futex.h | 54 # define __lll_private_flag(fl, private) \ argument 55 (((fl) | FUTEX_PRIVATE_FLAG) ^ (private)) 73 # define lll_futex_wait(futexp, val, private) \ argument 74 lll_futex_timed_wait (futexp, val, NULL, private) 76 # define lll_futex_timed_wait(futexp, val, timeout, private) \ argument 78 __lll_private_flag (FUTEX_WAIT, private), \ 87 # define lll_futex_wake(futexp, nr, private) \ argument 89 __lll_private_flag (FUTEX_WAKE, private), nr, 0) 94 # define lll_futex_requeue(futexp, nr_wake, nr_move, mutex, val, private) \ argument 96 __lll_private_flag (FUTEX_CMP_REQUEUE, private), \ [all …]
|
D | futex-internal.h | 144 futex_wait (unsigned int *futex_word, unsigned int expected, int private) in futex_wait() argument 146 int err = lll_futex_timed_wait (futex_word, expected, NULL, private); in futex_wait() 175 int private) in futex_wait_simple() argument 177 ignore_value (futex_wait (futex_word, expected, private)); in futex_wait_simple() 207 futex_wake (unsigned int* futex_word, int processes_to_wake, int private) in futex_wake() argument 209 int res = lll_futex_wake (futex_word, processes_to_wake, private); in futex_wake() 254 const struct __timespec64 *abstime, int private); 263 futex_unlock_pi (unsigned int *futex_word, int private) in futex_unlock_pi() argument 265 int err = lll_futex_timed_unlock_pi (futex_word, private); in futex_unlock_pi() 305 int private); [all …]
|
/glibc-2.36/nptl/ |
D | pthread_cond_wait.c | 41 int private; member 47 __condvar_confirm_wakeup (pthread_cond_t *cond, int private) in __condvar_confirm_wakeup() argument 54 futex_wake (&cond->__data.__wrefs, INT_MAX, private); in __condvar_confirm_wakeup() 79 int private) in __condvar_cancel_waiting() argument 85 __condvar_acquire_lock (cond, private); in __condvar_cancel_waiting() 110 __condvar_release_lock (cond, private); in __condvar_cancel_waiting() 134 __condvar_release_lock (cond, private); in __condvar_cancel_waiting() 148 __condvar_dec_grefs (pthread_cond_t *cond, unsigned int g, int private) in __condvar_dec_grefs() argument 159 futex_wake (cond->__data.__g_refs + g, INT_MAX, private); in __condvar_dec_grefs() 174 __condvar_dec_grefs (cond, g, cbuffer->private); in __condvar_cleanup_waiting() [all …]
|
D | futex-internal.c | 30 int private, bool cancel) in __futex_abstimed_wait_common32() argument 54 int private, bool cancel) in __futex_abstimed_wait_common64() argument 70 int private, bool cancel) in __futex_abstimed_wait_common() argument 84 int op = __lll_private_flag (FUTEX_WAIT_BITSET | clockbit, private); in __futex_abstimed_wait_common() 88 private, cancel); in __futex_abstimed_wait_common() 94 private, cancel); in __futex_abstimed_wait_common() 100 private, cancel); in __futex_abstimed_wait_common() 126 const struct __timespec64* abstime, int private) in __futex_abstimed_wait64() argument 129 abstime, private, false); in __futex_abstimed_wait64() 137 int private) in libc_hidden_def() [all …]
|
D | pthread_rwlock_common.c | 227 int private = __pthread_rwlock_get_private (rwlock); in __pthread_rwlock_rdunlock() local 272 futex_wake (&rwlock->__data.__wrphase_futex, INT_MAX, private); in __pthread_rwlock_rdunlock() 276 futex_wake (&rwlock->__data.__readers, INT_MAX, private); in __pthread_rwlock_rdunlock() 331 int private = __pthread_rwlock_get_private (rwlock); in __pthread_rwlock_rdlock_full64() local 334 private); in __pthread_rwlock_rdlock_full64() 416 int private = __pthread_rwlock_get_private (rwlock); in __pthread_rwlock_rdlock_full64() local 417 futex_wake (&rwlock->__data.__wrphase_futex, INT_MAX, private); in __pthread_rwlock_rdlock_full64() 454 int private = __pthread_rwlock_get_private (rwlock); in __pthread_rwlock_rdlock_full64() local 462 clockid, abstime, private); in __pthread_rwlock_rdlock_full64() 529 int private = __pthread_rwlock_get_private (rwlock); in __pthread_rwlock_wrunlock() local [all …]
|
D | pthread_cond_broadcast.c | 45 int private = __condvar_get_private (wrefs); in ___pthread_cond_broadcast() local 47 __condvar_acquire_lock (cond, private); in ___pthread_cond_broadcast() 67 futex_wake (cond->__data.__g_signals + g1, INT_MAX, private); in ___pthread_cond_broadcast() 72 if (__condvar_quiesce_and_switch_g1 (cond, wseq, &g1, private)) in ___pthread_cond_broadcast() 82 __condvar_release_lock (cond, private); in ___pthread_cond_broadcast() 85 futex_wake (cond->__data.__g_signals + g1, INT_MAX, private); in ___pthread_cond_broadcast()
|
D | pthread_cond_signal.c | 44 int private = __condvar_get_private (wrefs); in ___pthread_cond_signal() local 46 __condvar_acquire_lock (cond, private); in ___pthread_cond_signal() 77 || __condvar_quiesce_and_switch_g1 (cond, wseq, &g1, private)) in ___pthread_cond_signal() 90 __condvar_release_lock (cond, private); in ___pthread_cond_signal() 93 futex_wake (cond->__data.__g_signals + g1, 1, private); in ___pthread_cond_signal()
|
D | pthread_mutex_unlock.c | 39 int private = PTHREAD_MUTEX_PSHARED (mutex); in lll_mutex_unlock_optimized() local 40 if (private == LLL_PRIVATE && SINGLE_THREAD_P) in lll_mutex_unlock_optimized() 43 lll_unlock (mutex->__data.__lock, private); in lll_mutex_unlock_optimized() 112 int private; in libc_hidden_def() local 173 private = PTHREAD_ROBUST_MUTEX_PSHARED (mutex); in libc_hidden_def() 176 futex_wake ((unsigned int *) &mutex->__data.__lock, 1, private); in libc_hidden_def() 279 private = (robust in libc_hidden_def() 293 private); in libc_hidden_def()
|
D | lowlevellock.c | 40 __lll_lock_wait (int *futex, int private) in libc_hidden_def() 49 futex_wait ((unsigned int *) futex, 2, private); /* Wait if *futex == 2. */ in libc_hidden_def() 62 __lll_lock_wake (int *futex, int private) in libc_hidden_def() 64 lll_futex_wake (futex, 1, private); in libc_hidden_def()
|
D | pthread_cond_common.c | 114 __condvar_acquire_lock (pthread_cond_t *cond, int private) in __condvar_acquire_lock() argument 141 (s & ~(unsigned int) 3) | 2, private); in __condvar_acquire_lock() 149 __condvar_release_lock (pthread_cond_t *cond, int private) in __condvar_release_lock() argument 154 futex_wake (&cond->__data.__g1_orig_size, 1, private); in __condvar_release_lock() 202 unsigned int *g1index, int private) in __condvar_quiesce_and_switch_g1() argument 276 futex_wait_simple (cond->__data.__g_refs + g1, r, private); in __condvar_quiesce_and_switch_g1()
|
D | sem_post.c | 35 int private = isem->private; in __new_sem_post() local 56 futex_wake (((unsigned int *) &isem->data) + SEM_VALUE_OFFSET, 1, private); in __new_sem_post() 73 futex_wake (&isem->value, 1, private); in __new_sem_post()
|
D | pthread_mutex_lock.c | 44 int private = PTHREAD_MUTEX_PSHARED (mutex); in lll_mutex_lock_optimized() local 45 if (private == LLL_PRIVATE && SINGLE_THREAD_P && mutex->__data.__lock == 0) in lll_mutex_lock_optimized() 48 lll_lock (mutex->__data.__lock, private); in lll_mutex_lock_optimized() 346 int private = PTHREAD_ROBUST_MUTEX_PSHARED (mutex); in __pthread_mutex_lock_full() local 347 lll_unlock (mutex->__data.__lock, private); in __pthread_mutex_lock_full() 438 int private = (robust in __pthread_mutex_lock_full() local 442 NULL, private); in __pthread_mutex_lock_full() 455 0 /* ignored */, NULL, private); in __pthread_mutex_lock_full()
|
D | sem_waitcommon.c | 114 sem->private); in do_futex_wait() 117 clockid, abstime, sem->private); in do_futex_wait() 355 futex_wake (&sem->value, v, sem->private); in __sem_wait_32_finish()
|
D | pthread_cond_destroy.c | 50 int private = __condvar_get_private (wrefs); in __pthread_cond_destroy() local 53 futex_wait_simple (&cond->__data.__wrefs, wrefs, private); in __pthread_cond_destroy()
|
/glibc-2.36/wcsmbs/ |
D | wcsmbsload.h | 69 struct lc_ctype_data *private = data->private; in get_gconv_fcts() local 70 if (private->fcts == NULL) in get_gconv_fcts() 72 return private->fcts; in get_gconv_fcts()
|
/glibc-2.36/time/ |
D | alt_digit.c | 36 struct lc_time_data *data = current->private; in __libc_rwlock_define() 43 current->private = data; in __libc_rwlock_define() 103 struct lc_time_data *data = current->private; in _nl_get_walt_digit() 109 current->private = data; in _nl_get_walt_digit()
|
D | lc-time-cleanup.c | 25 struct lc_time_data *const data = locale->private; in _nl_cleanup_time() 28 locale->private = NULL; in _nl_cleanup_time()
|
D | era.c | 48 data = current->private; in __libc_rwlock_define() 54 data = current->private; in __libc_rwlock_define() 60 current->private = data; in __libc_rwlock_define()
|
/glibc-2.36/sysdeps/unix/sysv/linux/x86/ |
D | elision-unlock.c | 24 __lll_unlock_elision(int *lock, int private) in __lll_unlock_elision() argument 31 lll_unlock ((*lock), private); in __lll_unlock_elision()
|
D | elision-lock.c | 39 __lll_lock_elision (int *futex, short *adapt_count, EXTRAARG int private) in __lll_lock_elision() argument 100 return LLL_LOCK ((*futex), private); in __lll_lock_elision()
|
/glibc-2.36/sysdeps/unix/sysv/linux/s390/ |
D | elision-unlock.c | 24 __lll_unlock_elision(int *futex, short *adapt_count, int private) in __lll_unlock_elision() argument 58 lll_unlock ((*futex), private); in __lll_unlock_elision()
|
D | elision-lock.c | 40 __lll_lock_elision (int *futex, short *adapt_count, EXTRAARG int private) in __lll_lock_elision() argument 118 return LLL_LOCK ((*futex), private); in __lll_lock_elision()
|
/glibc-2.36/sysdeps/sparc/nptl/ |
D | sparc-nptl.h | 21 unsigned char private; member 30 unsigned char private; member
|
/glibc-2.36/locale/ |
D | loadlocale.c | 69 struct lc_ctype_data *data = locdata->private; in _nl_intern_locale_data_fill_cache_ctype() 163 newdata->private = NULL; in _nl_intern_locale_data() 166 newdata->private = (char *) newdata + base_size; in _nl_intern_locale_data() 167 memset (newdata->private, 0, extra_size); in _nl_intern_locale_data()
|