Home
last modified time | relevance | path

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

/Linux-v6.6/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.c3621 if (unlikely(!tctx || fd >= IO_RINGFD_REG_MAX)) in SYSCALL_DEFINE6()
3623 fd = array_index_nospec(fd, IO_RINGFD_REG_MAX); in SYSCALL_DEFINE6()
4041 ret = io_ring_add_registered_file(tctx, file, 0, IO_RINGFD_REG_MAX); in io_uring_create()
4588 if (unlikely(!tctx || fd >= IO_RINGFD_REG_MAX)) in SYSCALL_DEFINE4()
4590 fd = array_index_nospec(fd, IO_RINGFD_REG_MAX); in SYSCALL_DEFINE4()
/Linux-v6.6/include/linux/
Dio_uring_types.h50 #define IO_RINGFD_REG_MAX 16 macro
57 struct file *registered_rings[IO_RINGFD_REG_MAX];