]>
git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - include/linux/aio.h
1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/aio_abi.h>
11 typedef int (kiocb_cancel_fn
)(struct kiocb
*);
15 extern void exit_aio(struct mm_struct
*mm
);
16 void kiocb_set_cancel_fn(struct kiocb
*req
, kiocb_cancel_fn
*cancel
);
18 static inline void exit_aio(struct mm_struct
*mm
) { }
19 static inline void kiocb_set_cancel_fn(struct kiocb
*req
,
20 kiocb_cancel_fn
*cancel
) { }
21 #endif /* CONFIG_AIO */
24 extern unsigned long aio_nr
;
25 extern unsigned long aio_max_nr
;
27 #endif /* __LINUX__AIO_H */