/nptl/ |
A D | tst-setuid2.c | 40 if (ret != 0) in thread_func() 49 if (ret != 0) in thread_func() 53 if (ret != 0) in thread_func() 57 if (ret != 0) in thread_func() 71 if (ret != 0) in run_on_thread() 75 if (ret != 0) in run_on_thread() 79 if (ret != 0) in run_on_thread() 83 if (ret != 0) in run_on_thread() 93 if (ret != 0) in run_on_thread() 101 if (ret != 0) in change_thread_ids() [all …]
|
A D | pthread_setattr_default_np.c | 29 int ret; in __pthread_setattr_default_np() local 35 ret = check_sched_policy_attr (policy); in __pthread_setattr_default_np() 36 if (ret) in __pthread_setattr_default_np() 37 return ret; in __pthread_setattr_default_np() 43 if (ret) in __pthread_setattr_default_np() 44 return ret; in __pthread_setattr_default_np() 52 if (ret) in __pthread_setattr_default_np() 53 return ret; in __pthread_setattr_default_np() 62 if (ret != 0) in __pthread_setattr_default_np() 63 return ret; in __pthread_setattr_default_np() [all …]
|
A D | tst-oddstacklimit.c | 37 int ret; in do_test() local 40 ret = getrlimit (RLIMIT_STACK, &rlim); in do_test() 41 if (ret != 0) in do_test() 47 ret = setrlimit (RLIMIT_STACK, &rlim); in do_test() 48 if (ret != 0) in do_test() 53 ret = system (command); in do_test() 54 if (ret == -1) in do_test() 59 if (WIFEXITED (ret)) in do_test() 60 return WEXITSTATUS (ret); in do_test()
|
A D | tst-thread-affinity-pthread.c | 28 int ret = pthread_setaffinity_np (pthread_self (), size, set); in setaffinity() local 29 if (ret != 0) in setaffinity() 31 errno = ret; in setaffinity() 40 int ret = pthread_getaffinity_np (pthread_self (), size, set); in getaffinity() local 41 if (ret != 0) in getaffinity() 43 errno = ret; in getaffinity()
|
A D | tst-setgetname.c | 81 int ret = 0; in do_test() local 117 ret++; in do_test() 149 ret++; in do_test() 204 ret++; in do_test() 234 ret++; in do_test() 256 ret++; in do_test() 262 ret++; in do_test() 268 ret++; in do_test() 284 ret++; in do_test() 290 ret++; in do_test() [all …]
|
A D | pthread_kill.c | 43 int ret = INTERNAL_SYSCALL_CALL (tgkill, __getpid (), tid, signo); in __pthread_kill_implementation() local 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; in __pthread_kill_implementation() 52 int ret; in __pthread_kill_implementation() local 59 ret = no_tid; in __pthread_kill_implementation() 62 ret = INTERNAL_SYSCALL_CALL (tgkill, __getpid (), pd->tid, signo); in __pthread_kill_implementation() 63 ret = INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; in __pthread_kill_implementation() 69 return ret; in __pthread_kill_implementation()
|
A D | tst-stack4.c | 79 int i, ret; in dso_process() local 85 if (ret != 0) in dso_process() 87 printf ("pthread_create failed: %d\n", ret); in dso_process() 96 ret = pthread_join (thread[i], NULL); in dso_process() 97 if (ret != 0) in dso_process() 99 printf ("pthread_join failed: %d\n", ret); in dso_process() 121 int ret; in do_test() local 133 if (ret != 0) in do_test() 145 ret = pthread_join (thread[i], NULL); in do_test() 146 if (ret != 0) in do_test() [all …]
|
A D | pthread_attr_copy.c | 34 int ret = 0; in __pthread_attr_copy() local 42 ret = __pthread_attr_setaffinity_np (&temp.external, in __pthread_attr_copy() 47 if (ret == 0 && isource->extension->sigmask_set) in __pthread_attr_copy() 48 ret = __pthread_attr_setsigmask_internal ((pthread_attr_t *) &temp, in __pthread_attr_copy() 52 if (ret != 0) in __pthread_attr_copy() 56 return ret; in __pthread_attr_copy()
|
A D | pthread_getattr_np.c | 38 if (ret != 0) in __pthread_getattr_np() 39 return ret; in __pthread_getattr_np() 87 ret = errno; in __pthread_getattr_np() 92 ret = errno; in __pthread_getattr_np() 112 ret = ENOENT; in __pthread_getattr_np() 154 ret = 0; in __pthread_getattr_np() 171 if (ret == 0) in __pthread_getattr_np() 193 if (ret == 0) in __pthread_getattr_np() 197 ret = 0; in __pthread_getattr_np() 203 if (ret != 0) in __pthread_getattr_np() [all …]
|
A D | tst-pthread-getattr.c | 63 int ret; in get_self_pthread_attr() local 66 if ((ret = pthread_getattr_np (me, &attr)) < 0) in get_self_pthread_attr() 68 printf ("%s: pthread_getattr_np failed: %s\n", id, strerror (ret)); in get_self_pthread_attr() 72 if ((ret = pthread_attr_getstack (&attr, stackaddr, stacksize)) < 0) in get_self_pthread_attr() 75 strerror (ret)); in get_self_pthread_attr() 90 int ret; in check_stack_top() local 95 ret = getrlimit (RLIMIT_STACK, &stack_limit); in check_stack_top() 96 if (ret) in check_stack_top() 117 if ((ret = setrlimit (RLIMIT_STACK, &stack_limit)) < 0) in check_stack_top()
|
A D | tst-default-attr.c | 31 if (ret != 0) \ 34 #f, ret, errno); \ 35 return ret; \ 52 int ret; in thr() local 83 detach_failed |= ret; in thr() 195 if (ret == EPERM) in do_affinity_test() 200 else if (ret != 0) in do_affinity_test() 201 return ret; in do_affinity_test() 256 if (ret == EPERM) in do_sched_test() 261 else if (ret != 0) in do_sched_test() [all …]
|
A D | pthread_attr_setsigmask.c | 25 int ret = __pthread_attr_setsigmask_internal (attr, sigmask); in pthread_attr_setsigmask_np() local 26 if (ret != 0) in pthread_attr_setsigmask_np() 27 return ret; in pthread_attr_setsigmask_np()
|
A D | pthread_attr_setschedpolicy.c | 30 int ret = check_sched_policy_attr (policy); in __pthread_attr_setschedpolicy() local 31 if (ret) in __pthread_attr_setschedpolicy() 32 return ret; in __pthread_attr_setschedpolicy()
|
A D | pthread_attr_setschedparam.c | 29 int ret = check_sched_priority_attr (param->sched_priority, in __pthread_attr_setschedparam() local 31 if (ret) in __pthread_attr_setschedparam() 32 return ret; in __pthread_attr_setschedparam()
|
A D | tst-thread-affinity-pthread2.c | 61 int ret = pthread_create (&thr, NULL, affinity_access_thread, &task); in run_affinity_access_thread() local 62 if (ret != 0) in run_affinity_access_thread() 64 errno = ret; in run_affinity_access_thread() 68 ret = pthread_join (thr, NULL); in run_affinity_access_thread() 69 if (ret != 0) in run_affinity_access_thread() 71 errno = ret; in run_affinity_access_thread()
|
A D | tst-pthread-timedlock-lockloop.c | 58 int ret = pthread_mutex_timedlock (&mutex, &abs_time); in worker_timedlock() local 60 if (ret == 0) in worker_timedlock() 63 TEST_VERIFY_EXIT (ret == 0 || ret == ETIMEDOUT); in worker_timedlock() 76 int ret = pthread_mutex_clocklock (&mutex, clockid, &time); in worker_clocklock() local 78 if (ret == 0) in worker_clocklock() 81 TEST_VERIFY_EXIT (ret == 0 || ret == ETIMEDOUT); in worker_clocklock()
|
A D | tst-pthread-attr-affinity.c | 30 int ret = f (__VA_ARGS__); \ 31 if (ret != 0) \ 34 #f, ret, errno); \ 35 return ret; \
|
A D | pthread_attr_setsigmask_internal.c | 36 int ret = __pthread_attr_extension (iattr); in __pthread_attr_setsigmask_internal() local 37 if (ret != 0) in __pthread_attr_setsigmask_internal() 38 return ret; in __pthread_attr_setsigmask_internal()
|
A D | pthread_attr_setstacksize.c | 36 int ret = check_stacksize_attr (stacksize); in __pthread_attr_setstacksize() local 37 if (ret) in __pthread_attr_setstacksize() 38 return ret; in __pthread_attr_setstacksize()
|
A D | pthread_getattr_default_np.c | 26 int ret = __pthread_attr_copy (out, &__default_pthread_attr.external); in ___pthread_getattr_default_np() local 28 return ret; in ___pthread_getattr_default_np()
|
A D | pthread_join_common.c | 105 int ret = __futex_abstimed_wait_cancelable64 ( in __pthread_clockjoin_ex() local 107 if (ret == ETIMEDOUT || ret == EOVERFLOW) in __pthread_clockjoin_ex() 109 result = ret; in __pthread_clockjoin_ex()
|
A D | tst-thread_local1.cc | 153 int ret = pthread_create (&thr, nullptr, func, nullptr); in do_test() local 154 if (ret != 0) in do_test() 156 errno = ret; in do_test() 161 ret = pthread_join (thr, nullptr); in do_test() 162 if (ret != 0) in do_test() 164 errno = ret; in do_test()
|
A D | pthread_attr_setaffinity.c | 45 int ret = __pthread_attr_extension (iattr); in __pthread_attr_setaffinity_np() local 46 if (ret != 0) in __pthread_attr_setaffinity_np() 47 return ret; in __pthread_attr_setaffinity_np()
|
A D | pthread_attr_setstack.c | 38 int ret = check_stacksize_attr (stacksize); in __pthread_attr_setstack() local 39 if (ret) in __pthread_attr_setstack() 40 return ret; in __pthread_attr_setstack()
|
A D | tst-tpp.h | 39 ret = 1; \ 51 ret = 1; \
|