Lines Matching refs:Result

94     fn open(&self, _data: &mut FilePrivateData) -> Result<(), i32> {  in open()  argument
103 fn close(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in close() argument
123 ) -> Result<usize, i32>; in read_at()
140 ) -> Result<usize, i32>; in write_at()
145 fn poll(&self) -> Result<PollStatus, i32>; in poll()
151 fn metadata(&self) -> Result<Metadata, i32> { in metadata()
160 fn set_metadata(&self, _metadata: &Metadata) -> Result<(), i32> { in set_metadata() argument
169 fn resize(&self, _len: usize) -> Result<(), i32> { in resize() argument
187 ) -> Result<Arc<dyn IndexNode>, i32> { in create()
207 ) -> Result<Arc<dyn IndexNode>, i32> { in create_with_data()
219 fn link(&self, _name: &str, _other: &Arc<dyn IndexNode>) -> Result<(), i32> { in link() argument
230 fn unlink(&self, _name: &str) -> Result<(), i32> { in unlink() argument
241 fn rmdir(&self, _name: &str) ->Result<(), i32>{ in rmdir() argument
260 ) -> Result<(), i32> { in move_() argument
271 fn find(&self, _name: &str) -> Result<Arc<dyn IndexNode>, i32> { in find()
282 fn get_entry_name(&self, _ino: InodeId) -> Result<String, i32> { in get_entry_name()
293 fn get_entry_name_and_metadata(&self, ino: InodeId) -> Result<(String, Metadata), i32> { in get_entry_name_and_metadata()
307 fn ioctl(&self, _cmd: u32, _data: usize) -> Result<usize, i32> { in ioctl()
320 fn list(&self) -> Result<Vec<String>, i32>; in list()
324 fn mount(&self, _fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, i32> { in mount()
331 fn truncate(&self, _len: usize) -> Result<(), i32> { in truncate() argument
349 pub fn lookup(&self, path: &str) -> Result<Arc<dyn IndexNode>, i32> { in lookup()
364 ) -> Result<Arc<dyn IndexNode>, i32> { in lookup_follow_symlink()