Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/
Dwatch_queue.c35 #define WATCH_QUEUE_NOTES_PER_PAGE (PAGE_SIZE / WATCH_QUEUE_NOTE_SIZE) macro
100 page = wqueue->notes[note / WATCH_QUEUE_NOTES_PER_PAGE]; in post_one_notification()
101 offset = note % WATCH_QUEUE_NOTES_PER_PAGE * WATCH_QUEUE_NOTE_SIZE; in post_one_notification()
234 nr_pages = (nr_notes + WATCH_QUEUE_NOTES_PER_PAGE - 1); in watch_queue_set_size()
235 nr_pages /= WATCH_QUEUE_NOTES_PER_PAGE; in watch_queue_set_size()
258 pages[i]->index = i * WATCH_QUEUE_NOTES_PER_PAGE; in watch_queue_set_size()
271 wqueue->nr_notes = nr_pages * WATCH_QUEUE_NOTES_PER_PAGE; in watch_queue_set_size()