Home
last modified time | relevance | path

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

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_lib.c303 const unsigned char * descp; in sg_scsi_sense_desc_find() local
310 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() argument
1144 (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 …]
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c3664 const char *descp; in show_scsi_modes() local
3790 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()