Lines Matching full:notes
145 * /sys/module/foo/notes/.section.name gives contents of SHT_NOTE sections.
150 unsigned int notes; member
151 struct bin_attribute attrs[] __counted_by(notes);
168 unsigned int notes, loaded, i; in add_notes_attrs() local
173 /* Count notes sections and allocate structures. */ in add_notes_attrs()
174 notes = 0; in add_notes_attrs()
178 ++notes; in add_notes_attrs()
180 if (notes == 0) in add_notes_attrs()
183 notes_attrs = kzalloc(struct_size(notes_attrs, attrs, notes), in add_notes_attrs()
188 notes_attrs->notes = notes; in add_notes_attrs()
205 notes_attrs->dir = kobject_create_and_add("notes", &mod->mkobj.kobj); in add_notes_attrs()
211 for (i = 0; i < notes; ++i) { in add_notes_attrs()
228 free_notes_attrs(mod->notes_attrs, mod->notes_attrs->notes); in remove_notes_attrs()