Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
#define BINJECT_VER_MASK ((1 << BINJECT_MAGIC_SHIFT) - 1)
struct b_user_cmd {
- u16 magic; /* INPUT */
- u16 type; /* INPUT */
- u32 error; /* OUTPUT */
- u32 flags; /* INPUT */
- u32 len; /* INPUT */
- u64 offset; /* INPUT */
- u64 buf; /* INPUT */
- u64 usr_ptr; /* PASSED THROUGH */
- u64 nsec; /* OUTPUT */
+ __u16 magic; /* INPUT */
+ __u16 type; /* INPUT */
+ __u32 error; /* OUTPUT */
+ __u32 flags; /* INPUT */
+ __u32 len; /* INPUT */
+ __u64 offset; /* INPUT */
+ __u64 buf; /* INPUT */
+ __u64 usr_ptr; /* PASSED THROUGH */
+ __u64 nsec; /* OUTPUT */
};
struct b_ioctl_cmd {