4 #include <linux/aio_abi.h>
12 typedef int (kiocb_cancel_fn
)(struct kiocb
*);
16 extern void exit_aio(struct mm_struct
*mm
);
17 extern long do_io_submit(aio_context_t ctx_id
, long nr
,
18 struct iocb __user
*__user
*iocbpp
, bool compat
);
19 void kiocb_set_cancel_fn(struct kiocb
*req
, kiocb_cancel_fn
*cancel
);
21 static inline void exit_aio(struct mm_struct
*mm
) { }
22 static inline long do_io_submit(aio_context_t ctx_id
, long nr
,
23 struct iocb __user
* __user
*iocbpp
,
24 bool compat
) { return 0; }
25 static inline void kiocb_set_cancel_fn(struct kiocb
*req
,
26 kiocb_cancel_fn
*cancel
) { }
27 #endif /* CONFIG_AIO */
30 extern unsigned long aio_nr
;
31 extern unsigned long aio_max_nr
;
33 #endif /* __LINUX__AIO_H */
This page took 0.032105 seconds and 6 git commands to generate.