Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
zfcp_def.h File Reference
#include <linux/init.h>
#include <linux/moduleparam.h>
#include <linux/major.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/timer.h>
#include <linux/slab.h>
#include <linux/mempool.h>
#include <linux/syscalls.h>
#include <linux/scatterlist.h>
#include <linux/ioctl.h>
#include <scsi/fc/fc_fs.h>
#include <scsi/fc/fc_gs.h>
#include <scsi/scsi.h>
#include <scsi/scsi_tcq.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_transport.h>
#include <scsi/scsi_transport_fc.h>
#include <scsi/scsi_bsg_fc.h>
#include <asm/ccwdev.h>
#include <asm/debug.h>
#include <asm/ebcdic.h>
#include <asm/sysinfo.h>
#include "zfcp_fsf.h"
#include "zfcp_fc.h"
#include "zfcp_qdio.h"

Go to the source code of this file.

Data Structures

struct  zfcp_adapter_mempool
 
struct  zfcp_erp_action
 
struct  fsf_latency_record
 
struct  latency_cont
 
struct  zfcp_latencies
 
struct  zfcp_adapter
 
struct  zfcp_port
 
struct  zfcp_unit
 
struct  zfcp_scsi_dev
 
struct  zfcp_fsf_req
 

Macros

#define ZFCP_SCSI_ER_TIMEOUT   (10*HZ)
 
#define FSF_QTCB_UNSOLICITED_STATUS   0x6305
 
#define ZFCP_FSF_REQUEST_TIMEOUT   (60*HZ)
 
#define ZFCP_COMMON_FLAGS   0xfff00000
 
#define ZFCP_STATUS_COMMON_RUNNING   0x40000000
 
#define ZFCP_STATUS_COMMON_ERP_FAILED   0x20000000
 
#define ZFCP_STATUS_COMMON_UNBLOCKED   0x10000000
 
#define ZFCP_STATUS_COMMON_OPEN   0x04000000
 
#define ZFCP_STATUS_COMMON_ERP_INUSE   0x01000000
 
#define ZFCP_STATUS_COMMON_ACCESS_DENIED   0x00800000
 
#define ZFCP_STATUS_COMMON_ACCESS_BOXED   0x00400000
 
#define ZFCP_STATUS_COMMON_NOESC   0x00200000
 
#define ZFCP_STATUS_ADAPTER_MB_ACT   0x00000001
 
#define ZFCP_STATUS_ADAPTER_QDIOUP   0x00000002
 
#define ZFCP_STATUS_ADAPTER_SIOSL_ISSUED   0x00000004
 
#define ZFCP_STATUS_ADAPTER_XCONFIG_OK   0x00000008
 
#define ZFCP_STATUS_ADAPTER_HOST_CON_INIT   0x00000010
 
#define ZFCP_STATUS_ADAPTER_SUSPENDED   0x00000040
 
#define ZFCP_STATUS_ADAPTER_ERP_PENDING   0x00000100
 
#define ZFCP_STATUS_ADAPTER_LINK_UNPLUGGED   0x00000200
 
#define ZFCP_STATUS_ADAPTER_DATA_DIV_ENABLED   0x00000400
 
#define ZFCP_STATUS_PORT_PHYS_OPEN   0x00000001
 
#define ZFCP_STATUS_PORT_LINK_TEST   0x00000002
 
#define ZFCP_STATUS_LUN_SHARED   0x00000004
 
#define ZFCP_STATUS_LUN_READONLY   0x00000008
 
#define ZFCP_STATUS_FSFREQ_ERROR   0x00000008
 
#define ZFCP_STATUS_FSFREQ_CLEANUP   0x00000010
 
#define ZFCP_STATUS_FSFREQ_ABORTSUCCEEDED   0x00000040
 
#define ZFCP_STATUS_FSFREQ_ABORTNOTNEEDED   0x00000080
 
#define ZFCP_STATUS_FSFREQ_TMFUNCFAILED   0x00000200
 
#define ZFCP_STATUS_FSFREQ_DISMISSED   0x00001000
 

Macro Definition Documentation

#define FSF_QTCB_UNSOLICITED_STATUS   0x6305

Definition at line 51 of file zfcp_def.h.

#define ZFCP_COMMON_FLAGS   0xfff00000

Definition at line 62 of file zfcp_def.h.

#define ZFCP_FSF_REQUEST_TIMEOUT   (60*HZ)

Definition at line 54 of file zfcp_def.h.

#define ZFCP_SCSI_ER_TIMEOUT   (10*HZ)

Definition at line 46 of file zfcp_def.h.

#define ZFCP_STATUS_ADAPTER_DATA_DIV_ENABLED   0x00000400

Definition at line 83 of file zfcp_def.h.

#define ZFCP_STATUS_ADAPTER_ERP_PENDING   0x00000100

Definition at line 81 of file zfcp_def.h.

#define ZFCP_STATUS_ADAPTER_HOST_CON_INIT   0x00000010

Definition at line 79 of file zfcp_def.h.

#define ZFCP_STATUS_ADAPTER_LINK_UNPLUGGED   0x00000200

Definition at line 82 of file zfcp_def.h.

#define ZFCP_STATUS_ADAPTER_MB_ACT   0x00000001

Definition at line 75 of file zfcp_def.h.

#define ZFCP_STATUS_ADAPTER_QDIOUP   0x00000002

Definition at line 76 of file zfcp_def.h.

#define ZFCP_STATUS_ADAPTER_SIOSL_ISSUED   0x00000004

Definition at line 77 of file zfcp_def.h.

#define ZFCP_STATUS_ADAPTER_SUSPENDED   0x00000040

Definition at line 80 of file zfcp_def.h.

#define ZFCP_STATUS_ADAPTER_XCONFIG_OK   0x00000008

Definition at line 78 of file zfcp_def.h.

#define ZFCP_STATUS_COMMON_ACCESS_BOXED   0x00400000

Definition at line 71 of file zfcp_def.h.

#define ZFCP_STATUS_COMMON_ACCESS_DENIED   0x00800000

Definition at line 70 of file zfcp_def.h.

#define ZFCP_STATUS_COMMON_ERP_FAILED   0x20000000

Definition at line 66 of file zfcp_def.h.

#define ZFCP_STATUS_COMMON_ERP_INUSE   0x01000000

Definition at line 69 of file zfcp_def.h.

#define ZFCP_STATUS_COMMON_NOESC   0x00200000

Definition at line 72 of file zfcp_def.h.

#define ZFCP_STATUS_COMMON_OPEN   0x04000000

Definition at line 68 of file zfcp_def.h.

#define ZFCP_STATUS_COMMON_RUNNING   0x40000000

Definition at line 65 of file zfcp_def.h.

#define ZFCP_STATUS_COMMON_UNBLOCKED   0x10000000

Definition at line 67 of file zfcp_def.h.

#define ZFCP_STATUS_FSFREQ_ABORTNOTNEEDED   0x00000080

Definition at line 97 of file zfcp_def.h.

#define ZFCP_STATUS_FSFREQ_ABORTSUCCEEDED   0x00000040

Definition at line 96 of file zfcp_def.h.

#define ZFCP_STATUS_FSFREQ_CLEANUP   0x00000010

Definition at line 95 of file zfcp_def.h.

#define ZFCP_STATUS_FSFREQ_DISMISSED   0x00001000

Definition at line 99 of file zfcp_def.h.

#define ZFCP_STATUS_FSFREQ_ERROR   0x00000008

Definition at line 94 of file zfcp_def.h.

#define ZFCP_STATUS_FSFREQ_TMFUNCFAILED   0x00000200

Definition at line 98 of file zfcp_def.h.

#define ZFCP_STATUS_LUN_READONLY   0x00000008

Definition at line 91 of file zfcp_def.h.

#define ZFCP_STATUS_LUN_SHARED   0x00000004

Definition at line 90 of file zfcp_def.h.

#define ZFCP_STATUS_PORT_LINK_TEST   0x00000002

Definition at line 87 of file zfcp_def.h.

#define ZFCP_STATUS_PORT_PHYS_OPEN   0x00000001

Definition at line 86 of file zfcp_def.h.