/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/ |
A D | pthread_cond_wait.c | 30 pthread_cond_t *cond; member 56 < cbuffer->cond->__data.__total_seq) in __condvar_cleanup() 58 ++cbuffer->cond->__data.__wakeup_seq; in __condvar_cleanup() 59 ++cbuffer->cond->__data.__futex; in __condvar_cleanup() 93 pthread_cond_t *cond, in __pthread_cond_wait() argument 114 ++cond->__data.__total_seq; in __pthread_cond_wait() 115 ++cond->__data.__futex; in __pthread_cond_wait() 122 cond->__data.__mutex = mutex; in __pthread_cond_wait() 125 cbuffer.cond = cond; in __pthread_cond_wait() 164 val = cond->__data.__wakeup_seq; in __pthread_cond_wait() [all …]
|
A D | pthread_cond_timedwait.c | 35 pthread_cond_t *cond; member 43 pthread_cond_t *cond, in __pthread_cond_timedwait() argument 70 ++cond->__data.__total_seq; in __pthread_cond_timedwait() 71 ++cond->__data.__futex; in __pthread_cond_timedwait() 78 cond->__data.__mutex = mutex; in __pthread_cond_timedwait() 81 cbuffer.cond = cond; in __pthread_cond_timedwait() 106 (cond->__data.__nwaiters in __pthread_cond_timedwait() 173 val = cond->__data.__wakeup_seq; in __pthread_cond_timedwait() 182 ++cond->__data.__wakeup_seq; in __pthread_cond_timedwait() 183 ++cond->__data.__futex; in __pthread_cond_timedwait() [all …]
|
A D | pthread_cond_broadcast.c | 32 pthread_cond_t *cond) in __pthread_cond_broadcast() argument 37 lll_lock (cond->__data.__lock, pshared); in __pthread_cond_broadcast() 40 if (cond->__data.__total_seq > cond->__data.__wakeup_seq) in __pthread_cond_broadcast() 43 cond->__data.__wakeup_seq = cond->__data.__total_seq; in __pthread_cond_broadcast() 44 cond->__data.__woken_seq = cond->__data.__total_seq; in __pthread_cond_broadcast() 45 cond->__data.__futex = (unsigned int) cond->__data.__total_seq * 2; in __pthread_cond_broadcast() 46 int futex_val = cond->__data.__futex; in __pthread_cond_broadcast() 48 ++cond->__data.__broadcast_seq; in __pthread_cond_broadcast() 51 lll_unlock (cond->__data.__lock, pshared); in __pthread_cond_broadcast() 54 if (cond->__data.__mutex == (void *) ~0l) in __pthread_cond_broadcast() [all …]
|
A D | pthread_cond_signal.c | 32 pthread_cond_t *cond) in __pthread_cond_signal() argument 34 int pshared = (cond->__data.__mutex == (void *) ~0l) in __pthread_cond_signal() 38 lll_lock (cond->__data.__lock, pshared); in __pthread_cond_signal() 41 if (cond->__data.__total_seq > cond->__data.__wakeup_seq) in __pthread_cond_signal() 44 ++cond->__data.__wakeup_seq; in __pthread_cond_signal() 45 ++cond->__data.__futex; in __pthread_cond_signal() 48 if (! __builtin_expect (lll_futex_wake_unlock (&cond->__data.__futex, 1, in __pthread_cond_signal() 49 1, &cond->__data.__lock, in __pthread_cond_signal() 53 lll_futex_wake (&cond->__data.__futex, 1, pshared); in __pthread_cond_signal() 57 lll_unlock (cond->__data.__lock, pshared); in __pthread_cond_signal()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/ |
A D | condvar.c | 31 __pthread_init_lock(&cond->__c_lock); in __pthread_cond_init() 32 cond->__c_waiting = NULL; in __pthread_cond_init() 50 pthread_cond_t *cond = obj; in strong_alias() local 55 __pthread_unlock(&cond->__c_lock); in strong_alias() 74 extr.pu_object = cond; in __pthread_cond_wait() 94 __pthread_unlock(&cond->__c_lock); in __pthread_cond_wait() 156 extr.pu_object = cond; in strong_alias() 190 __pthread_unlock(&cond->__c_lock); in strong_alias() 246 th = dequeue(&cond->__c_waiting); in strong_alias() 263 tosignal = cond->__c_waiting; in strong_alias() [all …]
|
A D | forward.c | 81 FORWARD (pthread_cond_broadcast, (pthread_cond_t *cond), (cond), 0) 83 FORWARD (pthread_cond_destroy, (pthread_cond_t *cond), (cond), 0) 86 (pthread_cond_t *cond, const pthread_condattr_t *cond_attr), 87 (cond, cond_attr), 0) 89 FORWARD (pthread_cond_signal, (pthread_cond_t *cond), (cond), 0) 91 FORWARD (pthread_cond_wait, (pthread_cond_t *cond, pthread_mutex_t *mutex), 92 (cond, mutex), 0) 95 (pthread_cond_t *cond, pthread_mutex_t *mutex, 96 const struct timespec *abstime), (cond, mutex, abstime), 0)
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/ |
A D | condvar.c | 31 __pthread_init_lock(&cond->__c_lock); in pthread_cond_init() 32 cond->__c_waiting = NULL; in pthread_cond_init() 50 pthread_cond_t *cond = obj; in libpthread_hidden_def() local 55 __pthread_unlock(&cond->__c_lock); in libpthread_hidden_def() 74 extr.pu_object = cond; in pthread_cond_wait() 94 __pthread_unlock(&cond->__c_lock); in pthread_cond_wait() 156 extr.pu_object = cond; in libpthread_hidden_def() 190 __pthread_unlock(&cond->__c_lock); in libpthread_hidden_def() 246 th = dequeue(&cond->__c_waiting); in libpthread_hidden_def() 263 tosignal = cond->__c_waiting; in libpthread_hidden_def() [all …]
|
A D | forward.c | 106 FORWARD (pthread_cond_broadcast, (pthread_cond_t *cond), (cond), 0) 108 FORWARD (pthread_cond_destroy, (pthread_cond_t *cond), (cond), 0) 111 (pthread_cond_t *cond, const pthread_condattr_t *cond_attr), 112 (cond, cond_attr), 0) 114 FORWARD (pthread_cond_signal, (pthread_cond_t *cond), (cond), 0) 116 FORWARD (pthread_cond_wait, (pthread_cond_t *cond, pthread_mutex_t *mutex), 117 (cond, mutex), 0) 120 (pthread_cond_t *cond, pthread_mutex_t *mutex, 121 const struct timespec *abstime), (cond, mutex, abstime), 0)
|
/l4re-core-master/uclibc/lib/libpthread/src/ |
A D | condvar.c | 32 __pthread_init_lock(&cond->__c_lock); in __pthread_cond_init() 33 cond->__c_waiting = NULL; in __pthread_cond_init() 53 pthread_cond_t *cond = obj; in strong_alias() local 58 __pthread_unlock(&cond->__c_lock); in strong_alias() 79 extr.pu_object = cond; in __pthread_cond_wait() 99 __pthread_unlock(&cond->__c_lock); in __pthread_cond_wait() 161 extr.pu_object = cond; in strong_alias() 195 __pthread_unlock(&cond->__c_lock); in strong_alias() 255 th = dequeue(&cond->__c_waiting); in strong_alias() 274 tosignal = cond->__c_waiting; in strong_alias() [all …]
|
A D | forward.c | 82 FORWARD (pthread_cond_broadcast, (pthread_cond_t *cond), (cond), 0) 84 FORWARD (pthread_cond_destroy, (pthread_cond_t *cond), (cond), 0) 87 (pthread_cond_t *cond, const pthread_condattr_t *cond_attr), 88 (cond, cond_attr), 0) 90 FORWARD (pthread_cond_signal, (pthread_cond_t *cond), (cond), 0) 92 FORWARD (pthread_cond_wait, (pthread_cond_t *cond, pthread_mutex_t *mutex), 93 (cond, mutex), 0) 96 (pthread_cond_t *cond, pthread_mutex_t *mutex, 97 const struct timespec *abstime), (cond, mutex, abstime), 0)
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/ |
A D | pthread_cond_destroy.c | 26 pthread_cond_t *cond) in __pthread_cond_destroy() argument 32 lll_lock (cond->__data.__lock, pshared); in __pthread_cond_destroy() 34 if (cond->__data.__total_seq > cond->__data.__wakeup_seq) in __pthread_cond_destroy() 38 lll_unlock (cond->__data.__lock, pshared); in __pthread_cond_destroy() 43 cond->__data.__total_seq = -1ULL; in __pthread_cond_destroy() 48 unsigned int nwaiters = cond->__data.__nwaiters; in __pthread_cond_destroy() 60 if (cond->__data.__mutex != NULL in __pthread_cond_destroy() 61 && cond->__data.__mutex != (void *) ~0l) in __pthread_cond_destroy() 70 lll_unlock (cond->__data.__lock, pshared); in __pthread_cond_destroy() 74 lll_lock (cond->__data.__lock, pshared); in __pthread_cond_destroy() [all …]
|
A D | pthread_cond_init.c | 26 pthread_cond_t *cond, in __pthread_cond_init() argument 31 cond->__data.__lock = LLL_LOCK_INITIALIZER; in __pthread_cond_init() 32 cond->__data.__futex = 0; in __pthread_cond_init() 33 cond->__data.__nwaiters = (icond_attr != NULL in __pthread_cond_init() 37 cond->__data.__total_seq = 0; in __pthread_cond_init() 38 cond->__data.__wakeup_seq = 0; in __pthread_cond_init() 39 cond->__data.__woken_seq = 0; in __pthread_cond_init() 40 cond->__data.__mutex = (icond_attr == NULL || (icond_attr->value & 1) == 0 in __pthread_cond_init() 42 cond->__data.__broadcast_seq = 0; in __pthread_cond_init()
|
A D | forward.c | 85 FORWARD (__pthread_cond_broadcast, (pthread_cond_t *cond), (cond), 0) 88 FORWARD (__pthread_cond_destroy, (pthread_cond_t *cond), (cond), 0) 92 (pthread_cond_t *cond, const pthread_condattr_t *cond_attr), 93 (cond, cond_attr), 0) 96 FORWARD (__pthread_cond_signal, (pthread_cond_t *cond), (cond), 0) 99 FORWARD (__pthread_cond_wait, (pthread_cond_t *cond, pthread_mutex_t *mutex), 100 (cond, mutex), 0) 104 (pthread_cond_t *cond, pthread_mutex_t *mutex, 105 const struct timespec *abstime), (cond, mutex, abstime), 0)
|
/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/ |
A D | tst-cond20.c | 27 static pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable 51 pthread_cond_timedwait (&cond, &mut, &ts); in tf() 53 pthread_cond_wait (&cond, &mut); in tf() 105 pthread_cond_broadcast (&cond); in do_test() 108 pthread_cond_signal (&cond); in do_test() 112 pthread_cond_signal (&cond); in do_test() 113 pthread_cond_broadcast (&cond); in do_test() 119 err = pthread_cond_destroy (&cond); in do_test() 128 memset (&cond, (char) i, sizeof (cond)); in do_test() 147 err = pthread_cond_init (&cond, NULL); in do_test()
|
A D | tst-cond9.c | 27 static pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable 34 int err = pthread_cond_wait (&cond, &mut); in tf() 56 err = pthread_cond_timedwait (&cond, &mut, &ts); in tf() 79 printf ("&cond = %p\n&mut = %p\n", &cond, &mut); in do_test() 81 err = pthread_cond_wait (&cond, &mut); in do_test() 103 err = pthread_cond_timedwait (&cond, &mut, &ts); in do_test()
|
A D | tst-cond4.c | 44 pthread_cond_t *cond; in do_test() local 81 cond = (pthread_cond_t *) (((uintptr_t) (mut2 + 1) in do_test() 85 condition = (int *) (((uintptr_t) (cond + 1) + __alignof (int)) in do_test() 172 if (pthread_cond_init (cond, &ca) != 0) in do_test() 206 if (pthread_cond_wait (cond, mut2) != 0) in do_test() 237 if (pthread_cond_signal (cond) != 0) in do_test()
|
A D | tst-cond6.c | 46 pthread_cond_t *cond; in do_test() local 82 cond = (pthread_cond_t *) (((uintptr_t) (mut2 + 1) in do_test() 86 condition = (int *) (((uintptr_t) (cond + 1) + __alignof (int)) in do_test() 125 if (pthread_cond_init (cond, &ca) != 0) in do_test() 176 if (pthread_cond_timedwait (cond, mut2, &ts) != 0) in do_test() 207 if (pthread_cond_signal (cond) != 0) in do_test()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/ia64/ |
A D | strncpy.S | 69 (p6) br.cond.spnt .short_len 86 (p7) br.cond.dpnt .found0_align 123 br.cond.sptk .not_found0 ;; 126 (p6) br.cond.dptk .found0 128 br.cond.sptk .not_found0 ;; 140 (p7) br.cond.dpnt .found0 159 br.cond.sptk .restore_and_exit 179 (p6) br.cond.dpnt .l6 ;; 219 br.cond.sptk .back2 223 br.cond.sptk .back3 [all …]
|
A D | strchr.S | 61 (p6) br.cond.sptk .str_aligned;; 69 (p6) br.cond.spnt .restore_and_exit 70 (p7) br.cond.spnt .notfound 85 (p7) br.cond.spnt .foundit 86 (p6) br.cond.spnt .notfound 90 br.cond.dptk .l2 93 (p8) br.cond.spnt .notfound /* null was found before chr */ 107 br.cond.sptk .back
|
A D | memccpy.S | 92 (p6) br.cond.sptk .dest_aligned 102 (p6) br.cond.spnt .foundit 116 (p6) br.cond.sptk .src_aligned ;; 131 (p6) br.cond.spnt .gotit 135 br.cond.sptk .cpyfew 146 (p7) br.cond.spnt .gotit 160 (p6) br.cond.spnt .foundit 200 br.cond.sptk .cpyfew 204 (p7) br.cond.spnt .gotit 210 (p7) br.cond.spnt .gotit [all …]
|
A D | memmove.S | 73 br.cond.sptk .cpyfew ; /* deal with the remaining bytes */ 96 (p6) br.cond.spnt .restore_and_exit;;/* return dest; */ 99 (p6) br.cond.spnt .forward /* to copy forward */ 102 (p6) br.cond.spnt .backward /* we have to copy backward */ 107 (p6) br.cond.sptk .next /* goto next; */ 138 (p6) br.cond.spnt .cpyfew /* copy byte by byte */ 141 (p6) br.cond.sptk .dest_aligned 164 (p6) br.cond.sptk .src_aligned 193 (p6) br.cond.spnt .restore_and_exit ;; 225 br.cond.sptk .restore_and_exit [all …]
|
A D | memcmp.S | 76 (p6) br.cond.spnt .cmpfew /* compare byte by byte */ 79 (p6) br.cond.sptk .dest_aligned 89 (p6) br.cond.spnt .done 103 (p6) br.cond.sptk .src_aligned 118 (p6) br.cond.spnt .l2exit 120 br.cond.sptk .cmpfew 141 (p6) br.cond.spnt .l3exit 146 (p6) br.cond.spnt .restore_and_exit ;; 153 (p6) br.cond.spnt .done
|
A D | strcpy.S | 73 (p6) br.cond.sptk .dest_aligned ;; 80 (p6) br.cond.dpnt .restore_and_exit 92 (p6) br.cond.sptk .src_aligned ;; 101 (p7) br.cond.dpnt .found0 109 (p7) br.cond.dpnt .found0 120 (p7) br.cond.dpnt .found0 138 br.cond.sptk .back2 142 br.cond.sptk .back3
|
/l4re-core-master/uclibc/lib/contrib/uclibc/test/pthread/ |
A D | ex7.c | 16 pthread_cond_t cond; member 35 pthread_cond_init(&foo.cond, NULL); in test_thread() 48 status = pthread_cond_timedwait(&foo.cond, &foo.mutex, &timeout); in test_thread() 55 pthread_cond_signal(&main_event.cond); in test_thread() 73 pthread_cond_init(&main_event.cond, NULL); in main() 94 pthread_cond_wait(&main_event.cond, &main_event.mutex); in main()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/arm/bits/ |
A D | arm_bx.h | 34 # define BXC(cond, reg) bx##cond reg argument 37 # define BXC(cond, reg) mov##cond pc, reg argument
|