Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/
H A Dscsi_common.c250 int add_sen_len, add_len, desc_len, k; in scsi_sense_desc_find() local
253 if ((sb_len < 8) || (0 == (add_sen_len = sense_buffer[7]))) in scsi_sense_desc_find()
257 add_sen_len = (add_sen_len < (sb_len - 8)) ? in scsi_sense_desc_find()
258 add_sen_len : (sb_len - 8); in scsi_sense_desc_find()
260 for (desc_len = 0, k = 0; k < add_sen_len; k += desc_len) { in scsi_sense_desc_find()
262 add_len = (k < (add_sen_len - 1)) ? descp[1]: -1; in scsi_sense_desc_find()