Home
last modified time | relevance | path

Searched refs:futex_lock_pi (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/futex/functional/
H A Dfutex_wait_timeout.c38 ret = futex_lock_pi(&futex_pi, NULL, 0, 0); in get_pi_lock()
40 TH_LOG("futex_lock_pi failed"); in get_pi_lock()
128 /* Wait until the other thread calls futex_lock_pi() */ in TEST()
143 res = futex_lock_pi(&futex_pi, &to, 0, 0); in TEST()
144 TEST_TIMEOUT(res, "futex_lock_pi realtime", ETIMEDOUT); in TEST()
147 res = futex_lock_pi(&futex_pi, NULL, 0, FUTEX_CLOCK_REALTIME); in TEST()
148 TEST_TIMEOUT(res, "futex_lock_pi invalid timeout flag", ENOSYS); in TEST()
H A Dfutex_requeue_pi.c182 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in waiterfn()
208 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in broadcast_wakerfn()
260 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in signal_wakerfn()
310 args->ret = futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in third_party_blocker()
H A Dfutex_requeue_pi_signal_restart.c118 futex_lock_pi(&f2, 0, 0, FUTEX_PRIVATE_FLAG); in TEST()
/linux/tools/perf/bench/
H A Dfutex.h88 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags) in futex_lock_pi() function
H A Dfutex-lock-pi.c100 ret = futex_lock_pi(w->futex, NULL, futex_flag); in workerfn()
/linux/tools/testing/selftests/futex/include/
H A Dfutextest.h145 * futex_lock_pi() - block on uaddr as a PI mutex in futex_lock_pi()
149 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect,
143 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, futex_lock_pi() function
/linux/Documentation/locking/
H A Dfutex-requeue-pi.rst108 futex_lock_pi(), with some extra logic to check for the additional