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()
103 sysfs_bin_attr_init(&sattr->battr); in add_sect_attrs()
105 sattr->battr.attr.name = in add_sect_attrs()
107 if (!sattr->battr.attr.name) { in add_sect_attrs()
112 sattr->battr.read = module_sect_read; in add_sect_attrs()
113 sattr->battr.size = MODULE_SECT_READ_SIZE; in add_sect_attrs()
114 sattr->battr.attr.mode = 0400; in add_sect_attrs()
115 *(gattr++) = &(sattr++)->battr; in add_sect_attrs()
195 nattr->attr.name = mod->sect_attrs->attrs[loaded].battr.attr.name; in add_notes_attrs()