Lines Matching defs:self
94 fn open(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in open()
103 fn close(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in close()
118 &self, in read_at()
135 &self, in write_at()
160 fn set_metadata(&self, _metadata: &Metadata) -> Result<(), i32> { in set_metadata()
169 fn resize(&self, _len: usize) -> Result<(), i32> { in resize()
183 &self, in create()
202 &self, in create_with_data()
219 fn link(&self, _name: &str, _other: &Arc<dyn IndexNode>) -> Result<(), i32> { in link()
230 fn unlink(&self, _name: &str) -> Result<(), i32> { in unlink()
241 fn rmdir(&self, _name: &str) ->Result<(), i32>{ in rmdir()
256 &self, in move_()
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()
324 fn mount(&self, _fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, i32> { in mount()
331 fn truncate(&self, _len: usize) -> Result<(), i32> { in truncate()
349 pub fn lookup(&self, path: &str) -> Result<Arc<dyn IndexNode>, i32> { in lookup()
361 &self, in lookup_follow_symlink()