Home
last modified time | relevance | path

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

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_io_linux.c120 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 …]
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dsg_err.c1040 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 …]
Dsg_err.h117 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,
Dscsimain.c801 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 …]
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_io_linux.h149 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);
Dsg_lib.h241 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);
/external/kernel-headers/original/uapi/linux/
Dtarget_core_user.h125 char sense_buffer[TCMU_SENSE_BUFFERSIZE]; member
/external/kernel-headers/original/scsi/
Dsg.h235 unsigned char sense_buffer[SG_MAX_SENSE]; /* [o] Output in 3 cases: member