raw.h 365 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef __LINUX_RAW_H
  3. #define __LINUX_RAW_H
  4. #include <linux/types.h>
  5. #define RAW_SETBIND _IO( 0xac, 0 )
  6. #define RAW_GETBIND _IO( 0xac, 1 )
  7. struct raw_config_request
  8. {
  9. int raw_minor;
  10. __u64 block_major;
  11. __u64 block_minor;
  12. };
  13. #define MAX_RAW_MINORS CONFIG_MAX_RAW_DEVS
  14. #endif /* __LINUX_RAW_H */