Searched refs:SysFSOps (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/src/driver/base/ |
H A D | class.rs | 11 use crate::filesystem::sysfs::{sysfs_instance, Attribute, AttributeGroup, SysFSOps}; 154 fn sysfs_ops(&self) -> Option<&dyn SysFSOps> { in sysfs_ops() argument 166 impl SysFSOps for ClassSysFSOps {
|
H A D | kobject.rs | 14 sysfs::{sysfs_instance, Attribute, AttributeGroup, SysFSOps, SysFSOpsSupport}, 95 fn sysfs_ops(&self) -> Option<&dyn SysFSOps>; in sysfs_ops() argument 137 impl SysFSOps for KObjectSysFSOps { 274 fn sysfs_ops(&self) -> Option<&dyn SysFSOps> { in sysfs_ops() argument
|
/DragonOS/kernel/src/exception/ |
H A D | sysfs.rs | 13 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOps, SysFSOpsSupport, 43 fn sysfs_ops(&self) -> Option<&dyn SysFSOps> { in sysfs_ops() argument
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | mod.rs | 166 pub trait SysFSOps: Debug { interface
|
H A D | file.rs | 17 sysfs::{SysFSOps, SysFSOpsSupport}, 132 let sysfs_ops: &dyn SysFSOps = kobj.kobj_type().unwrap().sysfs_ops().ok_or_else(|| { in add_file_with_mode()
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | bus.rs | 14 file::sysfs_emit_str, sysfs_instance, Attribute, AttributeGroup, SysFSOps, 707 fn sysfs_ops(&self) -> Option<&dyn SysFSOps> { in sysfs_ops() argument 719 impl SysFSOps for BusDriverSysFSOps {
|
H A D | mod.rs | 18 file::sysfs_emit_str, sysfs_instance, Attribute, AttributeGroup, SysFSOps, 441 fn sysfs_ops(&self) -> Option<&dyn SysFSOps> { in sysfs_ops() argument 449 impl SysFSOps for DeviceSysFSOps {
|