Lines Matching refs:VirtioNICDriver
23 pub struct VirtioNICDriver<T: Transport> { struct
27 impl<T: Transport> Clone for VirtioNICDriver<T> { argument
29 return VirtioNICDriver { in clone()
38 struct VirtioNICDriverWrapper<T: Transport>(UnsafeCell<VirtioNICDriver<T>>);
43 type Target = VirtioNICDriver<T>;
55 fn force_get_mut(&self) -> &mut VirtioNICDriver<T> { in force_get_mut()
60 impl<T: Transport> Debug for VirtioNICDriver<T> { implementation
85 pub fn new(mut driver: VirtioNICDriver<T>) -> Arc<Self> { in new()
110 impl<T: 'static + Transport> VirtioNICDriver<T> { implementation
123 let result = VirtioNICDriver { inner }; in new()
129 driver: VirtioNICDriver<T>,
135 driver: VirtioNICDriver<T>, in new()
142 impl<T: Transport> phy::Device for VirtioNICDriver<T> { implementation
228 let driver: VirtioNICDriver<T> = VirtioNICDriver::new(driver_net); in virtio_net()