Home
last modified time | relevance | path

Searched refs:futexv (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/io_uring/
H A Dfutex.c66 struct futex_vector *futexv = req->async_data; in io_futexv_complete() local
73 res = futex_unqueue_multiple(futexv, iof->futex_nr); in io_futexv_complete()
172 struct futex_vector *futexv; in io_futexv_prep() local
185 futexv = kcalloc(iof->futex_nr, sizeof(*futexv), GFP_KERNEL); in io_futexv_prep()
186 if (!futexv) in io_futexv_prep()
189 ret = futex_parse_waitv(futexv, iof->uwaitv, iof->futex_nr, in io_futexv_prep()
192 kfree(futexv); in io_futexv_prep()
199 req->async_data = futexv; in io_futexv_prep()
219 struct futex_vector *futexv = req->async_data; in io_futexv_wait() local
225 ret = futex_wait_multiple_setup(futexv, iof->futex_nr, &woken); in io_futexv_wait()
[all …]
/linux-6.15/kernel/futex/
H A Dsyscalls.c192 int futex_parse_waitv(struct futex_vector *futexv, in futex_parse_waitv() argument
216 futexv[i].w.flags = flags; in futex_parse_waitv()
217 futexv[i].w.val = aux.val; in futex_parse_waitv()
218 futexv[i].w.uaddr = aux.uaddr; in futex_parse_waitv()
219 futexv[i].q = futex_q_init; in futex_parse_waitv()
220 futexv[i].q.wake = wake; in futex_parse_waitv()
221 futexv[i].q.wake_data = wake_data; in futex_parse_waitv()
295 struct futex_vector *futexv; in SYSCALL_DEFINE5() local
308 futexv = kcalloc(nr_futexes, sizeof(*futexv), GFP_KERNEL); in SYSCALL_DEFINE5()
309 if (!futexv) { in SYSCALL_DEFINE5()
[all …]
H A Dfutex.h424 extern int futex_parse_waitv(struct futex_vector *futexv,