Lines Matching refs:watch_queue

43 static inline bool lock_wqueue(struct watch_queue *wqueue)  in lock_wqueue()
53 static inline void unlock_wqueue(struct watch_queue *wqueue) in unlock_wqueue()
61 struct watch_queue *wqueue = (struct watch_queue *)buf->private; in watch_queue_pipe_buf_release()
98 static bool post_one_notification(struct watch_queue *wqueue, in post_one_notification()
204 struct watch_queue *wqueue; in __post_watch_notification()
244 struct watch_queue *wqueue = pipe->watch_queue; in watch_queue_set_size()
317 struct watch_queue *wqueue = pipe->watch_queue; in watch_queue_set_filter()
391 struct watch_queue *wqueue = in __put_watch_queue()
392 container_of(kref, struct watch_queue, usage); in __put_watch_queue()
411 void put_watch_queue(struct watch_queue *wqueue) in put_watch_queue()
449 void init_watch(struct watch *watch, struct watch_queue *wqueue) in init_watch()
457 static int add_one_watch(struct watch *watch, struct watch_list *wlist, struct watch_queue *wqueue) in add_one_watch()
463 struct watch_queue *wq = rcu_access_pointer(w->queue); in add_one_watch()
498 struct watch_queue *wqueue; in add_watch_to_object()
526 int remove_watch_from_object(struct watch_list *wlist, struct watch_queue *wq, in remove_watch_from_object()
530 struct watch_queue *wqueue; in remove_watch_from_object()
597 void watch_queue_clear(struct watch_queue *wqueue) in watch_queue_clear()
662 struct watch_queue *get_watch_queue(int fd) in get_watch_queue()
665 struct watch_queue *wqueue = ERR_PTR(-EINVAL); in get_watch_queue()
671 if (pipe && pipe->watch_queue) { in get_watch_queue()
672 wqueue = pipe->watch_queue; in get_watch_queue()
687 struct watch_queue *wqueue; in watch_queue_init()
698 pipe->watch_queue = wqueue; in watch_queue_init()