Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 27) sorted by relevance

12

/nptl/
A Dtst-attr2.c28 pthread_attr_t a; in do_test() local
30 if (pthread_attr_init (&a) != 0) in do_test()
38 if (pthread_attr_getdetachstate (&a, &s) != 0) in do_test()
87 if (pthread_attr_getguardsize (&a, &g) != 0) in do_test()
99 e = pthread_attr_setguardsize (&a, 0); in do_test()
105 if (pthread_attr_getguardsize (&a, &g) != 0) in do_test()
116 e = pthread_attr_setguardsize (&a, 1); in do_test()
245 if (pthread_attr_getscope (&a, &s) != 0) in do_test()
284 if (pthread_attr_getscope (&a, &s) != 0) in do_test()
296 e = pthread_attr_setstack (&a, buf, 1); in do_test()
[all …]
A Dtst-mutexpp1.c7 static pthread_mutexattr_t a; variable
14 if (pthread_mutexattr_init (&a) != 0) in prepare()
20 if (pthread_mutexattr_setprotocol (&a, PTHREAD_PRIO_PROTECT) != 0) in prepare()
26 if (pthread_mutexattr_setprioceiling (&a, 6) != 0) in prepare()
44 #define ATTR &a
A Dtst-mutexpp6.c7 static pthread_mutexattr_t a; variable
14 if (pthread_mutexattr_init (&a) != 0) in prepare()
20 if (pthread_mutexattr_setprotocol (&a, PTHREAD_PRIO_PROTECT) != 0) in prepare()
26 if (pthread_mutexattr_setprioceiling (&a, 6) != 0) in prepare()
44 #define ATTR &a
A Dtst-mutexpi1.c6 static pthread_mutexattr_t a; variable
11 if (pthread_mutexattr_init (&a) != 0) in prepare()
17 if (pthread_mutexattr_setprotocol (&a, PTHREAD_PRIO_INHERIT) != 0) in prepare()
26 #define ATTR &a
A Dtst-mutexpi6.c6 pthread_mutexattr_t a; variable
12 attr = &a; in prepare()
13 if (pthread_mutexattr_init (&a) != 0) in prepare()
19 if (pthread_mutexattr_setprotocol (&a, PTHREAD_PRIO_INHERIT) != 0) in prepare()
A Dtst-attr3.c33 pthread_attr_t a, *ap, a2; in tf() local
88 else if ((void *) &a < stackaddr in tf()
186 err = pthread_attr_destroy (&a); in tf()
211 pthread_attr_t a; in do_test() local
214 int err = pthread_attr_init (&a); in do_test()
228 err = pthread_attr_destroy (&a); in do_test()
263 else if ((void *) &a < stackaddr in do_test()
331 err = pthread_attr_destroy (&a); in do_test()
358 err = pthread_attr_init (&a); in do_test()
373 err = pthread_create (&th, &a, tf, &a); in do_test()
[all …]
A Dtst-tls5moda.c4 static __thread char a [32] __attribute__ ((aligned (64))); variable
5 TLS_REGISTER (a)
A Dtst-cancel17.c99 struct aiocb a, a2, *ap; in do_test() local
101 memset (&a, '\0', sizeof (a)); in do_test()
102 a.aio_fildes = fds[0]; in do_test()
103 a.aio_buf = mem; in do_test()
104 a.aio_nbytes = sizeof (mem); in do_test()
105 if (aio_read (&a) != 0) in do_test()
118 if (pthread_create (&th, NULL, tf, &a) != 0) in do_test()
167 if (pthread_create (&th, NULL, tf2, &a) != 0) in do_test()
216 ap = &a; in do_test()
217 if (aio_cancel (fds[0], &a) != AIO_CANCELED) in do_test()
[all …]
A Dtst-exec5.c44 posix_spawn_file_actions_t a; in tf() local
45 if (posix_spawn_file_actions_init (&a) != 0) in tf()
51 if (posix_spawn_file_actions_adddup2 (&a, pipefd[1], STDOUT_FILENO) != 0) in tf()
57 if (posix_spawn_file_actions_addclose (&a, pipefd[0]) != 0) in tf()
65 if (posix_spawn (&pid, _PATH_BSHELL, &a, NULL, argv, NULL) != 0) in tf()
A Dtst-tls3.c134 pthread_attr_t a; in do_test() local
136 if (pthread_attr_init (&a) != 0) in do_test()
142 if (pthread_attr_setstacksize (&a, stack_size_in_mb * 1024 * 1024) != 0) in do_test()
153 if (pthread_create (&th[i], &a, tf, cbs[i]) != 0) in do_test()
206 if (pthread_attr_destroy (&a) != 0) in do_test()
A Dtst-audit-threads-mod1.c36 #define CONCATX(a, b) __CONCAT (a, b) argument
A Dtst-rwlock7.c100 pthread_rwlockattr_t a; in do_test_clock() local
102 if (pthread_rwlockattr_init (&a) != 0) in do_test_clock()
105 if (pthread_rwlockattr_setkind_np (&a, kind[cnt]) != 0) in do_test_clock()
108 if (pthread_rwlock_init (&r, &a) != 0) in do_test_clock()
111 if (pthread_rwlockattr_destroy (&a) != 0) in do_test_clock()
A DTODO1 - we should probably extend pthread_mutexattr_t with a field to create a
6 - a new attribute for mutexes: number of times we spin before calling
10 If yes, for a short time release lock. If someone else locks no wakeup
A Dtst-rwlock8.c120 pthread_rwlockattr_t a; in do_test() local
122 if (pthread_rwlockattr_init (&a) != 0) in do_test()
128 if (pthread_rwlockattr_setkind_np (&a, KIND) != 0) in do_test()
134 if (pthread_rwlock_init (&lock, &a) != 0) in do_test()
A Dtst-rwlock6.c104 pthread_rwlockattr_t a; in do_test_clock() local
106 if (pthread_rwlockattr_init (&a) != 0) in do_test_clock()
109 if (pthread_rwlockattr_setkind_np (&a, kind[cnt]) != 0) in do_test_clock()
112 if (pthread_rwlock_init (&r, &a) != 0) in do_test_clock()
115 if (pthread_rwlockattr_destroy (&a) != 0) in do_test_clock()
A Dperf.c177 int a[4] = { i, rnum, i + rnum, rnum - i }; in work() local
184 a[0] += a[3] >> 12; in work()
185 a[1] += a[2] >> 20; in work()
186 a[2] += a[1] ^ 0x3423423; in work()
187 a[3] += a[0] - a[1]; in work()
191 sum += a[0] + a[1] + a[2] + a[3]; in work()
A Dtst-tls5.c33 tls_addr_cmp (const void *a, const void *b) in tls_addr_cmp() argument
35 if (((struct tls_obj *)a)->addr < ((struct tls_obj *)b)->addr) in tls_addr_cmp()
37 if (((struct tls_obj *)a)->addr > ((struct tls_obj *)b)->addr) in tls_addr_cmp()
A Dtst-signal3.c134 pthread_attr_t a; in do_test() local
136 if (pthread_attr_init (&a) != 0) in do_test()
142 if (pthread_attr_setstacksize (&a, 1 * 1024 * 1024) != 0) in do_test()
160 if (pthread_create (&th[i], &a, tf, (void *) (long int) i) != 0) in do_test()
167 if (pthread_attr_destroy (&a) != 0) in do_test()
A Dtst-rwlock9.c157 pthread_rwlockattr_t a; in do_test_clock() local
159 if (pthread_rwlockattr_init (&a) != 0) in do_test_clock()
162 if (pthread_rwlockattr_setkind_np (&a, KIND) != 0) in do_test_clock()
165 if (pthread_rwlock_init (&lock, &a) != 0) in do_test_clock()
A Dtst-stackguard1.c44 uintptr_t_cmp (const void *a, const void *b) in uintptr_t_cmp() argument
46 if (*(uintptr_t *) a < *(uintptr_t *) b) in uintptr_t_cmp()
48 if (*(uintptr_t *) a > *(uintptr_t *) b) in uintptr_t_cmp()
A Dtst-sched1.c27 tf (void *a) in tf() argument
A Dtst-audit-threads.h25 #define CONCAT(a, b) a ## b argument
A Dtst-cleanup4.c107 tf (void *a) in tf() argument
109 switch ((long) a) in tf()
A Dtst-rwlock-pwn.c40 run_loop (void *a) in run_loop() argument
A Dtst-tls6.sh35 for aligned in a e f; do

Completed in 20 milliseconds

12