| .. | .. |
|---|
| 42 | 42 | __u64 eventfd_signal_mask(struct eventfd_ctx *ctx, __u64 n, unsigned mask); |
|---|
| 43 | 43 | int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, |
|---|
| 44 | 44 | __u64 *cnt); |
|---|
| 45 | +void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt); |
|---|
| 45 | 46 | |
|---|
| 46 | 47 | DECLARE_PER_CPU(int, eventfd_wake_count); |
|---|
| 47 | 48 | |
|---|
| .. | .. |
|---|
| 62 | 63 | return ERR_PTR(-ENOSYS); |
|---|
| 63 | 64 | } |
|---|
| 64 | 65 | |
|---|
| 65 | | -static inline int eventfd_signal(struct eventfd_ctx *ctx, int n) |
|---|
| 66 | +static inline int eventfd_signal(struct eventfd_ctx *ctx, __u64 n) |
|---|
| 66 | 67 | { |
|---|
| 67 | 68 | return -ENOSYS; |
|---|
| 68 | 69 | } |
|---|
| .. | .. |
|---|
| 89 | 90 | return false; |
|---|
| 90 | 91 | } |
|---|
| 91 | 92 | |
|---|
| 93 | +static inline void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) |
|---|
| 94 | +{ |
|---|
| 95 | + |
|---|
| 96 | +} |
|---|
| 97 | + |
|---|
| 92 | 98 | #endif |
|---|
| 93 | 99 | |
|---|
| 94 | 100 | #endif /* _LINUX_EVENTFD_H */ |
|---|