linux/io_uring/truncate.h

// SPDX-License-Identifier: GPL-2.0

int io_ftruncate_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
int io_ftruncate(struct io_kiocb *req, unsigned int issue_flags);