Lines Matching refs:usize
20 …pub static ref NET_DRIVERS: RwLock<BTreeMap<usize, Arc<dyn NetDriver>>> = RwLock::new(BTreeMap::ne…
24 pub fn generate_iface_id() -> usize { in generate_iface_id()
72 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint); in read() argument
80 fn write(&self, buf: &[u8], to: Option<Endpoint>) -> Result<usize, SystemError>; in write() argument
121 fn listen(&mut self, _backlog: usize) -> Result<(), SystemError> { in listen()
173 _cmd: usize, in ioctl() argument
174 _arg0: usize, in ioctl() argument
175 _arg1: usize, in ioctl() argument
176 _arg2: usize, in ioctl() argument
177 ) -> Result<usize, SystemError> { in ioctl() argument
195 _level: usize, in setsockopt() argument
196 _optname: usize, in setsockopt() argument