Searched refs:watch_queue (Results 1 - 10 of 10) sorted by relevance
/linux-master/include/linux/ |
H A D | watch_queue.h | 7 * 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 D | pipe_fs_i.h | 56 * @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 D | watch_queue.c | 7 * 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 D | Makefile | 131 obj-$(CONFIG_WATCH_QUEUE) += watch_queue.o
|
/linux-master/samples/ |
H A D | Makefile | 37 subdir-$(CONFIG_SAMPLE_WATCH_QUEUE) += watch_queue
|
/linux-master/samples/watch_queue/ |
H A D | watch_test.c | 2 /* 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 D | pipe.c | 27 #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 D | internal.h | 18 #include <linux/watch_queue.h>
|
H A D | keyctl.c | 1774 struct watch_queue *wqueue;
|
/linux-master/security/smack/ |
H A D | smack_lsm.c | 45 #include <linux/watch_queue.h>
|
Completed in 164 milliseconds