Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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];
/kernel/linux/linux-5.10/drivers/scsi/
Dlibiscsi.c190 rlen = cmd->cmd_len - ISCSI_CDB_SIZE; in iscsi_prep_ecdb_ahs()
208 memcpy(ecdb_ahdr->ecdb, cmd->cmnd + ISCSI_CDB_SIZE, rlen); in iscsi_prep_ecdb_ahs()
340 if (cmd_len < ISCSI_CDB_SIZE) in iscsi_prep_scsi_cmd_pdu()
341 memset(&hdr->cdb[cmd_len], 0, ISCSI_CDB_SIZE - cmd_len); in iscsi_prep_scsi_cmd_pdu()
342 else if (cmd_len > ISCSI_CDB_SIZE) { in iscsi_prep_scsi_cmd_pdu()
346 cmd_len = ISCSI_CDB_SIZE; in iscsi_prep_scsi_cmd_pdu()