Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/
Dwatch_queue.c42 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()
[all …]
DMakefile129 obj-$(CONFIG_WATCH_QUEUE) += watch_queue.o
/Linux-v6.6/include/linux/
Dwatch_queue.h38 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.h81 struct watch_queue *watch_queue; member
/Linux-v6.6/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.6/fs/
Dpipe.c441 if (pipe->watch_queue) { in pipe_write()
836 if (pipe->watch_queue) in free_pipe_info()
837 watch_queue_clear(pipe->watch_queue); in free_pipe_info()
848 if (pipe->watch_queue) in free_pipe_info()
849 put_watch_queue(pipe->watch_queue); in free_pipe_info()
1328 if (pipe->watch_queue) in pipe_set_size()
1383 if (for_splice && pipe->watch_queue) in get_pipe_info()
/Linux-v6.6/samples/
DMakefile36 subdir-$(CONFIG_SAMPLE_WATCH_QUEUE) += watch_queue
DKconfig266 bool "Build example watch_queue notification API consumer"
/Linux-v6.6/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.6/Documentation/userspace-api/ioctl/
Dioctl-number.rst210 'W' 60-61 linux/watch_queue.h
/Linux-v6.6/security/keys/
Dkeyctl.c1775 struct watch_queue *wqueue; in keyctl_watch_key()
/Linux-v6.6/init/
DKconfig427 See Documentation/core-api/watch_queue.rst
/Linux-v6.6/Documentation/security/keys/
Dcore.rst1049 See Documentation/core-api/watch_queue.rst for more information.