Searched refs:futex_wait (Results 1 - 21 of 21) sorted by relevance

/linux-master/tools/testing/selftests/futex/functional/
H A DMakefile18 futex_wait \
H A Drun.sh78 ./futex_wait $COLOR
H A Dfutex_wait_timeout.c55 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 Dfutex_wait_uninitialized_heap.c56 res = futex_wait(buf, 1, NULL, 0);
H A Dfutex_wait_private_mapped_file.c57 ret = futex_wait(&val, 1, &wait_timeout, 0);
67 info("futex_wait: ret = %d, errno = %d\n", ret, errno);
H A Dfutex_requeue_pi_mismatched_ops.c46 child_ret = futex_wait(&f1, f1, NULL, FUTEX_PRIVATE_FLAG);
49 error("futex_wait\n", errno);
H A Dfutex_requeue.c35 if (futex_wait(f1, *f1, &to, 0))
H A Dfutex_wait_wouldblock.c75 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 Dfutex_wait.c42 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 Dfutex_requeue_pi.c267 args->ret = futex_wait(&wake_complete, wake_complete, NULL,
/linux-master/tools/perf/bench/
H A Dfutex.h63 * 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 Dbreakpoint.c73 futex_wait(done, 0, NULL, 0);
H A Dfutex-requeue.c10 * 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 Dfutex-hash.c92 ret = futex_wait(&w->futex[i], 1234, NULL, futex_flag);
H A Dfutex-wake.c77 if (futex_wait(&futex1, 0, NULL, futex_flag) != EINTR)
H A Dfutex-wake-parallel.c140 if (futex_wait(&futex, 0, NULL, futex_flag) != EINTR)
283 * a single futex_wait call.
/linux-master/tools/testing/selftests/futex/include/
H A Dfutextest.h74 * 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 Dsyscalls.c102 return futex_wait(uaddr, flags, val, timeout, val3);
370 SYSCALL_DEFINE6(futex_wait,
H A Dwaitwake.c17 * 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 Dfutex.h349 extern int futex_wait(u32 __user *uaddr, unsigned int flags, u32 val,
/linux-master/kernel/
H A Dsys_ni.c89 COND_SYSCALL(futex_wait); variable

Completed in 1003 milliseconds