~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/cciss_ioctl.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/uapi/linux/cciss_ioctl.h (Architecture ppc) and /include/uapi/linux/cciss_ioctl.h (Architecture i386)


  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux      1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2 #ifndef _UAPICCISS_IOCTLH                           2 #ifndef _UAPICCISS_IOCTLH
  3 #define _UAPICCISS_IOCTLH                           3 #define _UAPICCISS_IOCTLH
  4                                                     4 
  5 #include <linux/types.h>                            5 #include <linux/types.h>
  6 #include <linux/ioctl.h>                            6 #include <linux/ioctl.h>
  7 #include <linux/cciss_defs.h>                       7 #include <linux/cciss_defs.h>
  8                                                     8 
  9 #define CCISS_IOC_MAGIC 'B'                         9 #define CCISS_IOC_MAGIC 'B'
 10                                                    10 
 11                                                    11 
 12 typedef struct _cciss_pci_info_struct              12 typedef struct _cciss_pci_info_struct
 13 {                                                  13 {
 14         unsigned char   bus;                       14         unsigned char   bus;
 15         unsigned char   dev_fn;                    15         unsigned char   dev_fn;
 16         unsigned short  domain;                    16         unsigned short  domain;
 17         __u32           board_id;                  17         __u32           board_id;
 18 } cciss_pci_info_struct;                           18 } cciss_pci_info_struct; 
 19                                                    19 
 20 typedef struct _cciss_coalint_struct               20 typedef struct _cciss_coalint_struct
 21 {                                                  21 {
 22         __u32  delay;                              22         __u32  delay;
 23         __u32  count;                              23         __u32  count;
 24 } cciss_coalint_struct;                            24 } cciss_coalint_struct;
 25                                                    25 
 26 typedef char NodeName_type[16];                    26 typedef char NodeName_type[16];
 27                                                    27 
 28 typedef __u32 Heartbeat_type;                      28 typedef __u32 Heartbeat_type;
 29                                                    29 
 30 #define CISS_PARSCSIU2  0x0001                     30 #define CISS_PARSCSIU2  0x0001
 31 #define CISS_PARCSCIU3  0x0002                     31 #define CISS_PARCSCIU3  0x0002
 32 #define CISS_FIBRE1G    0x0100                     32 #define CISS_FIBRE1G    0x0100
 33 #define CISS_FIBRE2G    0x0200                     33 #define CISS_FIBRE2G    0x0200
 34 typedef __u32 BusTypes_type;                       34 typedef __u32 BusTypes_type;
 35                                                    35 
 36 typedef char FirmwareVer_type[4];                  36 typedef char FirmwareVer_type[4];
 37 typedef __u32 DriverVer_type;                      37 typedef __u32 DriverVer_type;
 38                                                    38 
 39 #define MAX_KMALLOC_SIZE 128000                    39 #define MAX_KMALLOC_SIZE 128000
 40                                                    40 
 41 typedef struct _IOCTL_Command_struct {             41 typedef struct _IOCTL_Command_struct {
 42   LUNAddr_struct           LUN_info;               42   LUNAddr_struct           LUN_info;
 43   RequestBlock_struct      Request;                43   RequestBlock_struct      Request;
 44   ErrorInfo_struct         error_info;             44   ErrorInfo_struct         error_info; 
 45   WORD                     buf_size;  /* size      45   WORD                     buf_size;  /* size in bytes of the buf */
 46   BYTE                     __user *buf;            46   BYTE                     __user *buf;
 47 } IOCTL_Command_struct;                            47 } IOCTL_Command_struct;
 48                                                    48 
 49 typedef struct _BIG_IOCTL_Command_struct {         49 typedef struct _BIG_IOCTL_Command_struct {
 50   LUNAddr_struct           LUN_info;               50   LUNAddr_struct           LUN_info;
 51   RequestBlock_struct      Request;                51   RequestBlock_struct      Request;
 52   ErrorInfo_struct         error_info;             52   ErrorInfo_struct         error_info;
 53   DWORD                    malloc_size; /* < M     53   DWORD                    malloc_size; /* < MAX_KMALLOC_SIZE in cciss.c */
 54   DWORD                    buf_size;    /* siz     54   DWORD                    buf_size;    /* size in bytes of the buf */
 55                                         /* < m     55                                         /* < malloc_size * MAXSGENTRIES */
 56   BYTE                     __user *buf;            56   BYTE                     __user *buf;
 57 } BIG_IOCTL_Command_struct;                        57 } BIG_IOCTL_Command_struct;
 58                                                    58 
 59 typedef struct _LogvolInfo_struct{                 59 typedef struct _LogvolInfo_struct{
 60         __u32   LunID;                             60         __u32   LunID;
 61         int     num_opens;  /* number of opens     61         int     num_opens;  /* number of opens on the logical volume */
 62         int     num_parts;  /* number of parti     62         int     num_parts;  /* number of partitions configured on logvol */
 63 } LogvolInfo_struct;                               63 } LogvolInfo_struct;
 64                                                    64 
 65 #define CCISS_GETPCIINFO _IOR(CCISS_IOC_MAGIC,     65 #define CCISS_GETPCIINFO _IOR(CCISS_IOC_MAGIC, 1, cciss_pci_info_struct)
 66                                                    66 
 67 #define CCISS_GETINTINFO _IOR(CCISS_IOC_MAGIC,     67 #define CCISS_GETINTINFO _IOR(CCISS_IOC_MAGIC, 2, cciss_coalint_struct)
 68 #define CCISS_SETINTINFO _IOW(CCISS_IOC_MAGIC,     68 #define CCISS_SETINTINFO _IOW(CCISS_IOC_MAGIC, 3, cciss_coalint_struct)
 69                                                    69 
 70 #define CCISS_GETNODENAME _IOR(CCISS_IOC_MAGIC     70 #define CCISS_GETNODENAME _IOR(CCISS_IOC_MAGIC, 4, NodeName_type)
 71 #define CCISS_SETNODENAME _IOW(CCISS_IOC_MAGIC     71 #define CCISS_SETNODENAME _IOW(CCISS_IOC_MAGIC, 5, NodeName_type)
 72                                                    72 
 73 #define CCISS_GETHEARTBEAT _IOR(CCISS_IOC_MAGI     73 #define CCISS_GETHEARTBEAT _IOR(CCISS_IOC_MAGIC, 6, Heartbeat_type)
 74 #define CCISS_GETBUSTYPES  _IOR(CCISS_IOC_MAGI     74 #define CCISS_GETBUSTYPES  _IOR(CCISS_IOC_MAGIC, 7, BusTypes_type)
 75 #define CCISS_GETFIRMVER   _IOR(CCISS_IOC_MAGI     75 #define CCISS_GETFIRMVER   _IOR(CCISS_IOC_MAGIC, 8, FirmwareVer_type)
 76 #define CCISS_GETDRIVVER   _IOR(CCISS_IOC_MAGI     76 #define CCISS_GETDRIVVER   _IOR(CCISS_IOC_MAGIC, 9, DriverVer_type)
 77 #define CCISS_REVALIDVOLS  _IO(CCISS_IOC_MAGIC     77 #define CCISS_REVALIDVOLS  _IO(CCISS_IOC_MAGIC, 10)
 78 #define CCISS_PASSTHRU     _IOWR(CCISS_IOC_MAG     78 #define CCISS_PASSTHRU     _IOWR(CCISS_IOC_MAGIC, 11, IOCTL_Command_struct)
 79 #define CCISS_DEREGDISK    _IO(CCISS_IOC_MAGIC     79 #define CCISS_DEREGDISK    _IO(CCISS_IOC_MAGIC, 12)
 80                                                    80 
 81 /* no longer used... use REGNEWD instead */        81 /* no longer used... use REGNEWD instead */ 
 82 #define CCISS_REGNEWDISK  _IOW(CCISS_IOC_MAGIC     82 #define CCISS_REGNEWDISK  _IOW(CCISS_IOC_MAGIC, 13, int)
 83                                                    83 
 84 #define CCISS_REGNEWD      _IO(CCISS_IOC_MAGIC     84 #define CCISS_REGNEWD      _IO(CCISS_IOC_MAGIC, 14)
 85 #define CCISS_RESCANDISK   _IO(CCISS_IOC_MAGIC     85 #define CCISS_RESCANDISK   _IO(CCISS_IOC_MAGIC, 16)
 86 #define CCISS_GETLUNINFO   _IOR(CCISS_IOC_MAGI     86 #define CCISS_GETLUNINFO   _IOR(CCISS_IOC_MAGIC, 17, LogvolInfo_struct)
 87 #define CCISS_BIG_PASSTHRU _IOWR(CCISS_IOC_MAG     87 #define CCISS_BIG_PASSTHRU _IOWR(CCISS_IOC_MAGIC, 18, BIG_IOCTL_Command_struct)
 88                                                    88 
 89 #endif /* _UAPICCISS_IOCTLH */                     89 #endif /* _UAPICCISS_IOCTLH */
 90                                                    90 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php