Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/futex/functional/
H A Dfutex_wait_timeout.c37 ret = futex_lock_pi(&futex_pi, NULL, 0, 0); in get_pi_lock()
154 res = futex_lock_pi(&futex_pi, &to, 0, 0); in TEST()
158 res = futex_lock_pi(&futex_pi, NULL, 0, FUTEX_CLOCK_REALTIME); in TEST()
H A Dfutex_requeue_pi.c186 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in waiterfn()
211 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()
305 args->ret = futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in third_party_blocker()
H A Dfutex_requeue_pi_signal_restart.c119 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/kernel/futex/
H A Dsyscalls.c149 return futex_lock_pi(uaddr, flags, timeout, 0); in do_futex()
153 return futex_lock_pi(uaddr, flags, NULL, 1); in do_futex()
H A Dpi.c219 * futex_top_waiter(). This means that futex_lock_pi() of said futex_q in attach_to_pi_state()
221 * which in turn means that futex_lock_pi() still has a reference on in attach_to_pi_state()
225 * the unlocked put_pi_state() in futex_unlock_pi(), futex_lock_pi() in attach_to_pi_state()
339 * do_exit() futex_lock_pi() in handle_exit_race()
923 int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock) in futex_lock_pi() function
1194 * Since the cleanup: case in futex_lock_pi() removes the in futex_unlock_pi()
1210 * new futex_lock_pi() is not using this stale PI-state while in futex_unlock_pi()
/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