Lines Matching refs:futex
5 * futex cmp requeue test by Andr�� Almeida <andrealmeid@collabora.com>
15 #define TEST_NAME "futex-wait"
20 void *futex;
42 if (futex_wait(futex, 0, &to, flags))
56 futex = &f_private;
79 /* Testing a private futex */
80 info("Calling private futex_wait on futex: %p\n", futex);
86 info("Calling private futex_wake on futex: %p\n", futex);
87 res = futex_wake(futex, 1, FUTEX_PRIVATE_FLAG);
106 futex = shared_data;
108 info("Calling shared (page anon) futex_wait on futex: %p\n", futex);
114 info("Calling shared (page anon) futex_wake on futex: %p\n", futex);
115 res = futex_wake(futex, 1, 0);
145 futex = shm;
147 info("Calling shared (file backed) futex_wait on futex: %p\n", futex);
153 info("Calling shared (file backed) futex_wake on futex: %p\n", futex);