Home
last modified time | relevance | path

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

/linux-6.6.21/io_uring/
Dtctx.c203 for (i = 0; i < IO_RINGFD_REG_MAX; i++) { in io_uring_unreg_ringfd()
216 offset = array_index_nospec(offset, IO_RINGFD_REG_MAX); in io_ring_add_registered_file()
261 if (!nr_args || nr_args > IO_RINGFD_REG_MAX) in io_ringfd_register()
286 end = IO_RINGFD_REG_MAX; in io_ringfd_register()
288 if (reg.offset >= IO_RINGFD_REG_MAX) { in io_ringfd_register()
320 if (!nr_args || nr_args > IO_RINGFD_REG_MAX) in io_ringfd_unregister()
330 if (reg.resv || reg.data || reg.offset >= IO_RINGFD_REG_MAX) { in io_ringfd_unregister()
335 reg.offset = array_index_nospec(reg.offset, IO_RINGFD_REG_MAX); in io_ringfd_unregister()
Dio_uring.c3639 if (unlikely(!tctx || fd >= IO_RINGFD_REG_MAX)) in SYSCALL_DEFINE6()
3641 fd = array_index_nospec(fd, IO_RINGFD_REG_MAX); in SYSCALL_DEFINE6()
4059 ret = io_ring_add_registered_file(tctx, file, 0, IO_RINGFD_REG_MAX); in io_uring_create()
4606 if (unlikely(!tctx || fd >= IO_RINGFD_REG_MAX)) in SYSCALL_DEFINE4()
4608 fd = array_index_nospec(fd, IO_RINGFD_REG_MAX); in SYSCALL_DEFINE4()
/linux-6.6.21/include/linux/
Dio_uring_types.h50 #define IO_RINGFD_REG_MAX 16 macro
57 struct file *registered_rings[IO_RINGFD_REG_MAX];