Lines Matching refs:Result
106 pub fn new(inode: Arc<dyn IndexNode>, mode: FileMode) -> Result<Self, SystemError> { in new()
128 pub fn read(&mut self, len: usize, buf: &mut [u8]) -> Result<usize, SystemError> { in read()
155 pub fn write(&mut self, len: usize, buf: &[u8]) -> Result<usize, SystemError> { in write()
175 pub fn metadata(&self) -> Result<Metadata, SystemError> { in metadata()
180 pub fn get_entry_name(&self, ino: usize) -> Result<String, SystemError> { in get_entry_name()
187 pub fn lseek(&mut self, origin: SeekFrom) -> Result<usize, SystemError> { in lseek()
223 pub fn readable(&self) -> Result<(), SystemError> { in readable() argument
234 pub fn writeable(&self) -> Result<(), SystemError> { in writeable() argument
245 pub fn readdir(&mut self, dirent: &mut Dirent) -> Result<u64, SystemError> { in readdir()
340 pub fn set_mode(&mut self, mode: FileMode) -> Result<(), SystemError> { in set_mode() argument
356 pub fn ftruncate(&mut self, len: usize) -> Result<(), SystemError> { in ftruncate() argument
368 let r: Result<(), SystemError> = self.inode.close(&mut self.private_data); in drop()