Searched refs:nr_notes (Results 1 – 2 of 2) sorted by relevance
96 note = find_first_bit(wqueue->notes_bitmap, wqueue->nr_notes); in post_one_notification()97 if (note >= wqueue->nr_notes) in post_one_notification()216 long watch_queue_set_size(struct pipe_inode_info *pipe, unsigned int nr_notes) in watch_queue_set_size() argument230 if (nr_notes < 1 || in watch_queue_set_size()231 nr_notes > 512) /* TODO: choose a better hard limit */ in watch_queue_set_size()234 nr_pages = (nr_notes + WATCH_QUEUE_NOTES_PER_PAGE - 1); in watch_queue_set_size()246 ret = pipe_resize_ring(pipe, nr_notes); in watch_queue_set_size()261 bmsize = (nr_notes + BITS_PER_LONG - 1) / BITS_PER_LONG; in watch_queue_set_size()271 wqueue->nr_notes = nr_pages * WATCH_QUEUE_NOTES_PER_PAGE; in watch_queue_set_size()
46 unsigned int nr_notes; /* Number of notes */ member