Searched refs:URingContext (Results 1 – 2 of 2) sorted by relevance
190 pub struct URingContext { struct198 impl URingContext { implementation201 pub fn new(num_entries: usize) -> Result<URingContext> { in new() argument255 Ok(URingContext { in new()624 impl AsRawFd for URingContext { implementation867 uring: &URingContext, in check_one_read() argument885 uring: &URingContext, in check_one_readv() argument920 let uring = URingContext::new(QUEUE_SIZE).unwrap(); in read_parallel()951 let uring = URingContext::new(queue_size).unwrap(); in read_readv()969 let uring = URingContext::new(queue_size).unwrap(); in readv_vec()[all …]
69 use io_uring::URingContext;126 if URingContext::new(8).is_ok() { in use_uring()259 ctx: URingContext,269 ctx: URingContext::new(NUM_ENTRIES).map_err(Error::CreatingContext)?, in new()