Home
last modified time | relevance | path

Searched refs:URingContext (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/io_uring/src/
During.rs190 pub struct URingContext { struct
198 impl URingContext { implementation
201 pub fn new(num_entries: usize) -> Result<URingContext> { in new() argument
255 Ok(URingContext { in new()
624 impl AsRawFd for URingContext { implementation
867 uring: &URingContext, in check_one_read() argument
885 uring: &URingContext, in check_one_readv() argument
920 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 …]
/external/crosvm/cros_async/src/
During_executor.rs69 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()