Home
last modified time | relevance | path

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

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_basic.c190 int got, cat, duration, slen, resid, resp_code, sstat; in sg_cmds_process_resp() local
229 resp_code = sbp[0] & 0x7f; in sg_cmds_process_resp()
231 if (resp_code >= 0x70) { in sg_cmds_process_resp()
232 if (resp_code < 0x72) { in sg_cmds_process_resp()
235 } else if (resp_code < 0x74) { in sg_cmds_process_resp()
Dsg_lib.c1617 uint8_t resp_code; in sg_get_sense_str() local
1637 resp_code = 0x7f & sbp[0]; in sg_get_sense_str()
1788 if (0x7f == resp_code) { /* Vendor specific */ in sg_get_sense_str()
1949 uint8_t resp_code; in sg_scsi_normalize_sense() local
1954 resp_code = 0x7f & sbp[0]; in sg_scsi_normalize_sense()
1955 if ((resp_code < 0x70) || (resp_code > 0x73)) in sg_scsi_normalize_sense()
1958 sshp->response_code = resp_code; in sg_scsi_normalize_sense()
Dsg_cmds_extra.c1179 int resp_code; in has_blk_ili() local
1184 resp_code = (0x7f & sensep[0]); in has_blk_ili()
1185 if (resp_code >= 0x72) { /* descriptor format */ in has_blk_ili()