| #include <linux/aio_abi.h> |
| typedef int (kiocb_cancel_fn)(struct kiocb *); |
| extern void exit_aio(struct mm_struct *mm); |
| extern long do_io_submit(aio_context_t ctx_id, long nr, |
| struct iocb __user *__user *iocbpp, bool compat); |
| void kiocb_set_cancel_fn(struct kiocb *req, kiocb_cancel_fn *cancel); |
| static inline void exit_aio(struct mm_struct *mm) { } |
| static inline long do_io_submit(aio_context_t ctx_id, long nr, |
| struct iocb __user * __user *iocbpp, |
| bool compat) { return 0; } |
| static inline void kiocb_set_cancel_fn(struct kiocb *req, |
| kiocb_cancel_fn *cancel) { } |
| extern unsigned long aio_nr; |
| extern unsigned long aio_max_nr; |
| #endif /* __LINUX__AIO_H */ |