Searched refs:battr (Results 1 – 1 of 1) sorted by relevance
23 struct bin_attribute battr; member35 struct bin_attribute *battr, in module_sect_read() argument39 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 …]