/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | group.rs | 17 use super::{AttributeGroup, SysFS}; 24 groups: &[&'static dyn AttributeGroup], in create_groups() argument 32 groups: &[&'static dyn AttributeGroup], in do_create_groups() argument 57 group: &'static dyn AttributeGroup, in do_create_group() argument 111 groups: &'static [&'static dyn AttributeGroup], in remove_groups() argument 132 group: &'static dyn AttributeGroup, in remove_group() argument 171 group: &'static dyn AttributeGroup, in group_create_files() argument 217 fn group_remove_files(&self, _parent: &Arc<KernFSInode>, _group: &'static dyn AttributeGroup) { in group_remove_files() argument
|
H A D | mod.rs | 96 pub trait AttributeGroup: Debug + Send + Sync { interface
|
/DragonOS/kernel/src/driver/base/ |
H A D | class.rs | 11 use crate::filesystem::sysfs::{sysfs_instance, Attribute, AttributeGroup, SysFSOps}; 49 fn dev_groups(&self) -> &'static [&'static dyn AttributeGroup] { in dev_groups() argument 54 fn class_groups(&self) -> &'static [&'static dyn AttributeGroup] { in class_groups() argument 158 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument
|
H A D | kobject.rs | 14 sysfs::{sysfs_instance, Attribute, AttributeGroup, SysFSOps, SysFSOpsSupport}, 97 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]>; in attribute_groups() argument 278 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument
|
H A D | cpu.rs | 26 use crate::filesystem::sysfs::{Attribute, AttributeGroup, SysFSOpsSupport}; 199 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument 265 impl AttributeGroup for AttrGroupCpu {
|
/DragonOS/kernel/src/misc/ |
H A D | ksysfs.rs | 4 sysfs::{sysfs_instance, Attribute, AttributeGroup}, 48 impl AttributeGroup for KernelAttrGroup {
|
/DragonOS/kernel/src/driver/input/serio/ |
H A D | subsys.rs | 19 sysfs::{Attribute, AttributeGroup}, 52 fn dev_groups(&self) -> &'static [&'static dyn AttributeGroup] { in dev_groups() argument 128 impl AttributeGroup for SerioDeviceAttrGroup {
|
/DragonOS/kernel/src/driver/net/ |
H A D | class.rs | 8 filesystem::sysfs::AttributeGroup, 80 fn dev_groups(&self) -> &'static [&'static dyn AttributeGroup] { in dev_groups() argument
|
H A D | sysfs.rs | 9 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport, SYSFS_ATTR_MODE_RO, 45 impl AttributeGroup for NetAttrGroup {
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | subsys.rs | 21 sysfs::{Attribute, AttributeGroup}, 53 fn dev_groups(&self) -> &'static [&'static dyn AttributeGroup] { in dev_groups() argument 156 impl AttributeGroup for PlatformDeviceAttrGroup {
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | driver.rs | 10 filesystem::sysfs::{sysfs_instance, Attribute, AttributeGroup}, 103 fn groups(&self) -> &'static [&'static dyn AttributeGroup] { in groups() argument 107 fn dev_groups(&self) -> &'static [&'static dyn AttributeGroup] { in dev_groups() argument 271 groups: &'static [&dyn AttributeGroup], in add_groups() argument 277 pub fn remove_groups(&self, driver: &Arc<dyn Driver>, groups: &'static [&dyn AttributeGroup]) { in remove_groups() argument
|
H A D | bus.rs | 14 file::sysfs_emit_str, sysfs_instance, Attribute, AttributeGroup, SysFSOps, 115 fn dev_groups(&self) -> &'static [&'static dyn AttributeGroup] { in dev_groups() argument 120 fn bus_groups(&self) -> &'static [&'static dyn AttributeGroup] { in bus_groups() argument 125 fn drv_groups(&self) -> &'static [&'static dyn AttributeGroup] { in drv_groups() argument 423 groups: &[&'static dyn AttributeGroup], in add_groups() argument 711 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument
|
H A D | mod.rs | 18 file::sysfs_emit_str, sysfs_instance, Attribute, AttributeGroup, SysFSOps, 201 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument 437 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument 778 attr_groups: &'static [&dyn AttributeGroup], in add_groups() argument 793 attr_groups: &'static [&dyn AttributeGroup], in remove_groups() argument
|
/DragonOS/kernel/src/driver/pci/ |
H A D | subsys.rs | 20 filesystem::sysfs::AttributeGroup, 82 fn dev_groups(&self) -> &'static [&'static dyn AttributeGroup] { in dev_groups() argument 164 impl AttributeGroup for PciDeviceAttrGroup {
|
H A D | raw_device.rs | 15 filesystem::{kernfs::KernFSInode, sysfs::AttributeGroup}, 110 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument
|
H A D | attr.rs | 10 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport, SYSFS_ATTR_MODE_RO, 20 impl AttributeGroup for BasicPciReadOnlyAttrs {
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_device.rs | 22 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport, SYSFS_ATTR_MODE_RO, 102 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument 230 impl AttributeGroup for HelloAttr {
|
/DragonOS/kernel/src/exception/ |
H A D | sysfs.rs | 13 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOps, SysFSOpsSupport, 47 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument 60 impl AttributeGroup for IrqAttrGroup {
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | sysfs.rs | 28 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport, SYSFS_ATTR_MODE_RO, 71 fn dev_groups(&self) -> &'static [&'static dyn AttributeGroup] { in dev_groups() argument 295 impl AttributeGroup for VirtIODeviceAttrGroup {
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | sysfs.rs | 20 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport, SYSFS_ATTR_MODE_RO, 174 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument 268 impl AttributeGroup for RtcAttrGroup {
|
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | mod.rs | 24 sysfs::{file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport}, 237 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument 254 impl AttributeGroup for AnonymousAttributeGroup {
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbsysfs.rs | 8 sysfs::{file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport}, 19 impl AttributeGroup for FbDeviceAttrGroup {
|
H A D | fbmem.rs | 30 sysfs::AttributeGroup, 376 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 32 sysfs::{file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport}, 800 fn dev_groups(&self) -> &'static [&'static dyn AttributeGroup] { in dev_groups() argument 866 impl AttributeGroup for VesaFbAnonAttributeGroup {
|