Searched refs:watch_queue (Results 1 - 10 of 10) sorted by relevance

/linux-master/include/linux/
H A Dwatch_queue.h7 * See Documentation/core-api/watch_queue.rst
13 #include <uapi/linux/watch_queue.h>
38 struct watch_queue { struct
59 struct watch_queue __rcu *queue; /* Queue to post events to */
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 *);
H A Dpipe_fs_i.h56 * @watch_queue: If this pipe is a watch_queue, this is the stuff for that
81 struct watch_queue *watch_queue; member in struct:pipe_inode_info
128 * pipe_has_watch_queue - Check whether the pipe is a watch_queue,
137 return pipe->watch_queue != NULL;
/linux-master/kernel/
H A Dwatch_queue.c7 * See Documentation/core-api/watch_queue.rst
27 #include <linux/watch_queue.h>
42 static inline bool lock_wqueue(struct watch_queue *wqueue)
52 static inline void unlock_wqueue(struct watch_queue *wqueue)
60 struct watch_queue *wqueue = (struct watch_queue *)buf->private;
94 * watch_queue lock held, which guarantees that the pipe
97 static bool post_one_notification(struct watch_queue *wqueue,
200 struct watch_queue *wqueue;
240 struct watch_queue *wqueu
[all...]
H A DMakefile131 obj-$(CONFIG_WATCH_QUEUE) += watch_queue.o
/linux-master/samples/
H A DMakefile37 subdir-$(CONFIG_SAMPLE_WATCH_QUEUE) += watch_queue
/linux-master/samples/watch_queue/
H A Dwatch_test.c2 /* Use watch_queue API to watch for notifications.
19 #include <linux/watch_queue.h>
165 perror("watch_queue(size)");
170 perror("watch_queue(filter)");
/linux-master/fs/
H A Dpipe.c27 #include <linux/watch_queue.h>
227 * If the pipe has a watch_queue, we need additional protection
243 * Without a watch_queue, we can simply increment the tail
844 if (pipe->watch_queue)
845 watch_queue_clear(pipe->watch_queue);
856 if (pipe->watch_queue)
857 put_watch_queue(pipe->watch_queue);
/linux-master/security/keys/
H A Dinternal.h18 #include <linux/watch_queue.h>
H A Dkeyctl.c1774 struct watch_queue *wqueue;
/linux-master/security/smack/
H A Dsmack_lsm.c45 #include <linux/watch_queue.h>

Completed in 164 milliseconds