[][src]Function syscall::call::attach_iouring

pub fn attach_iouring(ringfd: usize, scheme_name: &[u8]) -> Result<usize>

Ask a scheme to attach an already-opened io_uring. The target scheme will become the consumer of the submission queue, and the producer of the completion queue. This syscall is required before an io_uring can operate properly.

The scheme will receive a recv_io_uring syscall (SYS_RECV_IORING), rather than this syscall directly, due to the kernel having to interfere when allocating and mapping memory.