1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 #ifndef _UAPI_LINUX_BLKDEV_H 2 #ifndef _UAPI_LINUX_BLKDEV_H 3 #define _UAPI_LINUX_BLKDEV_H 3 #define _UAPI_LINUX_BLKDEV_H 4 4 5 #include <linux/ioctl.h> 5 #include <linux/ioctl.h> 6 #include <linux/types.h> 6 #include <linux/types.h> 7 7 8 /* 8 /* 9 * io_uring block file commands, see IORING_OP 9 * io_uring block file commands, see IORING_OP_URING_CMD. 10 * It's a different number space from ioctl(), 10 * It's a different number space from ioctl(), reuse the block's code 0x12. 11 */ 11 */ 12 #define BLOCK_URING_CMD_DISCARD 12 #define BLOCK_URING_CMD_DISCARD _IO(0x12, 0) 13 13 14 #endif 14 #endif 15 15
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.