Home
last modified time | relevance | path

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

/kernel/
Dwatch_queue.c116 note = find_first_bit(wqueue->notes_bitmap, wqueue->nr_notes); in post_one_notification()
117 if (note >= wqueue->nr_notes) in post_one_notification()
239 long watch_queue_set_size(struct pipe_inode_info *pipe, unsigned int nr_notes) in watch_queue_set_size() argument
252 if (nr_notes < 1 || in watch_queue_set_size()
253 nr_notes > 512) /* TODO: choose a better hard limit */ in watch_queue_set_size()
256 nr_pages = (nr_notes + WATCH_QUEUE_NOTES_PER_PAGE - 1); in watch_queue_set_size()
268 nr_notes = nr_pages * WATCH_QUEUE_NOTES_PER_PAGE; in watch_queue_set_size()
269 ret = pipe_resize_ring(pipe, roundup_pow_of_two(nr_notes)); in watch_queue_set_size()
285 bitmap = bitmap_alloc(nr_notes, GFP_KERNEL); in watch_queue_set_size()
289 bitmap_fill(bitmap, nr_notes); in watch_queue_set_size()
[all …]