Lines Matching defs:SystemError
60 pub fn callback_read(&self, buf: &mut [u8], offset: usize) -> Result<usize, SystemError> { in callback_read() argument
83 pub fn callback_write(&self, buf: &[u8], offset: usize) -> Result<usize, SystemError> { in callback_write() argument
109 ) -> Result<(), SystemError> { in create_file() argument
120 ) -> Result<(), SystemError> { in add_file_with_mode() argument
208 ) -> Result<(), SystemError> { in create_bin_file() argument
238 ) -> Result<(), SystemError> { in add_bin_file_with_mode() argument
290 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() argument
299 ) -> Result<usize, SystemError> { in read() argument
308 ) -> Result<usize, SystemError> { in write() argument
313 fn poll(&self, _data: KernCallbackData) -> Result<PollStatus, SystemError> { in poll() argument
322 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() argument
331 ) -> Result<usize, SystemError> { in read() argument
340 ) -> Result<usize, SystemError> { in write() argument
345 fn poll(&self, _data: KernCallbackData) -> Result<PollStatus, SystemError> { in poll() argument
354 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() argument
363 ) -> Result<usize, SystemError> { in read() argument
372 ) -> Result<usize, SystemError> { in write() argument
377 fn poll(&self, _data: KernCallbackData) -> Result<PollStatus, SystemError> { in poll() argument
386 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() argument
395 ) -> Result<usize, SystemError> { in read() argument
404 ) -> Result<usize, SystemError> { in write() argument
409 fn poll(&self, _data: KernCallbackData) -> Result<PollStatus, SystemError> { in poll() argument
414 pub fn sysfs_emit_str(buf: &mut [u8], s: &str) -> Result<usize, SystemError> { in sysfs_emit_str() argument