summaryrefslogtreecommitdiffstats
path: root/io_uring/sync.h
blob: e873c888da79b1f73de55fe6afc766cebdc0aa61 (plain)
1
2
3
4
5
6
7
8
9
10
// SPDX-License-Identifier: GPL-2.0

int io_sfr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
int io_sync_file_range(struct io_kiocb *req, unsigned int issue_flags);

int io_fsync_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
int io_fsync(struct io_kiocb *req, unsigned int issue_flags);

int io_fallocate(struct io_kiocb *req, unsigned int issue_flags);
int io_fallocate_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);