Home
last modified time | relevance | path

Searched refs:err (Results 1 – 18 of 18) sorted by relevance

/nptl/
A Dtst-attr3.c34 int err; in tf() local
51 if (err) in tf()
59 if (err) in tf()
83 if (err) in tf()
100 if (err) in tf()
125 if (err) in tf()
148 if (err) in tf()
187 if (err) in tf()
215 if (err) in do_test()
222 if (err && err != ENOSYS) in do_test()
[all …]
A Dsem_waitcommon.c108 int err; in do_futex_wait() local
120 return err; in do_futex_wait()
167 int err = 0; in __new_sem_wait_slow64() local
193 if (err == ETIMEDOUT || err == EINTR || err == EOVERFLOW) in __new_sem_wait_slow64()
196 err = -1; in __new_sem_wait_slow64()
217 err = 0; in __new_sem_wait_slow64()
285 if (err == ETIMEDOUT || err == EINTR) in __new_sem_wait_slow64()
287 __set_errno (err); in __new_sem_wait_slow64()
288 err = -1; in __new_sem_wait_slow64()
291 err = 0; in __new_sem_wait_slow64()
[all …]
A Dfutex-internal.c72 int err; in __futex_abstimed_wait_common() local
95 if (err == -ENOSYS) in __futex_abstimed_wait_common()
96 err = -EOVERFLOW; in __futex_abstimed_wait_common()
103 switch (err) in __futex_abstimed_wait_common()
113 return -err; in __futex_abstimed_wait_common()
148 int err; in libc_hidden_def() local
176 err = INTERNAL_SYSCALL_CALL (futex, futex_word, op_pi, 0, pts32); in libc_hidden_def()
180 if (err == -ENOSYS) in libc_hidden_def()
181 err = -EINVAL; in libc_hidden_def()
184 switch (err) in libc_hidden_def()
[all …]
A Dpthread_barrierattr_setpshared.c26 int err = futex_supports_pshared (pshared); in __pthread_barrierattr_setpshared() local
27 if (err != 0) in __pthread_barrierattr_setpshared()
28 return err; in __pthread_barrierattr_setpshared()
A Dpthread_condattr_setpshared.c26 int err = futex_supports_pshared (pshared); in __pthread_condattr_setpshared() local
27 if (err != 0) in __pthread_condattr_setpshared()
28 return err; in __pthread_condattr_setpshared()
A Dpthread_rwlockattr_setpshared.c28 int err = futex_supports_pshared (pshared); in __pthread_rwlockattr_setpshared() local
29 if (err != 0) in __pthread_rwlockattr_setpshared()
30 return err; in __pthread_rwlockattr_setpshared()
A Dpthread_mutexattr_setpshared.c28 int err = futex_supports_pshared (pshared); in __pthread_mutexattr_setpshared() local
29 if (err != 0) in __pthread_mutexattr_setpshared()
30 return err; in __pthread_mutexattr_setpshared()
A Dsem_wait.c57 int err; in __old_sem_wait() local
65 err = lll_futex_wait_cancel (futex, 0, LLL_SHARED); in __old_sem_wait()
67 while (err == 0 || err == -EWOULDBLOCK); in __old_sem_wait()
69 __set_errno (-err); in __old_sem_wait()
A Dcond-perf.c49 int err; in main() local
73 if (__glibc_unlikely ((err = pthread_create (&th[i], NULL, cons, (void *) (long) i)) != 0)) in main()
74 printf ("pthread_create: %s\n", strerror (err)); in main()
99 if ((err = pthread_join (th[i], NULL)) != 0) in main()
100 printf ("pthread_create: %s\n", strerror (err)); in main()
A Dperf.c284 int err; in start_threads() local
296 err = pthread_join (ths[i], NULL); in start_threads()
297 if (err != 0) in start_threads()
307 if (err != 0) in start_threads()
322 err = pthread_join (ths[i], NULL); in start_threads()
323 if (err != 0) in start_threads()
420 int err; in main() local
439 if (err != 0) in main()
465 int err; in main() local
471 if (err != 0) in main()
[all …]
A Dpthread_rwlock_common.c332 int err = __futex_abstimed_wait64 (&rwlock->__data.__readers, in __pthread_rwlock_rdlock_full64() local
337 if (err == ETIMEDOUT || err == EOVERFLOW) in __pthread_rwlock_rdlock_full64()
338 return err; in __pthread_rwlock_rdlock_full64()
460 int err = __futex_abstimed_wait64 (&rwlock->__data.__wrphase_futex, in __pthread_rwlock_rdlock_full64() local
463 if (err == ETIMEDOUT || err == EOVERFLOW) in __pthread_rwlock_rdlock_full64()
482 return err; in __pthread_rwlock_rdlock_full64()
730 int err = __futex_abstimed_wait64 (&rwlock->__data.__writers_futex, in __pthread_rwlock_wrlock_full64() local
733 if (err == ETIMEDOUT || err == EOVERFLOW) in __pthread_rwlock_wrlock_full64()
761 return err; in __pthread_rwlock_wrlock_full64()
832 if (err == ETIMEDOUT || err == EOVERFLOW) in __pthread_rwlock_wrlock_full64()
[all …]
A Dsem_init.c38 int err = futex_supports_pshared (pshared); in __new_sem_init() local
39 if (err != 0) in __new_sem_init()
41 __set_errno (err); in __new_sem_init()
A Dtst-rwlock19.c48 int err = pthread_rwlock_rdlock (&lock); in reader_thread() local
49 if (err == EAGAIN) in reader_thread()
54 else if (err == 0) in reader_thread()
A Dpthread_cond_wait.c383 int err; in __pthread_cond_wait_common() local
419 err = __pthread_mutex_unlock_usercnt (mutex, 0); in __pthread_cond_wait_common()
420 if (__glibc_unlikely (err != 0)) in __pthread_cond_wait_common()
424 return err; in __pthread_cond_wait_common()
503 err = __futex_abstimed_wait_cancelable64 ( in __pthread_cond_wait_common()
508 if (__glibc_unlikely (err == ETIMEDOUT || err == EOVERFLOW)) in __pthread_cond_wait_common()
517 result = err; in __pthread_cond_wait_common()
607 err = __pthread_mutex_cond_lock (mutex); in __pthread_cond_wait_common()
609 return (err != 0) ? err : result; in __pthread_cond_wait_common()
A Dtst-exec5.c158 int err = waitpid (pid, &status, 0); in do_test() local
159 if (err != pid) in do_test()
A Dpthread_mutex_timedlock.c253 int err = __futex_abstimed_wait64 ( in __pthread_mutex_clocklock_common() local
258 if (err == ETIMEDOUT || err == EOVERFLOW) in __pthread_mutex_clocklock_common()
259 return err; in __pthread_mutex_clocklock_common()
A Dpthread_create.c647 int err = allocate_stack (iattr, &pd, &stackaddr, &stacksize); in __pthread_create_2_1() local
650 if (__glibc_unlikely (err != 0)) in __pthread_create_2_1()
655 retval = err == ENOMEM ? EAGAIN : err; in __pthread_create_2_1()
A Dallocatestack.c458 int err = __nptl_change_stack_perm (pd); in allocate_stack() local
459 if (err != 0) in allocate_stack()
464 return err; in allocate_stack()

Completed in 22 milliseconds