Lines Matching refs:Result
104 fn is_mountpoint_root(&self) -> Result<bool, SystemError> { in is_mountpoint_root()
126 fn open(&self, data: &mut FilePrivateData, mode: &FileMode) -> Result<(), SystemError> { in open() argument
130 fn close(&self, data: &mut FilePrivateData) -> Result<(), SystemError> { in close() argument
140 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data()
146 fn truncate(&self, len: usize) -> Result<(), SystemError> { in truncate() argument
156 ) -> Result<usize, SystemError> { in read_at()
166 ) -> Result<usize, SystemError> { in write_at()
171 fn poll(&self) -> Result<super::PollStatus, SystemError> { in poll()
186 fn metadata(&self) -> Result<super::Metadata, SystemError> { in metadata()
191 fn set_metadata(&self, metadata: &super::Metadata) -> Result<(), SystemError> { in set_metadata() argument
196 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() argument
206 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create()
215 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() argument
221 fn unlink(&self, name: &str) -> Result<(), SystemError> { in unlink() argument
233 fn rmdir(&self, name: &str) -> Result<(), SystemError> { in rmdir() argument
252 ) -> Result<(), SystemError> { in move_() argument
256 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
298 fn get_entry_name(&self, ino: InodeId) -> Result<alloc::string::String, SystemError> { in get_entry_name()
306 ) -> Result<(alloc::string::String, super::Metadata), SystemError> { in get_entry_name_and_metadata()
311 fn ioctl(&self, cmd: u32, data: usize) -> Result<usize, SystemError> { in ioctl()
316 fn list(&self) -> Result<alloc::vec::Vec<alloc::string::String>, SystemError> { in list()
323 fn mount(&self, fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, SystemError> { in mount()