logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

blkdev.h (359B)


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