Home
last modified time | relevance | path

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

/Linux-v6.1/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()
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()
[all …]
DMakefile130 obj-$(CONFIG_WATCH_QUEUE) += watch_queue.o
/Linux-v6.1/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
/Linux-v6.1/Documentation/translations/zh_CN/core-api/
Dwatch_queue.rst5 :Original: Documentation/core-api/watch_queue.rst
121 * ``struct watch_queue *get_watch_queue(int fd);``
126 * ``void put_watch_queue(struct watch_queue *wqueue);``
159 * ``void init_watch(struct watch *watch, struct watch_queue *wqueue);``
171 struct watch_queue *wqueue,
Dindex.rst31 watch_queue
/Linux-v6.1/fs/
Dpipe.c440 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()
1379 if (for_splice && pipe->watch_queue) in get_pipe_info()
/Linux-v6.1/samples/
DMakefile34 subdir-$(CONFIG_SAMPLE_WATCH_QUEUE) += watch_queue
DKconfig251 bool "Build example watch_queue notification API consumer"
/Linux-v6.1/Documentation/translations/zh_TW/
Dindex.rst168 * watch_queue
/Linux-v6.1/Documentation/core-api/
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.rst21 watch_queue
/Linux-v6.1/security/keys/
Dkeyctl.c1770 struct watch_queue *wqueue; in keyctl_watch_key()
/Linux-v6.1/Documentation/userspace-api/ioctl/
Dioctl-number.rst209 'W' 60-61 linux/watch_queue.h
/Linux-v6.1/init/
DKconfig425 See Documentation/core-api/watch_queue.rst
/Linux-v6.1/Documentation/security/keys/
Dcore.rst1049 See Documentation/core-api/watch_queue.rst for more information.