23 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef _LINUX_BLKPG_H3#define _LINUX_BLKPG_H4 5/*6 * Partition table and disk geometry handling7 */8 9#include <linux/compat.h>10#include <uapi/linux/blkpg.h>11 12#ifdef CONFIG_COMPAT13/* For 32-bit/64-bit compatibility of struct blkpg_ioctl_arg */14struct blkpg_compat_ioctl_arg {15 compat_int_t op;16 compat_int_t flags;17 compat_int_t datalen;18 compat_uptr_t data;19};20#endif21 22#endif /* _LINUX_BLKPG_H */23