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

/linux-master/kernel/
H A Dwatch_queue.c115 note = find_first_bit(wqueue->notes_bitmap, wqueue->nr_notes);
116 if (note >= wqueue->nr_notes)
238 long watch_queue_set_size(struct pipe_inode_info *pipe, unsigned int nr_notes) argument
251 if (nr_notes < 1 ||
252 nr_notes > 512) /* TODO: choose a better hard limit */
255 nr_pages = (nr_notes + WATCH_QUEUE_NOTES_PER_PAGE - 1);
267 nr_notes = nr_pages * WATCH_QUEUE_NOTES_PER_PAGE;
268 ret = pipe_resize_ring(pipe, roundup_pow_of_two(nr_notes));
284 bitmap = bitmap_alloc(nr_notes, GFP_KERNEL);
288 bitmap_fill(bitmap, nr_notes);
[all...]
/linux-master/include/linux/
H A Dwatch_queue.h47 unsigned int nr_notes; /* Number of notes */ member in struct:watch_queue

Completed in 92 milliseconds