Home
last modified time | relevance | path

Searched refs:kobject_common (Results 1 – 16 of 16) sorted by relevance

/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_ports.rs36 kobject_common: KObjectCommonData, field
45 kobject_common: KObjectCommonData::default(), in new()
123 self.inner().kobject_common.kern_inode = inode; in set_inode()
127 self.inner().kobject_common.kern_inode.clone() in inode()
131 self.inner().kobject_common.parent.clone() in parent()
135 self.inner().kobject_common.parent = parent; in set_parent()
139 self.inner().kobject_common.kset.clone() in kset()
143 self.inner().kobject_common.kset = kset; in set_kset()
147 self.inner().kobject_common.kobj_type in kobj_type()
151 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
H A Di8042_device.rs36 kobject_common: KObjectCommonData::default(), in new()
53 kobject_common: KObjectCommonData, field
126 self.inner().kobject_common.kern_inode = inode; in set_inode()
130 self.inner().kobject_common.kern_inode.clone() in inode()
134 self.inner().kobject_common.parent.clone() in parent()
138 self.inner().kobject_common.parent = parent; in set_parent()
142 self.inner().kobject_common.kset.clone() in kset()
146 self.inner().kobject_common.kset = kset; in set_kset()
150 self.inner().kobject_common.kobj_type in kobj_type()
154 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/pci/
H A Ddevice.rs110 kobject_common: KObjectCommonData::default(), in new()
127 kobject_common: KObjectCommonData, field
137 self.inner().kobject_common.parent.clone() in parent()
141 self.inner().kobject_common.kern_inode.clone() in inode()
145 self.inner().kobject_common.kern_inode = inode; in set_inode()
149 self.inner().kobject_common.kobj_type in kobj_type()
153 self.inner().kobject_common.kobj_type = ktype in set_kobj_type()
157 self.inner().kobject_common.kset.clone() in kset()
183 self.inner().kobject_common.kset = kset; in set_kset()
187 self.inner().kobject_common.parent = parent; in set_parent()
H A Draw_device.rs36 kobject_common: KObjectCommonData, field
51 kobject_common: KObjectCommonData::default(), in from()
181 self.inner.write().kobject_common.kern_inode = inode; in set_inode()
185 self.inner.read().kobject_common.kern_inode.clone() in inode()
189 self.inner.read().kobject_common.parent.clone() in parent()
193 self.inner.write().kobject_common.parent = parent; in set_parent()
197 self.inner.read().kobject_common.kset.clone() in kset()
201 self.inner.write().kobject_common.kset = kset; in set_kset()
205 self.inner.read().kobject_common.kobj_type in kobj_type()
209 self.inner.write().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/rtc/
H A Drtc_cmos.rs53 kobject_common: KObjectCommonData::default(), in new()
67 kobject_common: KObjectCommonData, field
155 self.inner().kobject_common.kern_inode = inode; in set_inode()
159 self.inner().kobject_common.kern_inode.clone() in inode()
163 self.inner().kobject_common.parent.clone() in parent()
167 self.inner().kobject_common.parent = parent; in set_parent()
171 self.inner().kobject_common.kset.clone() in kset()
175 self.inner().kobject_common.kset = kset; in set_kset()
179 self.inner().kobject_common.kobj_type in kobj_type()
183 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
H A Dsysfs.rs55 kobject_common: KObjectCommonData, field
74 kobject_common: KObjectCommonData::default(), in new()
193 self.inner().kobject_common.kern_inode = inode; in set_inode()
197 self.inner().kobject_common.kern_inode.clone() in inode()
201 self.inner().kobject_common.parent.clone() in parent()
205 self.inner().kobject_common.parent = parent; in set_parent()
209 self.inner().kobject_common.kset.clone() in kset()
213 self.inner().kobject_common.kset = kset; in set_kset()
217 self.inner().kobject_common.kobj_type in kobj_type()
221 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_device.rs201 kobject_common: KObjectCommonData, field
211 kobject_common: KObjectCommonData::default(), in new()
223 self.inner().kobject_common.parent.clone() in parent()
227 self.inner().kobject_common.kern_inode.clone() in inode()
231 self.inner().kobject_common.kern_inode = inode; in set_inode()
235 self.inner().kobject_common.kobj_type in kobj_type()
239 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
243 self.inner().kobject_common.kset.clone() in kset()
267 self.inner().kobject_common.kset = kset; in set_kset()
271 self.inner().kobject_common.parent = parent; in set_parent()
/DragonOS/kernel/src/driver/base/
H A Dcpu.rs131 kobject_common: KObjectCommonData, field
139 kobject_common: KObjectCommonData::default(), in new()
210 self.inner.write().kobject_common.kern_inode = inode; in set_inode()
214 self.inner.read().kobject_common.kern_inode.clone() in inode()
218 self.inner.read().kobject_common.parent.clone() in parent()
222 self.inner.write().kobject_common.parent = parent; in set_parent()
226 self.inner.read().kobject_common.kset.clone() in kset()
230 self.inner.write().kobject_common.kset = kset; in set_kset()
234 self.inner.read().kobject_common.kobj_type in kobj_type()
238 self.inner.write().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs50 kobject_common: KObjectCommonData::default(), in new()
79 kobject_common: KObjectCommonData, field
182 self.inner().kobject_common.kern_inode = inode; in set_inode()
186 self.inner().kobject_common.kern_inode.clone() in inode()
190 self.inner().kobject_common.get_parent_or_clear_weak() in parent()
194 self.inner().kobject_common.parent = parent; in set_parent()
198 self.inner().kobject_common.kset.clone() in kset()
202 self.inner().kobject_common.kset = kset; in set_kset()
206 self.inner().kobject_common.kobj_type in kobj_type()
210 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dmod.rs96 kobject_common: KObjectCommonData, field
114 kobject_common: KObjectCommonData::default(), in new()
131 self.inner().kobject_common.kern_inode = inode; in set_inode()
135 self.inner().kobject_common.kern_inode.clone() in inode()
139 self.inner().kobject_common.parent.clone() in parent()
143 self.inner().kobject_common.parent = parent; in set_parent()
147 self.inner().kobject_common.kset.clone() in kset()
151 self.inner().kobject_common.kset = kset; in set_kset()
155 self.inner().kobject_common.kobj_type in kobj_type()
159 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbmem.rs222 kobject_common: KObjectCommonData::default(), in new()
264 kobject_common: KObjectCommonData, field
280 self.inner().kobject_common.kern_inode = inode; in set_inode()
284 self.inner().kobject_common.kern_inode.clone() in inode()
288 self.inner().kobject_common.parent.clone() in parent()
292 self.inner().kobject_common.parent = parent; in set_parent()
296 self.inner().kobject_common.kset.clone() in kset()
300 self.inner().kobject_common.kset = kset; in set_kset()
304 self.inner().kobject_common.kobj_type in kobj_type()
308 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_device.rs188 kobject_common: KObjectCommonData::default(), in new()
416 kobject_common: KObjectCommonData, field
535 self.inner().kobject_common.kern_inode = inode; in set_inode()
539 self.inner().kobject_common.kern_inode.clone() in inode()
543 self.inner().kobject_common.parent.clone() in parent()
547 self.inner().kobject_common.parent = parent in set_parent()
551 self.inner().kobject_common.kset.clone() in kset()
555 self.inner().kobject_common.kset = kset; in set_kset()
559 self.inner().kobject_common.kobj_type in kobj_type()
563 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs193 kobject_common: KObjectCommonData::default(), in new()
295 kobject_common: KObjectCommonData, field
425 self.inner().kobject_common.kern_inode = inode; in set_inode()
429 self.inner().kobject_common.kern_inode.clone() in inode()
433 self.inner().kobject_common.parent.clone() in parent()
437 self.inner().kobject_common.parent = parent; in set_parent()
441 self.inner().kobject_common.kset.clone() in kset()
445 self.inner().kobject_common.kset = kset; in set_kset()
449 self.inner().kobject_common.kobj_type in kobj_type()
473 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dmod.rs309 self.inner.write().kobject_common.kern_inode = inode; in set_inode()
313 self.inner.read().kobject_common.kern_inode.clone() in inode()
317 self.inner.read().kobject_common.parent.clone() in parent()
321 self.inner.write().kobject_common.parent = parent; in set_parent()
325 self.inner.read().kobject_common.kset.clone() in kset()
329 self.inner.write().kobject_common.kset = kset; in set_kset()
361 kobject_common: KObjectCommonData, field
369 kobject_common: KObjectCommonData::default(), in new()
/DragonOS/kernel/src/driver/base/device/
H A Dmod.rs1041 kobject_common: KObjectCommonData, field
1049 kobject_common: KObjectCommonData::default(), in new()
1066 self.inner().kobject_common.kern_inode = inode; in set_inode()
1070 return self.inner().kobject_common.kern_inode.clone(); in inode()
1074 return self.inner().kobject_common.parent.clone(); in parent()
1078 self.inner().kobject_common.parent = parent; in set_parent()
1082 return self.inner().kobject_common.kset.clone(); in kset()
1086 self.inner().kobject_common.kset = kset; in set_kset()
1090 return self.inner().kobject_common.kobj_type; in kobj_type()
1094 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs90 kobject_common: KObjectCommonData::default(), in new()
111 kobject_common: KObjectCommonData, field
223 self.inner().kobject_common.kern_inode = inode; in set_inode()
227 self.inner().kobject_common.kern_inode.clone() in inode()
231 self.inner().kobject_common.parent.clone() in parent()
235 self.inner().kobject_common.parent = parent; in set_parent()
239 self.inner().kobject_common.kset.clone() in kset()
243 self.inner().kobject_common.kset = kset; in set_kset()
247 self.inner().kobject_common.kobj_type in kobj_type()
251 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()