Home
last modified time | relevance | path

Searched refs:watch_queue (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/kernel/
H A Dwatch_queue.c43 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()
320 struct watch_queue *wqueue = pipe->watch_queue; in watch_queue_set_filter()
394 struct watch_queue *wqueue = in __put_watch_queue()
395 container_of(kref, struct watch_queue, usage); in __put_watch_queue()
414 void put_watch_queue(struct watch_queue *wqueue) in put_watch_queue()
[all …]
H A DMakefile127 obj-$(CONFIG_WATCH_QUEUE) += watch_queue.o
/OK3568_Linux_fs/kernel/include/linux/
H A Dwatch_queue.h38 struct watch_queue { struct
60 struct watch_queue __rcu *queue; /* Queue to post events to */ argument
84 extern struct watch_queue *get_watch_queue(int);
85 extern void put_watch_queue(struct watch_queue *);
86 extern void init_watch(struct watch *, struct watch_queue *);
88 extern int remove_watch_from_object(struct watch_list *, struct watch_queue *, u64, bool);
93 extern void watch_queue_clear(struct watch_queue *);
H A Dpipe_fs_i.h79 struct watch_queue *watch_queue; member
/OK3568_Linux_fs/kernel/fs/
H A Dpipe.c441 if (pipe->watch_queue) { in pipe_write()
835 if (pipe->watch_queue) in free_pipe_info()
836 watch_queue_clear(pipe->watch_queue); in free_pipe_info()
847 if (pipe->watch_queue) in free_pipe_info()
848 put_watch_queue(pipe->watch_queue); in free_pipe_info()
1324 if (pipe->watch_queue) in pipe_set_size()
1380 if (for_splice && pipe->watch_queue) in get_pipe_info()
/OK3568_Linux_fs/kernel/samples/
H A DMakefile30 subdir-$(CONFIG_SAMPLE_WATCH_QUEUE) += watch_queue
H A DKconfig213 bool "Build example watch_queue notification API consumer"
/OK3568_Linux_fs/kernel/Documentation/
H A Dwatch_queue.rst130 * ``struct watch_queue *get_watch_queue(int fd);``
137 * ``void put_watch_queue(struct watch_queue *wqueue);``
173 * ``void init_watch(struct watch *watch, struct watch_queue *wqueue);``
187 struct watch_queue *wqueue,
H A Dindex.rst196 watch_queue
/OK3568_Linux_fs/kernel/Documentation/userspace-api/ioctl/
H A Dioctl-number.rst205 'W' 60-61 linux/watch_queue.h
/OK3568_Linux_fs/kernel/security/keys/
H A Dkeyctl.c1770 struct watch_queue *wqueue; in keyctl_watch_key()
/OK3568_Linux_fs/kernel/Documentation/security/keys/
H A Dcore.rst1049 See Documentation/watch_queue.rst for more information.
/OK3568_Linux_fs/kernel/init/
H A DKconfig415 See Documentation/watch_queue.rst