Lines Matching defs:self
81 fn register_bultinin_device(&self) { in register_bultinin_device()
97 pub fn register_device<T: DeviceINode>(&self, name: &str, device: Arc<T>) -> Result<(), i32> { in register_device()
138 pub fn unregister_device<T: DeviceINode>(&self, name: &str, device: Arc<T>) -> Result<(), i32> { in unregister_device()
233 pub fn add_dir(&self, name: &str) -> Result<(), i32> { in add_dir()
250 pub fn add_dev(&self, name: &str, dev: Arc<dyn IndexNode>) -> Result<(), i32> { in add_dev()
261 pub fn remove(&self, name: &str) -> Result<(), i32> { in remove()
273 fn do_create_with_data(&self, mut guard: SpinLockGuard<DevFSInode>,_name: &str, in do_create_with_data()
325 fn open(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), i32> { in open()
329 fn close(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), i32> { in close()
334 &self, in create_with_data()
346 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, i32> { in find()
371 fn get_entry_name(&self, ino: super::vfs::InodeId) -> Result<String, i32> { in get_entry_name()
403 fn ioctl(&self, _cmd: u32, _data: usize) -> Result<usize, i32> { in ioctl()
425 fn set_metadata(&self, metadata: &Metadata) -> Result<(), i32> { in set_metadata()
453 &self, in read_at()
464 &self, in write_at()
476 fn set_fs(&self, fs: Weak<DevFS>); in set_fs()