Home
last modified time | relevance | path

Searched refs:nr_requeue (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/tools/testing/selftests/futex/include/
Dfutextest.h156 futex_requeue(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_requeue, in futex_requeue() argument
159 return futex(uaddr, FUTEX_REQUEUE, nr_wake, nr_requeue, uaddr2, 0, in futex_requeue()
170 int nr_requeue, int opflags) in futex_cmp_requeue() argument
172 return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2, in futex_cmp_requeue()
201 int nr_requeue, int opflags) in futex_cmp_requeue_pi() argument
203 return futex(uaddr, FUTEX_CMP_REQUEUE_PI, nr_wake, nr_requeue, uaddr2, in futex_cmp_requeue_pi()
/Linux-v5.4/tools/perf/bench/
Dfutex.h84 int nr_requeue, int opflags) in futex_cmp_requeue() argument
86 return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2, in futex_cmp_requeue()
/Linux-v5.4/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c147 int nr_requeue = INT_MAX; in broadcast_wakerfn() local
165 args->ret = futex_cmp_requeue_pi(&f1, old_val, &f2, nr_wake, nr_requeue, in broadcast_wakerfn()
196 int nr_requeue = 0; in signal_wakerfn() local
218 nr_wake, nr_requeue, in signal_wakerfn()
/Linux-v5.4/Documentation/
Dfutex-requeue-pi.txt118 nr_wake+nr_requeue tasks to the PI futex, calling
124 FUTEX_CMP_REQUEUE_PI accepts nr_wake and nr_requeue as arguments, but
126 requeue up to nr_wake + nr_requeue tasks. It will wake only as many
131 nr_wake=1. nr_requeue should be INT_MAX for broadcast and 0 for
/Linux-v5.4/kernel/
Dfutex.c1933 u32 __user *uaddr2, int nr_wake, int nr_requeue, in futex_requeue() argument
1943 if (nr_wake < 0 || nr_requeue < 0) in futex_requeue()
2034 if (requeue_pi && (task_count - nr_wake < nr_requeue)) { in futex_requeue()
2042 &key2, &pi_state, nr_requeue); in futex_requeue()
2106 if (task_count - nr_wake >= nr_requeue) in futex_requeue()