Linux Kernel
3.7.1
|
#include <linux/in.h>
#include <linux/configfs.h>
#include <linux/dma-mapping.h>
#include <linux/blkdev.h>
#include <scsi/scsi_cmnd.h>
#include <net/sock.h>
#include <net/tcp.h>
Go to the source code of this file.
Data Structures | |
struct | se_obj |
struct | t10_alua |
struct | t10_alua_lu_gp |
struct | t10_alua_lu_gp_member |
struct | t10_alua_tg_pt_gp |
struct | t10_alua_tg_pt_gp_member |
struct | t10_vpd |
struct | t10_wwn |
struct | t10_pr_registration |
struct | t10_reservation_ops |
struct | t10_reservation |
struct | se_tmr_req |
struct | se_cmd |
struct | se_ua |
struct | se_node_acl |
struct | se_session |
struct | se_ml_stat_grps |
struct | se_lun_acl |
struct | se_dev_entry |
struct | se_dev_limits |
struct | se_dev_attrib |
struct | se_dev_stat_grps |
struct | se_subsystem_dev |
struct | se_device |
struct | se_hba |
struct | se_port_stat_grps |
struct | se_lun |
struct | scsi_port_stats |
struct | se_port |
struct | se_tpg_np |
struct | se_portal_group |
struct | se_wwn |
#define ALUA_MD_BUF_LEN 1024 |
Definition at line 331 of file target_core_base.h.
#define CMD_T_ABORTED (1 << 0) |
Definition at line 534 of file target_core_base.h.
#define CMD_T_ACTIVE (1 << 1) |
Definition at line 535 of file target_core_base.h.
#define CMD_T_BUSY (1 << 11) |
Definition at line 545 of file target_core_base.h.
#define CMD_T_COMPLETE (1 << 2) |
Definition at line 536 of file target_core_base.h.
#define CMD_T_DEV_ACTIVE (1 << 9) |
Definition at line 543 of file target_core_base.h.
#define CMD_T_FAILED (1 << 6) |
Definition at line 540 of file target_core_base.h.
#define CMD_T_LUN_FE_STOP (1 << 8) |
Definition at line 542 of file target_core_base.h.
#define CMD_T_LUN_STOP (1 << 7) |
Definition at line 541 of file target_core_base.h.
#define CMD_T_QUEUED (1 << 3) |
Definition at line 537 of file target_core_base.h.
#define CMD_T_REQUEST_STOP (1 << 10) |
Definition at line 544 of file target_core_base.h.
#define CMD_T_SENT (1 << 4) |
Definition at line 538 of file target_core_base.h.
#define CMD_T_STOP (1 << 5) |
Definition at line 539 of file target_core_base.h.
#define DA_EMULATE_ALUA 0 |
Definition at line 112 of file target_core_base.h.
#define DA_EMULATE_DPO 0 |
Definition at line 91 of file target_core_base.h.
#define DA_EMULATE_FUA_READ 0 |
Definition at line 95 of file target_core_base.h.
#define DA_EMULATE_FUA_WRITE 1 |
Definition at line 93 of file target_core_base.h.
#define DA_EMULATE_RESERVATIONS 0 |
Definition at line 110 of file target_core_base.h.
#define DA_EMULATE_REST_REORD 0 |
Definition at line 120 of file target_core_base.h.
#define DA_EMULATE_TAS 1 |
Definition at line 101 of file target_core_base.h.
#define DA_EMULATE_TPU 0 |
Definition at line 103 of file target_core_base.h.
#define DA_EMULATE_TPWS 0 |
Definition at line 108 of file target_core_base.h.
#define DA_EMULATE_UA_INTLLCK_CTRL 0 |
Definition at line 99 of file target_core_base.h.
#define DA_EMULATE_WRITE_CACHE 0 |
Definition at line 97 of file target_core_base.h.
#define DA_ENFORCE_PR_ISIDS 1 |
Definition at line 114 of file target_core_base.h.
#define DA_FABRIC_MAX_SECTORS 8192 |
Definition at line 89 of file target_core_base.h.
#define DA_IS_NONROT 0 |
Definition at line 118 of file target_core_base.h.
#define DA_MAX_UNMAP_BLOCK_DESC_COUNT 0 |
Definition at line 83 of file target_core_base.h.
#define DA_MAX_UNMAP_LBA_COUNT 0 |
Definition at line 81 of file target_core_base.h.
#define DA_STATUS_MAX_SECTORS_MAX 8192 |
Definition at line 116 of file target_core_base.h.
#define DA_STATUS_MAX_SECTORS_MIN 16 |
Definition at line 115 of file target_core_base.h.
#define DA_UNMAP_GRANULARITY_ALIGNMENT_DEFAULT 0 |
Definition at line 87 of file target_core_base.h.
#define DA_UNMAP_GRANULARITY_DEFAULT 0 |
Definition at line 85 of file target_core_base.h.
#define DF_SPC2_RESERVATIONS 0x00000001 |
Definition at line 76 of file target_core_base.h.
#define DF_SPC2_RESERVATIONS_WITH_ISID 0x00000002 |
Definition at line 77 of file target_core_base.h.
#define INQUIRY_LEN 36 |
Definition at line 52 of file target_core_base.h.
#define INQUIRY_VPD_DEVICE_IDENTIFIER_LEN 254 |
Definition at line 56 of file target_core_base.h.
#define INQUIRY_VPD_SERIAL_LEN 254 |
Definition at line 54 of file target_core_base.h.
#define LU_GROUP_NAME_BUF 256 |
Definition at line 43 of file target_core_base.h.
#define PR_APTPL_BUF_LEN 8192 |
Definition at line 446 of file target_core_base.h.
#define PR_APTPL_MAX_IPORT_LEN 256 |
Definition at line 393 of file target_core_base.h.
#define PR_APTPL_MAX_TPORT_LEN 256 |
Definition at line 396 of file target_core_base.h.
#define PR_REG_ISID_ID_LEN (PR_REG_ISID_LEN + 5) |
Definition at line 390 of file target_core_base.h.
#define PR_REG_ISID_LEN 16 |
Definition at line 388 of file target_core_base.h.
#define PYX_TRANSPORT_STATUS_INTERVAL 5 /* In seconds */ |
Definition at line 63 of file target_core_base.h.
#define PYX_TRANSPORT_WINDOW_CLOSED_THRESHOLD 3 |
Definition at line 59 of file target_core_base.h.
#define PYX_TRANSPORT_WINDOW_CLOSED_WAIT_LONG 10 /* In milliseconds */ |
Definition at line 61 of file target_core_base.h.
#define PYX_TRANSPORT_WINDOW_CLOSED_WAIT_SHORT 3 /* In milliseconds */ |
Definition at line 60 of file target_core_base.h.
#define READ_BLOCK_LEN 6 |
Definition at line 49 of file target_core_base.h.
#define READ_CAP_LEN 8 |
Definition at line 50 of file target_core_base.h.
#define READ_POSITION_LEN 20 |
Definition at line 51 of file target_core_base.h.
#define SDF_EMULATED_VPD_UNIT_SERIAL 0x00000002 |
Definition at line 69 of file target_core_base.h.
#define SDF_FIRMWARE_VPD_UNIT_SERIAL 0x00000001 |
Definition at line 68 of file target_core_base.h.
#define SDF_USING_ALIAS 0x00000008 |
Definition at line 71 of file target_core_base.h.
#define SDF_USING_UDEV_PATH 0x00000004 |
Definition at line 70 of file target_core_base.h.
#define SE_DEV_ALIAS_LEN 512 |
Definition at line 712 of file target_core_base.h.
#define SE_INQUIRY_BUF 512 |
Definition at line 122 of file target_core_base.h.
#define SE_MODE_PAGE_BUF 512 |
Definition at line 123 of file target_core_base.h.
#define SE_SENSE_BUF 96 |
Definition at line 124 of file target_core_base.h.
#define SE_UDEV_PATH_LEN 512 |
Definition at line 715 of file target_core_base.h.
#define SPC_ADD_SENSE_LEN_OFFSET 7 |
Definition at line 38 of file target_core_base.h.
#define SPC_ASC_KEY_OFFSET 12 |
Definition at line 39 of file target_core_base.h.
#define SPC_ASCQ_KEY_OFFSET 13 |
Definition at line 40 of file target_core_base.h.
#define SPC_SENSE_KEY_OFFSET 2 |
Definition at line 37 of file target_core_base.h.
#define TARGET_CORE_MOD_VERSION "v4.1.0-rc2-ml" |
Definition at line 12 of file target_core_base.h.
#define TARGET_CORE_VERSION TARGET_CORE_MOD_VERSION |
Definition at line 13 of file target_core_base.h.
#define TCM_MAX_COMMAND_SIZE 32 |
Definition at line 30 of file target_core_base.h.
#define TG_PT_GROUP_NAME_BUF 256 |
Definition at line 45 of file target_core_base.h.
#define TRANSPORT_IQN_LEN 224 |
Definition at line 41 of file target_core_base.h.
#define TRANSPORT_MAX_LUNS_PER_TPG 256 |
Definition at line 17 of file target_core_base.h.
#define TRANSPORT_SENSE_BUFFER SCSI_SENSE_BUFFERSIZE |
Definition at line 35 of file target_core_base.h.
#define VPD_TMP_BUF_SIZE 128 |
Definition at line 47 of file target_core_base.h.
enum hba_flags_table |
Definition at line 127 of file target_core_base.h.
enum scsi_index_t |
Definition at line 276 of file target_core_base.h.
enum se_cmd_flags_table |
Definition at line 157 of file target_core_base.h.
enum t10_alua_index_t |
Definition at line 257 of file target_core_base.h.
Definition at line 380 of file target_core_base.h.
Definition at line 267 of file target_core_base.h.
Definition at line 219 of file target_core_base.h.
Definition at line 199 of file target_core_base.h.
enum tcm_tmreq_table |
TMR_ABORT_TASK | |
TMR_ABORT_TASK_SET | |
TMR_CLEAR_ACA | |
TMR_CLEAR_TASK_SET | |
TMR_LUN_RESET | |
TMR_TARGET_WARM_RESET | |
TMR_TARGET_COLD_RESET | |
TMR_FABRIC_TMR |
Definition at line 226 of file target_core_base.h.
enum tcm_tmrsp_table |
Definition at line 238 of file target_core_base.h.
TRANSPORT_DEVICE_ACTIVATED | |
TRANSPORT_DEVICE_DEACTIVATED | |
TRANSPORT_DEVICE_QUEUE_FULL | |
TRANSPORT_DEVICE_SHUTDOWN | |
TRANSPORT_DEVICE_OFFLINE_ACTIVATED | |
TRANSPORT_DEVICE_OFFLINE_DEACTIVATED |
Definition at line 186 of file target_core_base.h.
Definition at line 133 of file target_core_base.h.
TRANSPORT_LUNFLAGS_NO_ACCESS | |
TRANSPORT_LUNFLAGS_INITIATOR_ACCESS | |
TRANSPORT_LUNFLAGS_READ_ONLY | |
TRANSPORT_LUNFLAGS_READ_WRITE |
Definition at line 178 of file target_core_base.h.
TRANSPORT_NO_STATE | |
TRANSPORT_NEW_CMD | |
TRANSPORT_WRITE_PENDING | |
TRANSPORT_PROCESSING | |
TRANSPORT_COMPLETE | |
TRANSPORT_ISTATE_PROCESSING | |
TRANSPORT_COMPLETE_QF_WP | |
TRANSPORT_COMPLETE_QF_OK |
Definition at line 145 of file target_core_base.h.
Definition at line 139 of file target_core_base.h.