Home
last modified time | relevance | path

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

/linux-6.1.9/include/scsi/
Discsi_proto.h135 #define ISCSI_CDB_SIZE 16 macro
149 uint8_t cdb[ISCSI_CDB_SIZE]; /* SCSI Command Block */
179 uint8_t ecdb[SCSI_MAX_VARLEN_CDB_SIZE - ISCSI_CDB_SIZE];
/linux-6.1.9/drivers/scsi/
Dlibiscsi.c202 rlen = cmd->cmd_len - ISCSI_CDB_SIZE; in iscsi_prep_ecdb_ahs()
220 memcpy(ecdb_ahdr->ecdb, cmd->cmnd + ISCSI_CDB_SIZE, rlen); in iscsi_prep_ecdb_ahs()
352 if (cmd_len < ISCSI_CDB_SIZE) in iscsi_prep_scsi_cmd_pdu()
353 memset(&hdr->cdb[cmd_len], 0, ISCSI_CDB_SIZE - cmd_len); in iscsi_prep_scsi_cmd_pdu()
354 else if (cmd_len > ISCSI_CDB_SIZE) { in iscsi_prep_scsi_cmd_pdu()
358 cmd_len = ISCSI_CDB_SIZE; in iscsi_prep_scsi_cmd_pdu()
/linux-6.1.9/drivers/target/iscsi/
Discsi_target.c1127 memcpy(cdb, hdr->cdb, ISCSI_CDB_SIZE); in iscsit_setup_scsi_cmd()
1128 memcpy(cdb + ISCSI_CDB_SIZE, ecdb_ahdr->ecdb, in iscsit_setup_scsi_cmd()