Searched refs:notes_attrs (Results 1 – 1 of 1) sorted by relevance
1210 static void free_notes_attrs(struct module_notes_attrs *notes_attrs, in free_notes_attrs() argument1213 if (notes_attrs->dir) { in free_notes_attrs()1215 sysfs_remove_bin_file(notes_attrs->dir, in free_notes_attrs()1216 ¬es_attrs->attrs[i]); in free_notes_attrs()1217 kobject_put(notes_attrs->dir); in free_notes_attrs()1219 kfree(notes_attrs); in free_notes_attrs()1226 struct module_notes_attrs *notes_attrs; in add_notes_attrs() local1239 notes_attrs = kzalloc(sizeof(*notes_attrs) in add_notes_attrs()1240 + notes * sizeof(notes_attrs->attrs[0]), in add_notes_attrs()1242 if (notes_attrs == NULL) in add_notes_attrs()[all …]