Searched refs:notes_attrs (Results 1 – 1 of 1) sorted by relevance
1622 static void free_notes_attrs(struct module_notes_attrs *notes_attrs, in free_notes_attrs() argument1625 if (notes_attrs->dir) { in free_notes_attrs()1627 sysfs_remove_bin_file(notes_attrs->dir, in free_notes_attrs()1628 ¬es_attrs->attrs[i]); in free_notes_attrs()1629 kobject_put(notes_attrs->dir); in free_notes_attrs()1631 kfree(notes_attrs); in free_notes_attrs()1637 struct module_notes_attrs *notes_attrs; in add_notes_attrs() local1654 notes_attrs = kzalloc(struct_size(notes_attrs, attrs, notes), in add_notes_attrs()1656 if (notes_attrs == NULL) in add_notes_attrs()1659 notes_attrs->notes = notes; in add_notes_attrs()[all …]