Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/futex/functional/
H A Dfutex_wait_timeout.c48 ret = futex_lock_pi(&futex_pi, NULL, 0, 0); in get_pi_lock()
185 res = futex_lock_pi(&futex_pi, &to, 0, 0); in main()
189 res = futex_lock_pi(&futex_pi, NULL, 0, FUTEX_CLOCK_REALTIME); in main()
H A Dfutex_requeue_pi.c138 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in waiterfn()
163 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in broadcast_wakerfn()
214 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in signal_wakerfn()
264 args->ret = futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in third_party_blocker()
H A Dfutex_requeue_pi_signal_restart.c167 futex_lock_pi(&f2, 0, 0, FUTEX_PRIVATE_FLAG); in main()
/linux/kernel/trace/rv/monitors/sleep/
H A Dsleep.h81 bool futex_lock_pi = test_bit(LTL_FUTEX_LOCK_PI, mon->atoms); in ltl_start() local
82 bool val41 = futex_lock_pi || val40; in ltl_start()
130 bool futex_lock_pi = test_bit(LTL_FUTEX_LOCK_PI, mon->atoms); in ltl_possible_next_states() local
131 bool val41 = futex_lock_pi || val40; in ltl_possible_next_states()
/linux/tools/perf/bench/
H A Dfutex.h87 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.c118 return futex_lock_pi(uaddr, flags, timeout, 0); in do_futex()
122 return futex_lock_pi(uaddr, flags, NULL, 1); in do_futex()
H A Dfutex.h500 extern int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock);
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()
918 int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock) in futex_lock_pi() function
1185 * Since the cleanup: case in futex_lock_pi() removes the in futex_unlock_pi()
1201 * 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.h132 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, in 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