Home
last modified time | relevance | path

Searched refs:futex_t (Results 1 – 23 of 23) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/futex/include/
Dfutextest.h25 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/
Dfutextest.h113 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 …]
Dfutex_cmp_requeue02.c22 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()
Dfutex_wait01.c37 futex_t *f_addr;
38 futex_t f_val;
43 static futex_t futex = FUTEX_INITIALIZER;
Dfutex_wake01.c32 futex_t *f_addr;
37 static futex_t futex = FUTEX_INITIALIZER;
Dfutex_wake04.c58 static futex_t *futex1, *futex2;
162 futex2 = (futex_t *)((char *)addr + pgsz); in wakeup_thread2()
Dfutex_wait05.c32 futex_t futex = FUTEX_INITIALIZER; in sample_fn()
Dfutex_wait03.c34 static futex_t futex = FUTEX_INITIALIZER;
Dfutex_wait02.c36 static futex_t *futex;
Dfutex_wait_bitset.h12 futex_t futex = FUTEX_INITIALIZER; in verify_futex_wait_bitset()
Dfutex_wake03.c34 static futex_t *futex;
Dfutex_wake02.c34 static futex_t futex = FUTEX_INITIALIZER;
Dfutex_cmp_requeue01.c23 futex_t futexes[2];
/external/linux-kselftest/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c39 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()
Dfutex_requeue_pi_mismatched_ops.c31 futex_t f1 = FUTEX_INITIALIZER;
32 futex_t f2 = FUTEX_INITIALIZER;
Dfutex_requeue_pi_signal_restart.c34 futex_t f1 = FUTEX_INITIALIZER;
35 futex_t f2 = FUTEX_INITIALIZER;
Dfutex_wait_wouldblock.c42 futex_t f1 = FUTEX_INITIALIZER; in main()
Dfutex_wait_timeout.c42 futex_t f1 = FUTEX_INITIALIZER; in main()
Dfutex_wait_private_mapped_file.c37 futex_t val = 1;
/external/ltp/include/lapi/
Dfutex.h24 typedef volatile uint32_t futex_t; typedef
/external/ltp/lib/
Dtst_checkpoint.c36 futex_t *tst_futexes;
Dtst_tmpdir.c100 extern futex_t *tst_futexes;
Dtst_test.c116 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()