Home
last modified time | relevance | path

Searched refs:private (Results 1 – 25 of 90) sorted by relevance

1234

/glibc-2.36/sysdeps/nptl/
Dlowlevellock.h81 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 …]
Dlowlevellock-futex.h54 # 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 …]
Dfutex-internal.h144 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/
Dpthread_cond_wait.c41 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 …]
Dfutex-internal.c30 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 …]
Dpthread_rwlock_common.c227 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 …]
Dpthread_cond_broadcast.c45 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()
Dpthread_cond_signal.c44 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()
Dpthread_mutex_unlock.c39 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()
Dlowlevellock.c40 __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()
Dpthread_cond_common.c114 __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()
Dsem_post.c35 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()
Dpthread_mutex_lock.c44 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()
Dsem_waitcommon.c114 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()
Dpthread_cond_destroy.c50 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/
Dwcsmbsload.h69 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/
Dalt_digit.c36 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()
Dlc-time-cleanup.c25 struct lc_time_data *const data = locale->private; in _nl_cleanup_time()
28 locale->private = NULL; in _nl_cleanup_time()
Dera.c48 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/
Delision-unlock.c24 __lll_unlock_elision(int *lock, int private) in __lll_unlock_elision() argument
31 lll_unlock ((*lock), private); in __lll_unlock_elision()
Delision-lock.c39 __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/
Delision-unlock.c24 __lll_unlock_elision(int *futex, short *adapt_count, int private) in __lll_unlock_elision() argument
58 lll_unlock ((*futex), private); in __lll_unlock_elision()
Delision-lock.c40 __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/
Dsparc-nptl.h21 unsigned char private; member
30 unsigned char private; member
/glibc-2.36/locale/
Dloadlocale.c69 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()

1234