/linux-master/tools/testing/selftests/futex/functional/ |
H A D | Makefile | 18 futex_wait \
|
H A D | run.sh | 78 ./futex_wait $COLOR
|
H A D | futex_wait_timeout.c | 55 ret = futex_wait(&lock, 0, NULL, 0); 56 error("futex_wait failed\n", ret); 143 res = futex_wait(&f1, f1, &to, 0); 144 test_timeout(res, &ret, "futex_wait relative", ETIMEDOUT);
|
H A D | futex_wait_uninitialized_heap.c | 56 res = futex_wait(buf, 1, NULL, 0);
|
H A D | futex_wait_private_mapped_file.c | 57 ret = futex_wait(&val, 1, &wait_timeout, 0); 67 info("futex_wait: ret = %d, errno = %d\n", ret, errno);
|
H A D | futex_requeue_pi_mismatched_ops.c | 46 child_ret = futex_wait(&f1, f1, NULL, FUTEX_PRIVATE_FLAG); 49 error("futex_wait\n", errno);
|
H A D | futex_requeue.c | 35 if (futex_wait(f1, *f1, &to, 0))
|
H A D | futex_wait_wouldblock.c | 75 info("Calling futex_wait on f1: %u @ %p with val=%u\n", f1, &f1, f1+1); 76 res = futex_wait(&f1, f1+1, &to, FUTEX_PRIVATE_FLAG); 78 ksft_test_result_fail("futex_wait returned: %d %s\n", 83 ksft_test_result_pass("futex_wait\n");
|
H A D | futex_wait.c | 42 if (futex_wait(futex, 0, &to, flags)) 77 ksft_print_msg("%s: Test futex_wait\n", basename(argv[0])); 80 info("Calling private futex_wait on futex: %p\n", futex); 108 info("Calling shared (page anon) futex_wait on futex: %p\n", futex); 147 info("Calling shared (file backed) futex_wait on futex: %p\n", futex);
|
H A D | futex_requeue_pi.c | 267 args->ret = futex_wait(&wake_complete, wake_complete, NULL,
|
/linux-master/tools/perf/bench/ |
H A D | futex.h | 63 * futex_wait() - block on uaddr with optional timeout 67 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) function
|
H A D | breakpoint.c | 73 futex_wait(done, 0, NULL, 0);
|
H A D | futex-requeue.c | 10 * mimicking a regular futex_wait. 95 ret = futex_wait(&futex1, 0, NULL, futex_flag); 101 warnx("futex_wait"); 242 * futex_wait functionality. For the PI case the first
|
H A D | futex-hash.c | 92 ret = futex_wait(&w->futex[i], 1234, NULL, futex_flag);
|
H A D | futex-wake.c | 77 if (futex_wait(&futex1, 0, NULL, futex_flag) != EINTR)
|
H A D | futex-wake-parallel.c | 140 if (futex_wait(&futex, 0, NULL, futex_flag) != EINTR) 283 * a single futex_wait call.
|
/linux-master/tools/testing/selftests/futex/include/ |
H A D | futextest.h | 74 * futex_wait() - block on uaddr with optional timeout 78 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) function
|
/linux-master/kernel/futex/ |
H A D | syscalls.c | 102 return futex_wait(uaddr, flags, val, timeout, val3); 370 SYSCALL_DEFINE6(futex_wait,
|
H A D | waitwake.c | 17 * futex_wait(). This function computes the hash bucket and acquires 37 * futex_wait(futex, val); 61 * futex_wait(futex, val); 602 * Userspace waiter: val = var; if (cond(val)) futex_wait(&var, val); 612 * after testing *uaddr. This guarantees that futex_wait() will NOT 688 int futex_wait(u32 __user *uaddr, unsigned int flags, u32 val, ktime_t *abs_time, u32 bitset) function 731 return (long)futex_wait(uaddr, restart->futex.flags,
|
H A D | futex.h | 349 extern int futex_wait(u32 __user *uaddr, unsigned int flags, u32 val,
|
/linux-master/kernel/ |
H A D | sys_ni.c | 89 COND_SYSCALL(futex_wait); variable
|