Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/
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()
321 struct watch_queue *wqueue = pipe->watch_queue; in watch_queue_set_filter()
395 struct watch_queue *wqueue = in __put_watch_queue()
396 container_of(kref, struct watch_queue, usage); in __put_watch_queue()
415 void put_watch_queue(struct watch_queue *wqueue) in put_watch_queue()
[all …]
DMakefile127 obj-$(CONFIG_WATCH_QUEUE) += watch_queue.o
/kernel/linux/linux-5.10/include/linux/
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 *);
Dpipe_fs_i.h81 struct watch_queue *watch_queue; member
/kernel/linux/linux-5.10/samples/
DMakefile30 subdir-$(CONFIG_SAMPLE_WATCH_QUEUE) += watch_queue
DKconfig213 bool "Build example watch_queue notification API consumer"
/kernel/linux/linux-5.10/fs/
Dpipe.c439 if (pipe->watch_queue) { in pipe_write()
834 if (pipe->watch_queue) in free_pipe_info()
835 watch_queue_clear(pipe->watch_queue); in free_pipe_info()
846 if (pipe->watch_queue) in free_pipe_info()
847 put_watch_queue(pipe->watch_queue); in free_pipe_info()
1323 if (pipe->watch_queue) in pipe_set_size()
1379 if (for_splice && pipe->watch_queue) in get_pipe_info()
/kernel/linux/linux-5.10/Documentation/
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,
Dindex.rst196 watch_queue
/kernel/linux/build/test/syzkaller/qos_auth/
Dlatency_nice.txt52 include <uapi/linux/watch_queue.h>
/kernel/linux/linux-5.10/Documentation/userspace-api/ioctl/
Dioctl-number.rst205 'W' 60-61 linux/watch_queue.h
/kernel/linux/linux-5.10/security/keys/
Dkeyctl.c1770 struct watch_queue *wqueue; in keyctl_watch_key()
/kernel/linux/linux-5.10/Documentation/security/keys/
Dcore.rst1049 See Documentation/watch_queue.rst for more information.
/kernel/linux/linux-5.10/init/
DKconfig413 See Documentation/watch_queue.rst