Home
last modified time | relevance | path

Searched defs:Attribute (Results 1 – 21 of 21) sorted by relevance

/DragonOS/kernel/src/misc/
H A Dksysfs.rs53 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
60 attr: &'static dyn Attribute, in is_visible()
/DragonOS/kernel/src/filesystem/sysfs/
H A Dmod.rs102 fn attrs(&self) -> &[&'static dyn Attribute]; in attrs()
113 attr: &'static dyn Attribute, in is_visible()
127 pub trait Attribute: Debug + Send + Sync { trait
179 attr: &dyn Attribute, in show()
186 attr: &dyn Attribute, in store()
H A Dfile.rs36 attribute: Option<&'static dyn Attribute>, in new()
56 pub fn attribute(&self) -> Option<&'static dyn Attribute> { in attribute()
108 attr: &'static dyn Attribute, in create_file()
118 attr: &'static dyn Attribute, in add_file_with_mode()
181 pub fn remove_file(&self, kobj: &Arc<dyn KObject>, attr: &'static dyn Attribute) { in remove_file()
/DragonOS/kernel/src/driver/base/
H A Dclass.rs170 _attr: &dyn Attribute, in show()
179 _attr: &dyn Attribute, in store()
H A Dkobject.rs145 attr: &dyn Attribute, in show()
162 attr: &dyn Attribute, in store()
H A Dcpu.rs269 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
275 _attr: &'static dyn Attribute, in is_visible()
/DragonOS/kernel/src/driver/pci/
H A Dsubsys.rs169 fn attrs(&self) -> &[&'static dyn crate::filesystem::sysfs::Attribute] { in attrs()
176 attr: &'static dyn crate::filesystem::sysfs::Attribute, in is_visible()
H A Dattr.rs25 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
41 attr: &'static dyn Attribute, in is_visible()
/DragonOS/kernel/src/exception/
H A Dsysfs.rs68 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
84 attr: &'static dyn Attribute, in is_visible()
/DragonOS/kernel/src/driver/base/device/
H A Ddriver.rs291 attr: &'static dyn Attribute, in create_attr_file()
305 pub fn remove_attr_file(&self, driver: &Arc<dyn Driver>, attr: &'static dyn Attribute) { in remove_attr_file()
H A Dbus.rs408 attr: &'static dyn Attribute, in create_file()
414 fn remove_file(&self, bus: &Arc<dyn Bus>, attr: &'static dyn Attribute) { in remove_file()
724 attr: &dyn Attribute, in show()
734 attr: &dyn Attribute, in store()
H A Dmod.rs453 attr: &dyn Attribute, in store()
462 attr: &dyn Attribute, in show()
808 attr: &'static dyn Attribute, in create_file()
/DragonOS/kernel/src/driver/input/serio/
H A Dsubsys.rs134 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_device.rs235 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
242 attr: &'static dyn Attribute, in is_visible()
/DragonOS/kernel/src/driver/base/platform/
H A Dsubsys.rs161 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbsysfs.rs24 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
42 _attr: &'static dyn Attribute, in is_visible()
/DragonOS/kernel/src/driver/rtc/
H A Dsysfs.rs273 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
280 attr: &'static dyn Attribute, in is_visible()
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dmod.rs259 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
266 attr: &'static dyn Attribute, in is_visible()
/DragonOS/kernel/src/driver/virtio/
H A Dsysfs.rs300 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
/DragonOS/kernel/src/driver/net/
H A Dsysfs.rs50 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
78 attr: &'static dyn Attribute, in is_visible()
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs871 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
878 attr: &'static dyn Attribute, in is_visible()