Blame view

kernel/linux-rt-4.4.41/include/linux/cciss_ioctl.h 1014 Bytes
5113f6f70   김현기   kernel add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  #ifndef CCISS_IOCTLH
  #define CCISS_IOCTLH
  
  #include <uapi/linux/cciss_ioctl.h>
  
  #ifdef CONFIG_COMPAT
  
  /* 32 bit compatible ioctl structs */
  typedef struct _IOCTL32_Command_struct {
    LUNAddr_struct	   LUN_info;
    RequestBlock_struct      Request;
    ErrorInfo_struct  	   error_info;
    WORD			   buf_size;  /* size in bytes of the buf */
    __u32			   buf; /* 32 bit pointer to data buffer */
  } IOCTL32_Command_struct;
  
  typedef struct _BIG_IOCTL32_Command_struct {
    LUNAddr_struct	   LUN_info;
    RequestBlock_struct      Request;
    ErrorInfo_struct  	   error_info;
    DWORD			   malloc_size; /* < MAX_KMALLOC_SIZE in cciss.c */
    DWORD			   buf_size;    /* size in bytes of the buf */
    				        /* < malloc_size * MAXSGENTRIES */
    __u32 		buf;	/* 32 bit pointer to data buffer */
  } BIG_IOCTL32_Command_struct;
  
  #define CCISS_PASSTHRU32   _IOWR(CCISS_IOC_MAGIC, 11, IOCTL32_Command_struct)
  #define CCISS_BIG_PASSTHRU32 _IOWR(CCISS_IOC_MAGIC, 18, BIG_IOCTL32_Command_struct)
  
  #endif /* CONFIG_COMPAT */
  #endif