Home
last modified time | relevance | path

Searched refs:notes (Results 1 – 2 of 2) sorted by relevance

/kernel/module/
Dsysfs.c145 unsigned int notes; member
174 unsigned int notes, loaded, i; in add_notes_attrs() local
183 notes = 0; in add_notes_attrs()
187 ++notes; in add_notes_attrs()
189 if (notes == 0) in add_notes_attrs()
192 notes_attrs = kzalloc(struct_size(notes_attrs, attrs, notes), in add_notes_attrs()
197 notes_attrs->notes = notes; in add_notes_attrs()
218 for (i = 0; i < notes; ++i) in add_notes_attrs()
233 free_notes_attrs(mod->notes_attrs, mod->notes_attrs->notes); in remove_notes_attrs()
/kernel/
Dwatch_queue.c120 page = wqueue->notes[note / WATCH_QUEUE_NOTES_PER_PAGE]; in post_one_notification()
249 if (wqueue->notes) in watch_queue_set_size()
290 wqueue->notes = pages; in watch_queue_set_size()
395 __free_page(wqueue->notes[i]); in __put_watch_queue()
396 kfree(wqueue->notes); in __put_watch_queue()