Home
last modified time | relevance | path

Searched refs:sys_info (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs104 sys_info: Option<Arc<dyn IndexNode>>, field
112 sys_info: None, in default()
158 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info()
159 self.0.lock().sys_info = sys_info; in set_sys_info()
162 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info() method
163 self.0.lock().sys_info.clone() in sys_info()
181 sys_info: Option<Arc<dyn IndexNode>>, field
189 sys_info: None, in default()
215 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info()
216 self.0.lock().sys_info = sys_info; in set_sys_info()
[all …]
/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dmod.rs211 sys_info: Option<Arc<dyn IndexNode>>, field
224 sys_info: None, in new()
243 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info() method
244 return self.0.lock().sys_info.clone(); in sys_info()
249 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info()
250 self.0.lock().sys_info = sys_info; in set_sys_info()
334 sys_info: Option<Arc<dyn IndexNode>>, // 总线sys information field
346 sys_info: Option::None, in new()
366 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info()
367 self.0.lock().sys_info = sys_info; in set_sys_info()
[all …]
/DragonOS-0.1.8/kernel/src/driver/base/device/
Ddriver.rs42 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>); in set_sys_info()
47 fn sys_info(&self) -> Option<Arc<dyn IndexNode>>; in sys_info() method
100 return self.0.lock().sys_info.clone(); in get_sys_info()
108 sys_info: Option<Arc<dyn IndexNode>>, // sys information field
119 sys_info: None, in new()
Dmod.rs189 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>); in set_sys_info()
194 fn sys_info(&self) -> Option<Arc<dyn IndexNode>>; in sys_info() method
242 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info() method
243 return self.0.lock().sys_info.clone(); in sys_info()
251 sys_info: Option<Arc<dyn IndexNode>>, // sys information field
262 sys_info: Some(SYS_DEVICES_INODE()), in new()
273 Ok(sys_info) => { in device_register()
274 device.set_sys_info(Some(sys_info)); in device_register()
Dbus.rs81 sys_info: Option<Arc<dyn IndexNode>>, // 总线inode field
98 sys_info: Some(SYS_BUS_INODE()), in new()
169 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info() method
170 return self.0.lock().sys_info.clone(); in sys_info()
/DragonOS-0.1.8/docs/kernel/filesystem/
Dsysfs.md39 sys_info: Option<Arc<dyn IndexNode>>, // sys information
57 sys_info: Option<Arc<dyn IndexNode>>, // sys information
77 sys_info: Option<Arc<dyn IndexNode>>, // 总线inode
81 &emsp;&emsp;可以看到,每个管理器中均存在sys_info,设备模型通过该成员与sysfs建立联系,sys_info指向sysfs中唯一的inode。对于device而言,对应sysfs下…