/external/linux-kselftest/tools/testing/selftests/futex/include/ |
D | futextest.h | 25 typedef volatile u_int32_t futex_t; typedef 78 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) in futex_wait() 88 futex_wake(futex_t *uaddr, int nr_wake, int opflags) in futex_wake() 98 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, in futex_wait_bitset() 110 futex_wake_bitset(futex_t *uaddr, int nr_wake, u_int32_t bitset, int opflags) in futex_wake_bitset() 121 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, in futex_lock_pi() 131 futex_unlock_pi(futex_t *uaddr, int opflags) in futex_unlock_pi() 140 futex_wake_op(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_wake2, in futex_wake_op() 156 futex_requeue(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_requeue, in futex_requeue() 169 futex_cmp_requeue(futex_t *uaddr, futex_t val, futex_t *uaddr2, int nr_wake, in futex_cmp_requeue() [all …]
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futextest.h | 113 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) in futex_wait() 123 futex_wake(futex_t *uaddr, int nr_wake, int opflags) in futex_wake() 133 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, in futex_wait_bitset() 145 futex_wake_bitset(futex_t *uaddr, int nr_wake, u_int32_t bitset, int opflags) in futex_wake_bitset() 156 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, in futex_lock_pi() 166 futex_unlock_pi(futex_t *uaddr, int opflags) in futex_unlock_pi() 175 futex_wake_op(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_wake2, in futex_wake_op() 191 futex_requeue(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_requeue, in futex_requeue() 204 futex_cmp_requeue(futex_t *uaddr, futex_t val, futex_t *uaddr2, int nr_wake, in futex_cmp_requeue() 220 futex_wait_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, in futex_wait_requeue_pi() [all …]
|
D | futex_cmp_requeue02.c | 22 static futex_t *futexes; 58 futexes = SAFE_MMAP(NULL, sizeof(futex_t) * 2, PROT_READ | PROT_WRITE, in setup() 68 SAFE_MUNMAP((void *)futexes, sizeof(futex_t) * 2); in cleanup()
|
D | futex_wait01.c | 37 futex_t *f_addr; 38 futex_t f_val; 43 static futex_t futex = FUTEX_INITIALIZER;
|
D | futex_wake01.c | 32 futex_t *f_addr; 37 static futex_t futex = FUTEX_INITIALIZER;
|
D | futex_wake04.c | 58 static futex_t *futex1, *futex2; 162 futex2 = (futex_t *)((char *)addr + pgsz); in wakeup_thread2()
|
D | futex_wait05.c | 32 futex_t futex = FUTEX_INITIALIZER; in sample_fn()
|
D | futex_wait03.c | 34 static futex_t futex = FUTEX_INITIALIZER;
|
D | futex_wait02.c | 36 static futex_t *futex;
|
D | futex_wait_bitset.h | 12 futex_t futex = FUTEX_INITIALIZER; in verify_futex_wait_bitset()
|
D | futex_wake03.c | 34 static futex_t *futex;
|
D | futex_wake02.c | 34 static futex_t futex = FUTEX_INITIALIZER;
|
D | futex_cmp_requeue01.c | 23 futex_t futexes[2];
|
/external/linux-kselftest/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi.c | 39 futex_t f1 = FUTEX_INITIALIZER; 40 futex_t f2 = FUTEX_INITIALIZER; 41 futex_t wake_complete = FUTEX_INITIALIZER; 111 futex_t old_val; in waiterfn() 149 futex_t old_val; in broadcast_wakerfn()
|
D | futex_requeue_pi_mismatched_ops.c | 31 futex_t f1 = FUTEX_INITIALIZER; 32 futex_t f2 = FUTEX_INITIALIZER;
|
D | futex_requeue_pi_signal_restart.c | 34 futex_t f1 = FUTEX_INITIALIZER; 35 futex_t f2 = FUTEX_INITIALIZER;
|
D | futex_wait_wouldblock.c | 42 futex_t f1 = FUTEX_INITIALIZER; in main()
|
D | futex_wait_timeout.c | 42 futex_t f1 = FUTEX_INITIALIZER; in main()
|
D | futex_wait_private_mapped_file.c | 37 futex_t val = 1;
|
/external/ltp/include/lapi/ |
D | futex.h | 24 typedef volatile uint32_t futex_t; typedef
|
/external/ltp/lib/ |
D | tst_checkpoint.c | 36 futex_t *tst_futexes;
|
D | tst_tmpdir.c | 100 extern futex_t *tst_futexes;
|
D | tst_test.c | 116 tst_max_futexes = (size - sizeof(struct results))/sizeof(futex_t); in setup_ipc() 153 tst_max_futexes = (size - sizeof(struct results))/sizeof(futex_t); in tst_reinit()
|