/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI__LINUX_BLKPG_H #define _UAPI__LINUX_BLKPG_H #include <linux/compiler.h> #include <linux/ioctl.h> #define BLKPG … /* The argument structure */ struct blkpg_ioctl_arg { … }; /* The subfunctions (for the op field) */ #define BLKPG_ADD_PARTITION … #define BLKPG_DEL_PARTITION … #define BLKPG_RESIZE_PARTITION … /* Sizes of name fields. Unused at present. */ #define BLKPG_DEVNAMELTH … #define BLKPG_VOLNAMELTH … /* The data structure for ADD_PARTITION and DEL_PARTITION */ struct blkpg_partition { … }; #endif /* _UAPI__LINUX_BLKPG_H */