Searched refs:recv_ring_length (Results 1 – 1 of 1) sorted by relevance
303 let recv_ring_length = PAGE_SIZE / size_of::<E1000ERecvDesc>(); in new() localVariable307 from_raw_parts_mut::<E1000ERecvDesc>(recv_ring_va.as_ptr().cast(), recv_ring_length) in new()315 let mut recv_buffers: Vec<E1000EBuffer> = Vec::with_capacity(recv_ring_length); in new()320 for ring in recv_desc_ring.iter_mut().take(recv_ring_length) { in new()327 for ring in trans_desc_ring.iter_mut().take(recv_ring_length) { in new()355 volwrite!(receive_regs, rdt0, (recv_ring_length - 1) as u32); in new()561 let recv_ring_length = PAGE_SIZE / size_of::<E1000ERecvDesc>(); in drop() localVariable566 for i in 0..recv_ring_length { in drop()