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()
200 struct watch_queue *wqueue; in __post_watch_notification()
240 struct watch_queue *wqueue = pipe->watch_queue; in watch_queue_set_size()
314 struct watch_queue *wqueue = pipe->watch_queue; in watch_queue_set_filter()
388 struct watch_queue *wqueue = in __put_watch_queue()
389 container_of(kref, struct watch_queue, usage); in __put_watch_queue()
408 void put_watch_queue(struct watch_queue *wqueue) in put_watch_queue()
446 void init_watch(struct watch *watch, struct watch_queue *wqueue) in init_watch()
454 static int add_one_watch(struct watch *watch, struct watch_list *wlist, struct watch_queue *wqueue) in add_one_watch()
460 struct watch_queue *wq = rcu_access_pointer(w->queue); in add_one_watch()
495 struct watch_queue *wqueue; in add_watch_to_object()
523 int remove_watch_from_object(struct watch_list *wlist, struct watch_queue *wq, in remove_watch_from_object()
527 struct watch_queue *wqueue; in remove_watch_from_object()
594 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()
670 if (pipe && pipe->watch_queue) { in get_watch_queue()
671 wqueue = pipe->watch_queue; in get_watch_queue()
685 struct watch_queue *wqueue; in watch_queue_init()
696 pipe->watch_queue = wqueue; in watch_queue_init()