Home
last modified time | relevance | path

Searched refs:SysFSOps (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/driver/base/
H A Dclass.rs11 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 Dkobject.rs14 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 Dsysfs.rs13 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 Dmod.rs166 pub trait SysFSOps: Debug { interface
H A Dfile.rs17 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 Dbus.rs14 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 Dmod.rs18 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 {