Home
last modified time | relevance | path

Searched refs:driver_status (Results 1 – 20 of 20) sorted by relevance

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_io_linux.c99 sg_print_driver_status(int driver_status) in sg_print_driver_status() argument
104 driv = driver_status & SG_LIB_DRIVER_MASK; in sg_print_driver_status()
108 sugg = (driver_status & SG_LIB_SUGGEST_MASK) >> 4; in sg_print_driver_status()
112 pr2ws("Driver_status=0x%02x", driver_status); in sg_print_driver_status()
120 int driver_status, const unsigned char * sense_buffer, in sg_linux_sense_print() argument
127 if ((0 == scsi_status) && (0 == host_status) && (0 == driver_status)) in sg_linux_sense_print()
153 if (0 != driver_status) { in sg_linux_sense_print()
155 (SG_LIB_DRIVER_SENSE == (SG_LIB_DRIVER_MASK & driver_status))) in sg_linux_sense_print()
161 sg_print_driver_status(driver_status); in sg_linux_sense_print()
164 (SG_LIB_DRIVER_SENSE == (SG_LIB_DRIVER_MASK & driver_status))) in sg_linux_sense_print()
[all …]
Dsg_pt_linux.c726 int ds = ptp->io_hdr.driver_status; in get_scsi_pt_transport_err_str()
769 int dr_st = ptp->io_hdr.driver_status & SG_LIB_DRIVER_MASK; in get_scsi_pt_result_category()
881 ptp->io_hdr.driver_status = (__u32)v3_hdr.driver_status; in do_scsi_pt_v3()
/external/strace/tests-mx32/
Dioctl_sg_io_v3.c106 sg_io->driver_status, in main()
149 sg_io->driver_status, in main()
214 sg_io->driver_status, in main()
264 sg_io->driver_status, in main()
313 sg_io->driver_status, in main()
362 sg_io->driver_status, in main()
406 sg_io->driver_status, in main()
Dioctl_sg_io_v4.c121 sg_io->driver_status, in main()
220 sg_io->driver_status, in main()
/external/strace/tests/
Dioctl_sg_io_v3.c106 sg_io->driver_status, in main()
149 sg_io->driver_status, in main()
214 sg_io->driver_status, in main()
264 sg_io->driver_status, in main()
313 sg_io->driver_status, in main()
362 sg_io->driver_status, in main()
406 sg_io->driver_status, in main()
Dioctl_sg_io_v4.c121 sg_io->driver_status, in main()
220 sg_io->driver_status, in main()
/external/strace/tests-m32/
Dioctl_sg_io_v3.c106 sg_io->driver_status, in main()
149 sg_io->driver_status, in main()
214 sg_io->driver_status, in main()
264 sg_io->driver_status, in main()
313 sg_io->driver_status, in main()
362 sg_io->driver_status, in main()
406 sg_io->driver_status, in main()
Dioctl_sg_io_v4.c121 sg_io->driver_status, in main()
220 sg_io->driver_status, in main()
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_io_linux.h142 void sg_print_driver_status(int driver_status);
149 int driver_status, const unsigned char * sense_buffer,
166 int sg_err_category(int masked_status, int host_status, int driver_status,
169 int sg_err_category_new(int scsi_status, int host_status, int driver_status,
Dsg_pt_linux.h72 __u32 driver_status; /* [o] 0 -> ok */ member
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dsg_err.h121 extern void sg_print_driver_status(int driver_status);
126 int host_status, int driver_status,
145 int driver_status, const unsigned char * sense_buffer,
149 int driver_status, const unsigned char * sense_buffer,
Dsg_err.c1206 void sg_print_driver_status(int driver_status) in sg_print_driver_status() argument
1210 int dr = driver_status & SG_ERR_DRIVER_MASK; in sg_print_driver_status()
1211 int su = (driver_status & SG_ERR_SUGGEST_MASK) >> 4; in sg_print_driver_status()
1219 fprintf(OUTP, "Driver_status=0x%02x", driver_status); in sg_print_driver_status()
1226 int host_status, int driver_status, in sg_sense_print() argument
1233 if ((0 == scsi_status) && (0 == host_status) && (0 == driver_status)) in sg_sense_print()
1259 if (0 != driver_status) { in sg_sense_print()
1266 sg_print_driver_status(driver_status); in sg_sense_print()
1269 (SG_ERR_DRIVER_SENSE == (0xf & driver_status))) in sg_sense_print()
1279 hp->driver_status, hp->sbp, hp->sb_len_wr); in sg_chk_n_print3()
[all …]
Dscsimain.c800 isghp->host_status, isghp->driver_status, in run_sg_scan_tests()
4686 rsghp->host_status, rsghp->driver_status, in find_out_about_buffer()
5076 sghp->driver_status, sghp->sense_buffer, in do_sg_io()
5086 sghp->host_status, sghp->driver_status, in do_sg_io()
/external/kernel-headers/original/scsi/
Dsg.h65 unsigned short driver_status;/* [o] errors from software driver */ member
233 unsigned int driver_status:8; /* [o] driver status+suggestion */ member
/external/kernel-headers/original/uapi/linux/
Dbsg.h51 __u32 driver_status; /* [o] 0 -> ok */ member
/external/strace/
Dsg_io_v3.c153 PRINT_FIELD_X(", ", sg_io, driver_status); in decode_response()
Dsg_io_v4.c130 PRINT_FIELD_X(", ", sg_io, driver_status); in decode_response()
DChangeLog19914 * sg_io_v4.c (decode_response): Print driver_status, transport_status,
/external/syzkaller/sys/linux/
Dsg.txt68 driver_status const[0, int16]
/external/autotest/client/cros/power/
Dpower_status.py2173 _, _, _, _, status, host_status, driver_status = \
2179 if driver_status != 0x8: # driver status: SENSE
2180 raise error.TestError('SG_IO driver status: %d' % driver_status)