Home
last modified time | relevance | path

Searched refs:AttributeGroup (Results 1 – 24 of 24) sorted by relevance

/DragonOS/kernel/src/filesystem/sysfs/
H A Dgroup.rs17 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 Dmod.rs96 pub trait AttributeGroup: Debug + Send + Sync { interface
/DragonOS/kernel/src/driver/base/
H A Dclass.rs11 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 Dkobject.rs14 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 Dcpu.rs26 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 Dksysfs.rs4 sysfs::{sysfs_instance, Attribute, AttributeGroup},
48 impl AttributeGroup for KernelAttrGroup {
/DragonOS/kernel/src/driver/input/serio/
H A Dsubsys.rs19 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 Dclass.rs8 filesystem::sysfs::AttributeGroup,
80 fn dev_groups(&self) -> &'static [&'static dyn AttributeGroup] { in dev_groups() argument
H A Dsysfs.rs9 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport, SYSFS_ATTR_MODE_RO,
45 impl AttributeGroup for NetAttrGroup {
/DragonOS/kernel/src/driver/base/platform/
H A Dsubsys.rs21 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 Ddriver.rs10 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 Dbus.rs14 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 Dmod.rs18 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 Dsubsys.rs20 filesystem::sysfs::AttributeGroup,
82 fn dev_groups(&self) -> &'static [&'static dyn AttributeGroup] { in dev_groups() argument
164 impl AttributeGroup for PciDeviceAttrGroup {
H A Draw_device.rs15 filesystem::{kernfs::KernFSInode, sysfs::AttributeGroup},
110 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument
H A Dattr.rs10 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport, SYSFS_ATTR_MODE_RO,
20 impl AttributeGroup for BasicPciReadOnlyAttrs {
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_device.rs22 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 Dsysfs.rs13 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 Dsysfs.rs28 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 Dsysfs.rs20 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 Dmod.rs24 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 Dfbsysfs.rs8 sysfs::{file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport},
19 impl AttributeGroup for FbDeviceAttrGroup {
H A Dfbmem.rs30 sysfs::AttributeGroup,
376 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups() argument
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs32 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 {