summaryrefslogtreecommitdiff
path: root/include/linux/eventpoll.h
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2026-06-29 11:32:44 -0400
committerSteven Rostedt <rostedt@goodmis.org>2026-06-29 11:32:44 -0400
commita13905ac604cfd28fbda0815da16127bd4069bbe (patch)
tree81c6504a0aae2c7d7ea118c7aff71ec943035ca7 /include/linux/eventpoll.h
parent56ece2fce5c00f577d92a376ba5dc4a2aa15925d (diff)
parentc35eb77a67515d4201bc91294f40761591f43bbd (diff)
downloadlinux-next-a13905ac604cfd28fbda0815da16127bd4069bbe.tar.gz
linux-next-a13905ac604cfd28fbda0815da16127bd4069bbe.zip
Merge tools/for-next
Diffstat (limited to 'include/linux/eventpoll.h')
-rw-r--r--include/linux/eventpoll.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/eventpoll.h b/include/linux/eventpoll.h
index 728fb5dee5ed..de1c738aa8ad 100644
--- a/include/linux/eventpoll.h
+++ b/include/linux/eventpoll.h
@@ -61,8 +61,16 @@ static inline void eventpoll_release(struct file *file)
eventpoll_release_file(file);
}
+struct epoll_key {
+ struct file *file;
+ int fd;
+} __packed;
+
+int do_epoll_ctl_file(struct file *f, int op, struct epoll_key *tf,
+ struct epoll_event *epds, bool nonblock);
int do_epoll_ctl(int epfd, int op, int fd, struct epoll_event *epds,
bool nonblock);
+bool is_file_epoll(struct file *f);
/* Tells if the epoll_ctl(2) operation needs an event copy from userspace */
static inline int ep_op_has_event(int op)