Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/bench/
Dfutex.h56 futex_syscall_nr_requeue(volatile u_int32_t *uaddr, int op, u_int32_t val, int nr_requeue, in futex_syscall_nr_requeue() argument
59 return syscall(SYS_futex, uaddr, op | opflags, val, nr_requeue, uaddr2, val3); in futex_syscall_nr_requeue()
107 int nr_requeue, int opflags) in futex_cmp_requeue() argument
109 return futex_syscall_nr_requeue(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2, in futex_cmp_requeue()
140 int nr_requeue, int opflags) in futex_cmp_requeue_pi() argument
142 return futex_syscall_nr_requeue(uaddr, FUTEX_CMP_REQUEUE_PI, 1, nr_requeue, uaddr2, in futex_cmp_requeue_pi()
/linux-6.12.1/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-6.12.1/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c149 int nr_requeue = INT_MAX; in broadcast_wakerfn() local
167 args->ret = futex_cmp_requeue_pi(&f1, old_val, &f2, nr_wake, nr_requeue, in broadcast_wakerfn()
198 int nr_requeue = 0; in signal_wakerfn() local
220 nr_wake, nr_requeue, in signal_wakerfn()
/linux-6.12.1/kernel/futex/
Drequeue.c369 int nr_wake, int nr_requeue, u32 *cmpval, int requeue_pi) in futex_requeue() argument
378 if (nr_wake < 0 || nr_requeue < 0) in futex_requeue()
490 &exiting, nr_requeue); in futex_requeue()
575 if (task_count - nr_wake >= nr_requeue) in futex_requeue()
Dsyscalls.c418 int, nr_requeue) in SYSCALL_DEFINE4() argument
438 nr_wake, nr_requeue, &cmpval, 0); in SYSCALL_DEFINE4()
Dfutex.h343 int nr_wake, int nr_requeue,
/linux-6.12.1/Documentation/locking/
Dfutex-requeue-pi.rst118 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-6.12.1/include/linux/
Dsyscalls.h569 unsigned int flags, int nr_wake, int nr_requeue);