Searched refs:scsi_status (Results 1 – 7 of 7) sorted by relevance
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_io_linux.c | 50 int scsi_status = (masked_status << 1) & 0x7e; in sg_print_masked_status() local 52 sg_print_scsi_status(scsi_status); in sg_print_masked_status() 119 sg_linux_sense_print(const char * leadin, int scsi_status, int host_status, in sg_linux_sense_print() argument 126 scsi_status &= 0x7e; /*sanity */ in sg_linux_sense_print() 127 if ((0 == scsi_status) && (0 == host_status) && (0 == driver_status)) in sg_linux_sense_print() 129 if (0 != scsi_status) { in sg_linux_sense_print() 134 sg_print_scsi_status(scsi_status); in sg_linux_sense_print() 136 if (sense_buffer && ((scsi_status == SAM_STAT_CHECK_CONDITION) || in sg_linux_sense_print() 137 (scsi_status == SAM_STAT_COMMAND_TERMINATED))) { in sg_linux_sense_print() 203 int scsi_status = (masked_status << 1) & 0x7e; in sg_chk_n_print() local [all …]
|
D | sg_lib.c | 169 sg_get_scsi_status_str(int scsi_status, int buff_len, char * buff) in sg_get_scsi_status_str() argument 180 scsi_status &= 0x7e; /* sanitize as much as possible */ in sg_get_scsi_status_str() 181 switch (scsi_status) { in sg_get_scsi_status_str() 198 scnpr(buff, buff_len, "Unknown status [0x%x]", scsi_status); in sg_get_scsi_status_str() 204 sg_print_scsi_status(int scsi_status) in sg_print_scsi_status() argument 208 sg_get_scsi_status_str(scsi_status, sizeof(buff) - 1, buff); in sg_print_scsi_status()
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | sg_err.c | 170 int scsi_status = (masked_status << 1) & 0x7e; in sg_print_status() local 172 sg_print_scsi_status(scsi_status); in sg_print_status() 175 void sg_print_scsi_status(int scsi_status) in sg_print_scsi_status() argument 179 scsi_status &= 0x7e; /* sanitize as much as possible */ in sg_print_scsi_status() 180 switch (scsi_status) { in sg_print_scsi_status() 1225 static int sg_sense_print(const char *leadin, int scsi_status, in sg_sense_print() argument 1232 scsi_status &= 0x7e; /*sanity */ in sg_sense_print() 1233 if ((0 == scsi_status) && (0 == host_status) && (0 == driver_status)) in sg_sense_print() 1235 if (0 != scsi_status) { in sg_sense_print() 1240 sg_print_scsi_status(scsi_status); in sg_sense_print() [all …]
|
D | sg_err.h | 119 extern void sg_print_scsi_status(int scsi_status); 148 extern int sg_err_category_new(int scsi_status, int host_status,
|
/external/f2fs-tools/tools/sg_write_buffer/include/ |
D | sg_lib.h | 158 void sg_get_scsi_status_str(int scsi_status, int buff_len, char * buff); 352 void sg_print_scsi_status(int scsi_status);
|
D | sg_io_linux.h | 169 int sg_err_category_new(int scsi_status, int host_status, int driver_status,
|
/external/kernel-headers/original/uapi/linux/ |
D | target_core_user.h | 118 __u8 scsi_status; member
|