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

/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_wait_timeout.c48 ret = futex_lock_pi(&futex_pi, NULL, 0, 0);
50 error("futex_lock_pi failed\n", ret);
170 /* Wait until the other thread calls futex_lock_pi() */
185 res = futex_lock_pi(&futex_pi, &to, 0, 0);
186 test_timeout(res, &ret, "futex_lock_pi realtime", ETIMEDOUT);
189 res = futex_lock_pi(&futex_pi, NULL, 0, FUTEX_CLOCK_REALTIME);
190 test_timeout(res, &ret, "futex_lock_pi invalid timeout flag", ENOSYS);
H A Dfutex_requeue_pi.c138 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG);
163 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG);
214 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG);
264 args->ret = futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG);
H A Dfutex_requeue_pi_signal_restart.c167 futex_lock_pi(&f2, 0, 0, FUTEX_PRIVATE_FLAG);
/linux-master/tools/perf/bench/
H A Dfutex.h83 * futex_lock_pi() - block on uaddr as a PI mutex
86 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags) function
H A Dfutex-lock-pi.c97 ret = futex_lock_pi(w->futex, NULL, futex_flag);
/linux-master/tools/testing/selftests/futex/include/
H A Dfutextest.h117 * futex_lock_pi() - block on uaddr as a PI mutex
121 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, function
/linux-master/kernel/futex/
H A Dsyscalls.c118 return futex_lock_pi(uaddr, flags, timeout, 0);
122 return futex_lock_pi(uaddr, flags, NULL, 1);
H A Dfutex.h384 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
221 * which in turn means that futex_lock_pi() still has a reference on
225 * the unlocked put_pi_state() in futex_unlock_pi(), futex_lock_pi()
339 * do_exit() futex_lock_pi()
918 int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock) function
1166 * Since the cleanup: case in futex_lock_pi() removes the
1182 * new futex_lock_pi() is not using this stale PI-state while

Completed in 260 milliseconds