Lines Matching defs:self
129 fn open(&self, data: &mut FilePrivateData) -> Result<(), i32> { in open()
133 fn close(&self, data: &mut FilePrivateData) -> Result<(), i32> { in close()
138 &self, in create_with_data()
149 fn truncate(&self, len: usize) -> Result<(), i32> { in truncate()
154 &self, in read_at()
164 &self, in write_at()
196 fn set_metadata(&self, metadata: &super::Metadata) -> Result<(), i32> { in set_metadata()
201 fn resize(&self, len: usize) -> Result<(), i32> { in resize()
207 &self, in create()
220 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), i32> { in link()
226 fn unlink(&self, name: &str) -> Result<(), i32> { in unlink()
238 fn rmdir(&self, name: &str) -> Result<(), i32> { in rmdir()
253 &self, in move_()
261 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, i32> { in find()
303 fn get_entry_name(&self, ino: InodeId) -> Result<alloc::string::String, i32> { in get_entry_name()
309 &self, in get_entry_name_and_metadata()
316 fn ioctl(&self, cmd: u32, data: usize) -> Result<usize, i32> { in ioctl()
328 fn mount(&self, fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, i32> { in mount()