hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/eventfd.h
....@@ -42,6 +42,7 @@
4242 __u64 eventfd_signal_mask(struct eventfd_ctx *ctx, __u64 n, unsigned mask);
4343 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait,
4444 __u64 *cnt);
45
+void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt);
4546
4647 DECLARE_PER_CPU(int, eventfd_wake_count);
4748
....@@ -62,7 +63,7 @@
6263 return ERR_PTR(-ENOSYS);
6364 }
6465
65
-static inline int eventfd_signal(struct eventfd_ctx *ctx, int n)
66
+static inline int eventfd_signal(struct eventfd_ctx *ctx, __u64 n)
6667 {
6768 return -ENOSYS;
6869 }
....@@ -89,6 +90,11 @@
8990 return false;
9091 }
9192
93
+static inline void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt)
94
+{
95
+
96
+}
97
+
9298 #endif
9399
94100 #endif /* _LINUX_EVENTFD_H */