Home
last modified time | relevance | path

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

/kernel/module/
Dsysfs.c38 struct module_sect_attr *sattr = in module_sect_read() local
56 ? (void *)sattr->address : NULL); in module_sect_read()
76 struct module_sect_attr *sattr; in add_sect_attrs() local
95 sattr = &sect_attrs->attrs[0]; in add_sect_attrs()
102 sysfs_bin_attr_init(&sattr->battr); in add_sect_attrs()
103 sattr->address = sec->sh_addr; in add_sect_attrs()
104 sattr->battr.attr.name = in add_sect_attrs()
106 if (!sattr->battr.attr.name) in add_sect_attrs()
109 sattr->battr.read = module_sect_read; in add_sect_attrs()
110 sattr->battr.size = MODULE_SECT_READ_SIZE; in add_sect_attrs()
[all …]