Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.11-rc6 16 lines 542 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _BCACHEFS_FS_IO_DIRECT_H 3#define _BCACHEFS_FS_IO_DIRECT_H 4 5#ifndef NO_BCACHEFS_FS 6ssize_t bch2_direct_write(struct kiocb *, struct iov_iter *); 7ssize_t bch2_read_iter(struct kiocb *, struct iov_iter *); 8 9void bch2_fs_fs_io_direct_exit(struct bch_fs *); 10int bch2_fs_fs_io_direct_init(struct bch_fs *); 11#else 12static inline void bch2_fs_fs_io_direct_exit(struct bch_fs *c) {} 13static inline int bch2_fs_fs_io_direct_init(struct bch_fs *c) { return 0; } 14#endif 15 16#endif /* _BCACHEFS_FS_IO_DIRECT_H */