Home
last modified time | relevance | path

Searched refs:kobj_data (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs27 kobj_data: RwLock<KObjectCommonData>, field
39 kobj_data: RwLock::new(KObjectCommonData::default()), in new()
121 self.kobj_data.write().kern_inode = inode; in set_inode()
125 self.kobj_data.read().kern_inode.clone() in inode()
129 self.kobj_data.read().parent.clone() in parent()
133 self.kobj_data.write().parent = parent; in set_parent()
137 self.kobj_data.read().kset.clone() in kset()
141 self.kobj_data.write().kset = kset; in set_kset()
145 self.kobj_data.read().kobj_type in kobj_type()
149 self.kobj_data.write().kobj_type = ktype; in set_kobj_type()
H A Dpt_device.rs37 kobj_data: RwLock<KObjectCommonData>, field
47 kobj_data: common_kobj, in new()
149 self.kobj_data.write().kern_inode = inode; in set_inode()
153 self.kobj_data.read().kern_inode.clone() in inode()
157 self.kobj_data.read().parent.clone() in parent()
161 self.kobj_data.write().parent = parent; in set_parent()
165 self.kobj_data.read().kset.clone() in kset()
169 self.kobj_data.write().kset = kset; in set_kset()
173 self.kobj_data.read().kobj_type in kobj_type()
177 self.kobj_data.write().kobj_type = ktype; in set_kobj_type()