Searched refs:nr_requeue (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.15/tools/testing/selftests/futex/include/ |
D | futextest.h | 156 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.15/tools/perf/bench/ |
D | futex.h | 98 int nr_requeue, int opflags) in futex_cmp_requeue() argument 100 return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2, in futex_cmp_requeue() 131 int nr_requeue, int opflags) in futex_cmp_requeue_pi() argument 133 return futex(uaddr, FUTEX_CMP_REQUEUE_PI, 1, nr_requeue, uaddr2, in futex_cmp_requeue_pi()
|
/Linux-v5.15/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi.c | 147 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.15/Documentation/locking/ |
D | futex-requeue-pi.rst | 118 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.15/kernel/ |
D | futex.c | 2128 u32 __user *uaddr2, int nr_wake, int nr_requeue, in futex_requeue() argument 2138 if (nr_wake < 0 || nr_requeue < 0) in futex_requeue() 2250 &exiting, nr_requeue); in futex_requeue() 2335 if (task_count - nr_wake >= nr_requeue) in futex_requeue()
|