Home
last modified time | relevance | path

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

/kernel/module/
Dsysfs.c23 struct bin_attribute battr; member
35 struct bin_attribute *battr, in module_sect_read() argument
39 container_of(battr, struct module_sect_attr, battr); in module_sect_read()
68 kfree(sect_attrs->attrs[section].battr.attr.name); in free_sect_attrs()
102 sysfs_bin_attr_init(&sattr->battr); 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()
111 sattr->battr.attr.mode = 0400; in add_sect_attrs()
[all …]