xref: /linux-6.15/include/uapi/linux/blkdev.h (revision 50c52250)
1*50c52250SPavel Begunkov /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2*50c52250SPavel Begunkov #ifndef _UAPI_LINUX_BLKDEV_H
3*50c52250SPavel Begunkov #define _UAPI_LINUX_BLKDEV_H
4*50c52250SPavel Begunkov 
5*50c52250SPavel Begunkov #include <linux/ioctl.h>
6*50c52250SPavel Begunkov #include <linux/types.h>
7*50c52250SPavel Begunkov 
8*50c52250SPavel Begunkov /*
9*50c52250SPavel Begunkov  * io_uring block file commands, see IORING_OP_URING_CMD.
10*50c52250SPavel Begunkov  * It's a different number space from ioctl(), reuse the block's code 0x12.
11*50c52250SPavel Begunkov  */
12*50c52250SPavel Begunkov #define BLOCK_URING_CMD_DISCARD			_IO(0x12, 0)
13*50c52250SPavel Begunkov 
14*50c52250SPavel Begunkov #endif
15