Lines Matching refs:Result

102     ) -> Result<(), SystemError> {  in register_device()  argument
153 ) -> Result<(), SystemError> { in unregister_device() argument
248 pub fn add_dir(&self, name: &str) -> Result<(), SystemError> { in add_dir() argument
265 pub fn add_dev(&self, name: &str, dev: Arc<dyn IndexNode>) -> Result<(), SystemError> { in add_dev() argument
276 pub fn remove(&self, name: &str) -> Result<(), SystemError> { in remove() argument
295 ) -> Result<Arc<dyn IndexNode>, SystemError> { in do_create_with_data()
347 ) -> Result<(), SystemError> { in open() argument
351 fn close(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), SystemError> { in close() argument
361 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data()
368 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
393 fn get_entry_name(&self, ino: super::vfs::InodeId) -> Result<String, SystemError> { in get_entry_name()
425 fn ioctl(&self, _cmd: u32, _data: usize) -> Result<usize, SystemError> { in ioctl()
429 fn list(&self) -> Result<Vec<String>, SystemError> { in list()
443 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata()
447 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata() argument
459 fn poll(&self) -> Result<super::vfs::PollStatus, SystemError> { in poll()
478 ) -> Result<usize, SystemError> { in read_at()
490 ) -> Result<usize, SystemError> { in write_at()
504 let devfs_inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().find("dev");
523 pub fn devfs_register<T: DeviceINode>(name: &str, device: Arc<T>) -> Result<(), SystemError> { in devfs_register() argument
529 pub fn devfs_unregister<T: DeviceINode>(name: &str, device: Arc<T>) -> Result<(), SystemError> { in devfs_unregister() argument