Searched refs:descp (Results 1 – 2 of 2) sorted by relevance
303 const unsigned char * descp; in sg_scsi_sense_desc_find() local310 descp = &sbp[8]; in sg_scsi_sense_desc_find()312 descp += desc_len; in sg_scsi_sense_desc_find()313 add_d_len = (k < (add_sb_len - 1)) ? descp[1]: -1; in sg_scsi_sense_desc_find()315 if (descp[0] == desc_type) in sg_scsi_sense_desc_find()316 return descp; in sg_scsi_sense_desc_find()1127 decode_sks(const char * lip, const unsigned char * descp, int add_d_len, in decode_sks() argument1144 (descp[4] & 0x40) ? "Command" : in decode_sks()1146 sg_get_unaligned_be16(descp + 5)); in decode_sks()1147 if (descp[4] & 0x08) { in decode_sks()[all …]
3664 const char *descp; in show_scsi_modes() local3790 descp = NULL; in show_scsi_modes()3792 descp = in show_scsi_modes()3794 if (NULL == descp) in show_scsi_modes()3809 (descp ? descp : ebuff), ucp[1], in show_scsi_modes()3820 (descp ? descp : ebuff), in show_scsi_modes()