Searched refs:notes_attrs (Results 1 – 1 of 1) sorted by relevance
1578 static void free_notes_attrs(struct module_notes_attrs *notes_attrs, in free_notes_attrs() argument1581 if (notes_attrs->dir) { in free_notes_attrs()1583 sysfs_remove_bin_file(notes_attrs->dir, in free_notes_attrs()1584 ¬es_attrs->attrs[i]); in free_notes_attrs()1585 kobject_put(notes_attrs->dir); in free_notes_attrs()1587 kfree(notes_attrs); in free_notes_attrs()1593 struct module_notes_attrs *notes_attrs; in add_notes_attrs() local1610 notes_attrs = kzalloc(sizeof(*notes_attrs) in add_notes_attrs()1611 + notes * sizeof(notes_attrs->attrs[0]), in add_notes_attrs()1613 if (notes_attrs == NULL) in add_notes_attrs()[all …]