blkpg.h 436 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _LINUX_BLKPG_H
  3. #define _LINUX_BLKPG_H
  4. /*
  5. * Partition table and disk geometry handling
  6. */
  7. #include <linux/compat.h>
  8. #include <uapi/linux/blkpg.h>
  9. #ifdef CONFIG_COMPAT
  10. /* For 32-bit/64-bit compatibility of struct blkpg_ioctl_arg */
  11. struct blkpg_compat_ioctl_arg {
  12. compat_int_t op;
  13. compat_int_t flags;
  14. compat_int_t datalen;
  15. compat_uptr_t data;
  16. };
  17. #endif
  18. #endif /* _LINUX_BLKPG_H */