1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/aio_abi.h>
13 typedef int (kiocb_cancel_fn
)(struct kiocb
*);
17 extern void exit_aio(struct mm_struct
*mm
);
18 void kiocb_set_cancel_fn(struct kiocb
*req
, kiocb_cancel_fn
*cancel
);
20 static inline void exit_aio(struct mm_struct
*mm
) { }
21 static inline void kiocb_set_cancel_fn(struct kiocb
*req
,
22 kiocb_cancel_fn
*cancel
) { }
23 #endif /* CONFIG_AIO */
26 extern unsigned long aio_nr
;
27 extern unsigned long aio_max_nr
;
29 #endif /* __LINUX__AIO_H */