ecdb_ahdr 186 drivers/scsi/libiscsi.c struct iscsi_ecdb_ahdr *ecdb_ahdr; ecdb_ahdr 189 drivers/scsi/libiscsi.c ecdb_ahdr = iscsi_next_hdr(task); ecdb_ahdr 192 drivers/scsi/libiscsi.c BUG_ON(rlen > sizeof(ecdb_ahdr->ecdb)); ecdb_ahdr 193 drivers/scsi/libiscsi.c ahslength = rlen + sizeof(ecdb_ahdr->reserved); ecdb_ahdr 197 drivers/scsi/libiscsi.c rc = iscsi_add_hdr(task, sizeof(ecdb_ahdr->ahslength) + ecdb_ahdr 198 drivers/scsi/libiscsi.c sizeof(ecdb_ahdr->ahstype) + ahslength + pad_len); ecdb_ahdr 203 drivers/scsi/libiscsi.c memset(&ecdb_ahdr->ecdb[rlen], 0, pad_len); ecdb_ahdr 205 drivers/scsi/libiscsi.c ecdb_ahdr->ahslength = cpu_to_be16(ahslength); ecdb_ahdr 206 drivers/scsi/libiscsi.c ecdb_ahdr->ahstype = ISCSI_AHSTYPE_CDB; ecdb_ahdr 207 drivers/scsi/libiscsi.c ecdb_ahdr->reserved = 0; ecdb_ahdr 208 drivers/scsi/libiscsi.c memcpy(ecdb_ahdr->ecdb, cmd->cmnd + ISCSI_CDB_SIZE, rlen);