1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef BTRFS_DIRECT_IO_H
4 #define BTRFS_DIRECT_IO_H
5 
6 #include <linux/types.h>
7 
8 int __init btrfs_init_dio(void);
9 void __cold btrfs_destroy_dio(void);
10 
11 ssize_t btrfs_direct_write(struct kiocb *iocb, struct iov_iter *from);
12 ssize_t btrfs_direct_read(struct kiocb *iocb, struct iov_iter *to);
13 
14 #endif /* BTRFS_DIRECT_IO_H */
15