Lines Matching refs:ring_params
202 let ring_params = io_uring_params::default(); in new() localVariable
210 let fd = io_uring_setup(num_entries, &ring_params).map_err(Error::Setup)?; in new()
219 ring_params.sq_off.array as usize in new()
220 + ring_params.sq_entries as usize * std::mem::size_of::<u32>(), in new()
226 &ring_params, in new()
229 let num_sqe = ring_params.sq_entries as usize; in new()
233 ring_params.sq_entries as usize * std::mem::size_of::<io_uring_sqe>(), in new()
245 ring_params.cq_off.cqes as usize in new()
246 + ring_params.cq_entries as usize * std::mem::size_of::<io_uring_cqe>(), in new()
252 &ring_params, in new()
263 num_sqes: ring_params.sq_entries as usize, in new()