Lines Matching refs:Result
114 pub fn umount(&self) -> Result<Arc<MountFS>, SystemError> { in umount()
147 fn is_mountpoint_root(&self) -> Result<bool, SystemError> { in is_mountpoint_root()
167 fn do_find(&self, name: &str) -> Result<Arc<MountFSInode>, SystemError> { in do_find()
179 pub(super) fn do_parent(&self) -> Result<Arc<MountFSInode>, SystemError> { in do_parent()
207 fn do_umount(&self) -> Result<Arc<MountFS>, SystemError> { in do_umount()
219 fn do_absolute_path(&self) -> Result<String, SystemError> { in do_absolute_path()
250 ) -> Result<(), SystemError> { in open() argument
254 fn close(&self, data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() argument
264 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data()
275 fn truncate(&self, len: usize) -> Result<(), SystemError> { in truncate() argument
285 ) -> Result<usize, SystemError> { in read_at()
295 ) -> Result<usize, SystemError> { in write_at()
310 fn metadata(&self) -> Result<super::Metadata, SystemError> { in metadata()
315 fn set_metadata(&self, metadata: &super::Metadata) -> Result<(), SystemError> { in set_metadata() argument
320 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() argument
330 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create()
339 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() argument
345 fn unlink(&self, name: &str) -> Result<(), SystemError> { in unlink() argument
357 fn rmdir(&self, name: &str) -> Result<(), SystemError> { in rmdir() argument
376 ) -> Result<(), SystemError> { in move_to() argument
380 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
398 fn get_entry_name(&self, ino: InodeId) -> Result<alloc::string::String, SystemError> { in get_entry_name()
406 ) -> Result<(alloc::string::String, super::Metadata), SystemError> { in get_entry_name_and_metadata()
416 ) -> Result<usize, SystemError> { in ioctl()
425 ) -> Result<usize, SystemError> { in kernel_ioctl()
430 fn list(&self) -> Result<alloc::vec::Vec<alloc::string::String>, SystemError> { in list()
434 fn mount(&self, fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, SystemError> { in mount()
462 fn mount_from(&self, from: Arc<dyn IndexNode>) -> Result<Arc<MountFS>, SystemError> { in mount_from()
482 fn umount(&self) -> Result<Arc<MountFS>, SystemError> { in umount()
489 fn absolute_path(&self) -> Result<String, SystemError> { in absolute_path()
499 ) -> Result<Arc<dyn IndexNode>, SystemError> { in mknod()
514 fn poll(&self, private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll()
522 fn dname(&self) -> Result<DName, SystemError> { in dname()
531 fn parent(&self) -> Result<Arc<dyn IndexNode>, SystemError> { in parent()
740 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() argument