Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e.rs303 let recv_ring_length = PAGE_SIZE / size_of::<E1000ERecvDesc>(); in new() localVariable
307 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() localVariable
566 for i in 0..recv_ring_length { in drop()