Lines Matching refs:watch_queue

42 static inline bool lock_wqueue(struct watch_queue *wqueue)  in lock_wqueue()
52 static inline void unlock_wqueue(struct watch_queue *wqueue) in unlock_wqueue()
60 struct watch_queue *wqueue = (struct watch_queue *)buf->private; in watch_queue_pipe_buf_release()
97 static bool post_one_notification(struct watch_queue *wqueue, in post_one_notification()
199 struct watch_queue *wqueue; in __post_watch_notification()
239 struct watch_queue *wqueue = pipe->watch_queue; in watch_queue_set_size()
322 struct watch_queue *wqueue = pipe->watch_queue; in watch_queue_set_filter()
396 struct watch_queue *wqueue = in __put_watch_queue()
397 container_of(kref, struct watch_queue, usage); in __put_watch_queue()
416 void put_watch_queue(struct watch_queue *wqueue) in put_watch_queue()
454 void init_watch(struct watch *watch, struct watch_queue *wqueue) in init_watch()
462 static int add_one_watch(struct watch *watch, struct watch_list *wlist, struct watch_queue *wqueue) in add_one_watch()
468 struct watch_queue *wq = rcu_access_pointer(w->queue); in add_one_watch()
503 struct watch_queue *wqueue; in add_watch_to_object()
531 int remove_watch_from_object(struct watch_list *wlist, struct watch_queue *wq, in remove_watch_from_object()
535 struct watch_queue *wqueue; in remove_watch_from_object()
602 void watch_queue_clear(struct watch_queue *wqueue) in watch_queue_clear()
670 struct watch_queue *get_watch_queue(int fd) in get_watch_queue()
673 struct watch_queue *wqueue = ERR_PTR(-EINVAL); in get_watch_queue()
678 if (pipe && pipe->watch_queue) { in get_watch_queue()
679 wqueue = pipe->watch_queue; in get_watch_queue()
693 struct watch_queue *wqueue; in watch_queue_init()
704 pipe->watch_queue = wqueue; in watch_queue_init()