Lines Matching refs:Result
93 fn open(&self, _data: &mut FilePrivateData, _mode: &FileMode) -> Result<(), SystemError> { in open() argument
102 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() argument
122 ) -> Result<usize, SystemError>; in read_at()
139 ) -> Result<usize, SystemError>; in write_at()
144 fn poll(&self) -> Result<PollStatus, SystemError>; in poll()
150 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata()
159 fn set_metadata(&self, _metadata: &Metadata) -> Result<(), SystemError> { in set_metadata() argument
171 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() argument
189 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create()
209 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data()
221 fn link(&self, _name: &str, _other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() argument
232 fn unlink(&self, _name: &str) -> Result<(), SystemError> { in unlink() argument
243 fn rmdir(&self, _name: &str) -> Result<(), SystemError> { in rmdir() argument
262 ) -> Result<(), SystemError> { in move_() argument
273 fn find(&self, _name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
284 fn get_entry_name(&self, _ino: InodeId) -> Result<String, SystemError> { in get_entry_name()
295 fn get_entry_name_and_metadata(&self, ino: InodeId) -> Result<(String, Metadata), SystemError> { in get_entry_name_and_metadata()
309 fn ioctl(&self, _cmd: u32, _data: usize) -> Result<usize, SystemError> { in ioctl()
322 fn list(&self) -> Result<Vec<String>, SystemError>; in list()
326 fn mount(&self, _fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, SystemError> { in mount()
333 fn truncate(&self, _len: usize) -> Result<(), SystemError> { in truncate() argument
338 fn sync(&self) -> Result<(), SystemError> { in sync() argument
362 pub fn lookup(&self, path: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in lookup()
377 ) -> Result<Arc<dyn IndexNode>, SystemError> { in lookup_follow_symlink()