Home
last modified time | relevance | path

Searched refs:ISCSI_CDB_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/include/scsi/
Discsi_proto.h116 #define ISCSI_CDB_SIZE 16 macro
130 uint8_t cdb[ISCSI_CDB_SIZE]; /* SCSI Command Block */
160 uint8_t ecdb[SCSI_MAX_VARLEN_CDB_SIZE - ISCSI_CDB_SIZE];
/linux-2.6.39/drivers/scsi/
Dlibiscsi.c215 rlen = cmd->cmd_len - ISCSI_CDB_SIZE; in iscsi_prep_ecdb_ahs()
233 memcpy(ecdb_ahdr->ecdb, cmd->cmnd + ISCSI_CDB_SIZE, rlen); in iscsi_prep_ecdb_ahs()
396 if (cmd_len < ISCSI_CDB_SIZE) in iscsi_prep_scsi_cmd_pdu()
397 memset(&hdr->cdb[cmd_len], 0, ISCSI_CDB_SIZE - cmd_len); in iscsi_prep_scsi_cmd_pdu()
398 else if (cmd_len > ISCSI_CDB_SIZE) { in iscsi_prep_scsi_cmd_pdu()
402 cmd_len = ISCSI_CDB_SIZE; in iscsi_prep_scsi_cmd_pdu()