Lines Matching refs:Result
128 fn mmap(&self, _start: usize, _len: usize, _offset: usize) -> Result<(), SystemError> { in mmap() argument
139 ) -> Result<(), SystemError> { in open() argument
148 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() argument
168 ) -> Result<usize, SystemError>; in read_at()
185 ) -> Result<usize, SystemError>; in write_at()
190 fn poll(&self, _private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll()
199 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata()
208 fn set_metadata(&self, _metadata: &Metadata) -> Result<(), SystemError> { in set_metadata() argument
220 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() argument
238 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create()
258 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data()
270 fn link(&self, _name: &str, _other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() argument
281 fn unlink(&self, _name: &str) -> Result<(), SystemError> { in unlink() argument
292 fn rmdir(&self, _name: &str) -> Result<(), SystemError> { in rmdir() argument
305 ) -> Result<(), SystemError> { in move_to() argument
316 fn find(&self, _name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
327 fn get_entry_name(&self, _ino: InodeId) -> Result<String, SystemError> { in get_entry_name()
338 fn get_entry_name_and_metadata(&self, ino: InodeId) -> Result<(String, Metadata), SystemError> { in get_entry_name_and_metadata()
357 ) -> Result<usize, SystemError> { in ioctl()
366 ) -> Result<usize, SystemError> { in kernel_ioctl()
378 fn list(&self) -> Result<Vec<String>, SystemError>; in list()
404 fn mount(&self, _fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, SystemError> { in mount()
429 fn mount_from(&self, _des: Arc<dyn IndexNode>) -> Result<Arc<MountFS>, SystemError> { in mount_from()
453 fn umount(&self) -> Result<Arc<MountFS>, SystemError> { in umount()
476 fn absolute_path(&self) -> Result<String, SystemError> { in absolute_path()
483 fn truncate(&self, _len: usize) -> Result<(), SystemError> { in truncate() argument
488 fn sync(&self) -> Result<(), SystemError> { in sync() argument
500 ) -> Result<Arc<dyn IndexNode>, SystemError> { in mknod()
519 fn mkdir(&self, name: &str, mode: ModeType) -> Result<Arc<dyn IndexNode>, SystemError> { in mkdir()
549 fn dname(&self) -> Result<DName, SystemError> { in dname()
565 fn parent(&self) -> Result<Arc<dyn IndexNode>, SystemError> { in parent()
597 pub fn lookup(&self, path: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in lookup()
605 ) -> Result<Arc<dyn IndexNode>, SystemError> { in lookup_follow_symlink()
614 ) -> Result<Arc<dyn IndexNode>, SystemError> { in lookup_follow_symlink2()
638 ) -> Result<Arc<dyn IndexNode>, SystemError> { in do_lookup_follow_symlink()
941 ) -> Result<Arc<dyn FileSystem>, SystemError> { in call()
951 fn(data: Option<&dyn FileSystemMakerData>) -> Result<Arc<dyn FileSystem>, SystemError>;