/third_party/f2fs-tools/tools/sg_write_buffer/ |
D | sg_io_linux.c | 120 int driver_status, const unsigned char * sense_buffer, in sg_linux_sense_print() argument 136 if (sense_buffer && ((scsi_status == SAM_STAT_CHECK_CONDITION) || in sg_linux_sense_print() 139 sg_print_sense(0, sense_buffer, sb_len, raw_sinfo); in sg_linux_sense_print() 163 if (sense_buffer && (! done_sense) && in sg_linux_sense_print() 165 sg_print_sense(0, sense_buffer, sb_len, raw_sinfo); in sg_linux_sense_print() 200 int driver_status, const unsigned char * sense_buffer, in sg_chk_n_print() argument 206 driver_status, sense_buffer, sb_len, in sg_chk_n_print() 221 const unsigned char * sense_buffer, int sb_len) in sg_err_category() argument 226 sense_buffer, sb_len); in sg_err_category() 231 const unsigned char * sense_buffer, int sb_len) in sg_err_category_new() argument [all …]
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | sg_err.c | 1040 void sg_print_sense(const char *leadin, const unsigned char *sense_buffer, in sg_print_sense() argument 1052 sense_class = (sense_buffer[0] >> 4) & 0x07; in sg_print_sense() 1053 code = sense_buffer[0] & 0xf; in sg_print_sense() 1054 valid = sense_buffer[0] & 0x80; in sg_print_sense() 1059 s = sense_buffer[7] + 8; in sg_print_sense() 1089 sense_key = sense_buffer[descriptor_format ? 1 : 2] & 0xf; in sg_print_sense() 1093 sg_print_asc_ascq(sense_buffer[2], sense_buffer[3]); in sg_print_sense() 1098 (int)((sense_buffer[3] << 24) | in sg_print_sense() 1099 (sense_buffer[4] << 16) | (sense_buffer[5] in sg_print_sense() 1101 sense_buffer[6])); in sg_print_sense() [all …]
|
D | sg_err.h | 117 const unsigned char * sense_buffer, int sb_len); 127 const unsigned char * sense_buffer, int sb_len); 145 int driver_status, const unsigned char * sense_buffer, 149 int driver_status, const unsigned char * sense_buffer,
|
D | scsimain.c | 801 isghp->sense_buffer, SG_MAX_SENSE)) in run_sg_scan_tests() 804 if ((isghp->result != 0) || (0 != isghp->sense_buffer[0])) { in run_sg_scan_tests() 807 if (0 != isghp->sense_buffer[0]) in run_sg_scan_tests() 809 isghp->sense_buffer, in run_sg_scan_tests() 833 unsigned char sense_buffer[32]; in sg3_inq() local 839 io_hdr.mx_sb_len = sizeof(sense_buffer); in sg3_inq() 844 io_hdr.sbp = sense_buffer; in sg3_inq() 3840 unsigned char sense_buffer[32]; in do_scsi_read_buffer() local 3889 io_hdr.mx_sb_len = sizeof(sense_buffer); in do_scsi_read_buffer() 3894 io_hdr.sbp = sense_buffer; in do_scsi_read_buffer() [all …]
|
/third_party/f2fs-tools/tools/sg_write_buffer/include/ |
D | sg_io_linux.h | 149 int driver_status, const unsigned char * sense_buffer, 167 const unsigned char * sense_buffer, int sb_len); 170 const unsigned char * sense_buffer, int sb_len);
|
D | sg_lib.h | 241 int sg_get_sense_str(const char * leadin, const unsigned char * sense_buffer, 249 const unsigned char * sense_buffer, 357 void sg_print_sense(const char * leadin, const unsigned char * sense_buffer, 426 int sg_err_category_sense(const unsigned char * sense_buffer, int sb_len);
|
/third_party/musl/include/scsi/ |
D | sg.h | 126 unsigned char sense_buffer[SG_MAX_SENSE]; member
|
/third_party/musl/porting/liteos_m/kernel/include/scsi/ |
D | sg.h | 126 unsigned char sense_buffer[SG_MAX_SENSE]; member
|
/third_party/musl/ndk_musl_include/scsi/ |
D | sg.h | 126 unsigned char sense_buffer[SG_MAX_SENSE]; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/scsi/ |
D | sg.h | 126 unsigned char sense_buffer[SG_MAX_SENSE]; member
|
/third_party/musl/porting/uniproton/kernel/include/scsi/ |
D | sg.h | 126 unsigned char sense_buffer[SG_MAX_SENSE]; member
|