Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/
Dwatch_queue.c40 struct watch_queue *wqueue = (struct watch_queue *)buf->private; in watch_queue_pipe_buf_release()
72 static bool post_one_notification(struct watch_queue *wqueue, in post_one_notification()
181 struct watch_queue *wqueue; in __post_watch_notification()
218 struct watch_queue *wqueue = pipe->watch_queue; in watch_queue_set_size()
293 struct watch_queue *wqueue = pipe->watch_queue; in watch_queue_set_filter()
367 struct watch_queue *wqueue = in __put_watch_queue()
368 container_of(kref, struct watch_queue, usage); in __put_watch_queue()
385 void put_watch_queue(struct watch_queue *wqueue) in put_watch_queue()
422 void init_watch(struct watch *watch, struct watch_queue *wqueue) in init_watch()
444 struct watch_queue *wqueue = rcu_access_pointer(watch->queue); in add_watch_to_object()
[all …]
DMakefile123 obj-$(CONFIG_WATCH_QUEUE) += watch_queue.o
/Linux-v5.10/include/linux/
Dwatch_queue.h37 struct watch_queue { struct
59 struct watch_queue __rcu *queue; /* Queue to post events to */ argument
83 extern struct watch_queue *get_watch_queue(int);
84 extern void put_watch_queue(struct watch_queue *);
85 extern void init_watch(struct watch *, struct watch_queue *);
87 extern int remove_watch_from_object(struct watch_list *, struct watch_queue *, u64, bool);
92 extern void watch_queue_clear(struct watch_queue *);
Dpipe_fs_i.h79 struct watch_queue *watch_queue; member
/Linux-v5.10/samples/
DMakefile30 subdir-$(CONFIG_SAMPLE_WATCH_QUEUE) += watch_queue
DKconfig213 bool "Build example /dev/watch_queue notification consumer"
/Linux-v5.10/fs/
Dpipe.c425 if (pipe->watch_queue) { in pipe_write()
819 if (pipe->watch_queue) { in free_pipe_info()
820 watch_queue_clear(pipe->watch_queue); in free_pipe_info()
821 put_watch_queue(pipe->watch_queue); in free_pipe_info()
1300 if (pipe->watch_queue) in pipe_set_size()
1356 if (for_splice && pipe->watch_queue) in get_pipe_info()
/Linux-v5.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
/Linux-v5.10/security/keys/
DKconfig124 of the /dev/watch_queue misc device to handle the notification
Dkeyctl.c1770 struct watch_queue *wqueue; in keyctl_watch_key()
/Linux-v5.10/Documentation/userspace-api/ioctl/
Dioctl-number.rst205 'W' 60-61 linux/watch_queue.h
/Linux-v5.10/Documentation/security/keys/
Dcore.rst1043 "queue_fd" is a file descriptor referring to an open "/dev/watch_queue"
1049 See Documentation/watch_queue.rst for more information.
/Linux-v5.10/init/
DKconfig397 See Documentation/watch_queue.rst