/nptl/ |
A D | tst-setgetname.c | 50 int res = 0; in get_self_comm() local 61 res = errno; in get_self_comm() 73 return res; in get_self_comm() 80 int res; in do_test() local 93 if (res == 0) in do_test() 97 if (res == 0) in do_test() 124 if (res == 0) in do_test() 155 if (res == 0) in do_test() 210 if (res == 0) in do_test() 245 if (res != 0) in do_test() [all …]
|
A D | tst-stack3.c | 48 if (res) in do_test() 50 printf ("malloc failed %s\n", strerror (res)); in do_test() 58 res = pthread_attr_setstack (&attr, stack, 4 * PTHREAD_STACK_MIN); in do_test() 59 if (res) in do_test() 61 printf ("pthread_attr_setstack failed %d\n", res); in do_test() 69 res = pthread_create (&th, &attr, tf, NULL); in do_test() 70 if (res) in do_test() 72 printf ("pthread_create failed %d\n", res); in do_test() 77 res = pthread_join (th, NULL); in do_test() 78 if (res) in do_test() [all …]
|
A D | tst-stack2.c | 42 int res = pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN); in do_test() local 43 if (res) in do_test() 45 printf ("pthread_attr_setstacksize failed %d\n", res); in do_test() 51 res = pthread_create (&th, &attr, tf, NULL); in do_test() 52 if (res) in do_test() 54 printf ("pthread_create failed %d\n", res); in do_test() 59 res = pthread_join (th, NULL); in do_test() 60 if (res) in do_test() 62 printf ("pthread_join failed %d\n", res); in do_test()
|
A D | pthread_getaffinity.c | 33 int res = INTERNAL_SYSCALL_CALL (sched_getaffinity, pd->tid, in __pthread_getaffinity_np() local 35 if (INTERNAL_SYSCALL_ERROR_P (res)) in __pthread_getaffinity_np() 36 return INTERNAL_SYSCALL_ERRNO (res); in __pthread_getaffinity_np() 39 memset ((char *) cpuset + res, '\0', cpusetsize - res); in __pthread_getaffinity_np()
|
A D | pthread_setaffinity.c | 30 int res; in __pthread_setaffinity_new() local 32 res = INTERNAL_SYSCALL_CALL (sched_setaffinity, pd->tid, cpusetsize, in __pthread_setaffinity_new() 35 return (INTERNAL_SYSCALL_ERROR_P (res) in __pthread_setaffinity_new() 36 ? INTERNAL_SYSCALL_ERRNO (res) in __pthread_setaffinity_new()
|
A D | pthread_setname.c | 53 int res = 0; in __pthread_setname_np() local 56 res = errno; in __pthread_setname_np() 58 res = EIO; in __pthread_setname_np() 62 return res; in __pthread_setname_np()
|
A D | pthread_getname.c | 51 int res = 0; in __pthread_getname_np() local 54 res = errno; in __pthread_getname_np() 60 res = ERANGE; in __pthread_getname_np() 67 return res; in __pthread_getname_np()
|
A D | tst-tls5.c | 46 int res = 0; in do_test() local 67 res = 1; in do_test() 74 res = 1; in do_test() 91 res = 1; in do_test() 99 res = 1; in do_test() 107 return res; in do_test()
|
A D | tst-cancel24.cc | 83 void *res; in do_test() local 84 if (pthread_join (th, &res) != 0) in do_test() 90 if (res != PTHREAD_CANCELED) in do_test()
|
A D | tst-cond22.c | 97 void *res; in do_test() local 98 if (pthread_join (th, &res) != 0) in do_test() 103 if (res != PTHREAD_CANCELED) in do_test() 144 if (pthread_join (th, &res) != 0) in do_test() 149 if (res != NULL) in do_test()
|
A D | tst-rwlock8.c | 119 void *res; in do_test() local 164 if (pthread_join (thwr[n], &res) != 0) in do_test() 170 if (pthread_join (thrd[n], &res) != 0) in do_test()
|
A D | tst-rwlock19.c | 80 void *res; in do_test() local 98 if (pthread_join (thrd[n], &res) != 0) in do_test()
|
A D | tst-mutex8.c | 377 int res = check_type ("normal", NULL); in do_test() local 398 res |= check_type ("recursive", &ma); in do_test() 423 res |= check_type ("error-checking", &ma); in do_test() 430 return res; in do_test()
|
A D | pthread_create.c | 311 int res = INTERNAL_SYSCALL_CALL (sched_setaffinity, pd->tid, in create_thread() local 314 if (__glibc_unlikely (INTERNAL_SYSCALL_ERROR_P (res))) in create_thread() 315 return INTERNAL_SYSCALL_ERRNO (res); in create_thread() 323 int res = INTERNAL_SYSCALL_CALL (sched_setscheduler, pd->tid, in create_thread() local 325 if (__glibc_unlikely (INTERNAL_SYSCALL_ERROR_P (res))) in create_thread() 326 return INTERNAL_SYSCALL_ERRNO (res); in create_thread() 365 __resp = &pd->res; in start_thread()
|
A D | descr.h | 383 struct __res_state res; member
|