Home
last modified time | relevance | path

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

/linux-6.6.21/io_uring/
Dtctx.c204 if (tctx->registered_rings[i]) { in io_uring_unreg_ringfd()
205 fput(tctx->registered_rings[i]); in io_uring_unreg_ringfd()
206 tctx->registered_rings[i] = NULL; in io_uring_unreg_ringfd()
217 if (tctx->registered_rings[offset]) in io_ring_add_registered_file()
220 tctx->registered_rings[offset] = file; in io_ring_add_registered_file()
302 fput(tctx->registered_rings[reg.offset]); in io_ringfd_register()
303 tctx->registered_rings[reg.offset] = NULL; in io_ringfd_register()
336 if (tctx->registered_rings[reg.offset]) { in io_ringfd_unregister()
337 fput(tctx->registered_rings[reg.offset]); in io_ringfd_unregister()
338 tctx->registered_rings[reg.offset] = NULL; in io_ringfd_unregister()
Dio_uring.c3642 file = tctx->registered_rings[fd]; in SYSCALL_DEFINE6()
4609 file = tctx->registered_rings[fd]; in SYSCALL_DEFINE4()
/linux-6.6.21/include/linux/
Dio_uring_types.h57 struct file *registered_rings[IO_RINGFD_REG_MAX]; member