Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 
0003 int io_uring_cmd(struct io_kiocb *req, unsigned int issue_flags);
0004 int io_uring_cmd_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
0005 int io_uring_cmd_prep_async(struct io_kiocb *req);
0006 
0007 /*
0008  * The URING_CMD payload starts at 'cmd' in the first sqe, and continues into
0009  * the following sqe if SQE128 is used.
0010  */
0011 #define uring_cmd_pdu_size(is_sqe128)               \
0012     ((1 + !!(is_sqe128)) * sizeof(struct io_uring_sqe) -    \
0013         offsetof(struct io_uring_sqe, cmd))