Lines Matching refs:battr
23 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()
112 *(gattr++) = &(sattr++)->battr; in add_sect_attrs()
204 nattr->attr.name = mod->sect_attrs->attrs[loaded].battr.attr.name; in add_notes_attrs()