| .. | .. |
|---|
| 39 | 39 | struct eventfd_ctx *eventfd_ctx_fdget(int fd); |
|---|
| 40 | 40 | struct eventfd_ctx *eventfd_ctx_fileget(struct file *file); |
|---|
| 41 | 41 | __u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n); |
|---|
| 42 | +__u64 eventfd_signal_mask(struct eventfd_ctx *ctx, __u64 n, unsigned mask); |
|---|
| 42 | 43 | int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, |
|---|
| 43 | 44 | __u64 *cnt); |
|---|
| 45 | +void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt); |
|---|
| 44 | 46 | |
|---|
| 45 | 47 | DECLARE_PER_CPU(int, eventfd_wake_count); |
|---|
| 46 | 48 | |
|---|
| .. | .. |
|---|
| 61 | 63 | return ERR_PTR(-ENOSYS); |
|---|
| 62 | 64 | } |
|---|
| 63 | 65 | |
|---|
| 64 | | -static inline int eventfd_signal(struct eventfd_ctx *ctx, int n) |
|---|
| 66 | +static inline int eventfd_signal(struct eventfd_ctx *ctx, __u64 n) |
|---|
| 67 | +{ |
|---|
| 68 | + return -ENOSYS; |
|---|
| 69 | +} |
|---|
| 70 | + |
|---|
| 71 | +static inline int eventfd_signal_mask(struct eventfd_ctx *ctx, __u64 n, |
|---|
| 72 | + unsigned mask) |
|---|
| 65 | 73 | { |
|---|
| 66 | 74 | return -ENOSYS; |
|---|
| 67 | 75 | } |
|---|
| .. | .. |
|---|
| 82 | 90 | return false; |
|---|
| 83 | 91 | } |
|---|
| 84 | 92 | |
|---|
| 93 | +static inline void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) |
|---|
| 94 | +{ |
|---|
| 95 | + |
|---|
| 96 | +} |
|---|
| 97 | + |
|---|
| 85 | 98 | #endif |
|---|
| 86 | 99 | |
|---|
| 87 | 100 | #endif /* _LINUX_EVENTFD_H */ |
|---|