diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 20:10:31 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 20:10:31 +0100 |
| commit | fc00c656c96528112d05cf0edf8631bd5eaea446 (patch) | |
| tree | a6e0e6c588191a8bd1c64afc3b7a258e3e66c236 /include/arch/x86_64/linux/blkdev.h | |
Add build system scaffolding and libc headers
Diffstat (limited to 'include/arch/x86_64/linux/blkdev.h')
| -rw-r--r-- | include/arch/x86_64/linux/blkdev.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/arch/x86_64/linux/blkdev.h b/include/arch/x86_64/linux/blkdev.h new file mode 100644 index 00000000..8ad0a0f5 --- /dev/null +++ b/include/arch/x86_64/linux/blkdev.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_BLKDEV_H +#define _LINUX_BLKDEV_H + +#include <linux/ioctl.h> +#include <linux/types.h> + +/* + * io_uring block file commands, see IORING_OP_URING_CMD. + * It's a different number space from ioctl(), reuse the block's code 0x12. + */ +#define BLOCK_URING_CMD_DISCARD _IO(0x12, 0) + +#endif |
