Searched refs:hdrlength (Results 1 – 1 of 1) sorted by relevance
308 unsigned hdrlength, cmd_len, transfer_length; in iscsi_prep_scsi_cmd_pdu() local408 hdrlength = task->hdr_len - sizeof(*hdr); in iscsi_prep_scsi_cmd_pdu()410 WARN_ON(hdrlength & (ISCSI_PAD_LEN-1)); in iscsi_prep_scsi_cmd_pdu()411 hdrlength /= ISCSI_PAD_LEN; in iscsi_prep_scsi_cmd_pdu()413 WARN_ON(hdrlength >= 256); in iscsi_prep_scsi_cmd_pdu()414 hdr->hlength = hdrlength & 0xFF; in iscsi_prep_scsi_cmd_pdu()