Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _LINUX_BLKPG_H
0003 #define _LINUX_BLKPG_H
0004 
0005 /*
0006  * Partition table and disk geometry handling
0007  */
0008 
0009 #include <linux/compat.h>
0010 #include <uapi/linux/blkpg.h>
0011 
0012 #ifdef CONFIG_COMPAT
0013 /* For 32-bit/64-bit compatibility of struct blkpg_ioctl_arg */
0014 struct blkpg_compat_ioctl_arg {
0015     compat_int_t op;
0016     compat_int_t flags;
0017     compat_int_t datalen;
0018     compat_uptr_t data;
0019 };
0020 #endif
0021 
0022 #endif /* _LINUX_BLKPG_H */