Home
last modified time | relevance | path

Searched refs:driver_status (Results 1 – 22 of 22) 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-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/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/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/crosvm/devices/src/virtio/
Dvirtio_pci_common_config.rs33 pub driver_status: u8, field
90 0x14 => self.driver_status, in read_common_config_byte()
98 0x14 => self.driver_status = value, in write_common_config_byte()
263 driver_status: 0xaa, in write_base_regs()
Dvirtio_pci_device.rs206 driver_status: 0, in new()
230 self.common_config.driver_status == ready_bits in is_driver_ready()
231 && self.common_config.driver_status & DEVICE_FAILED as u8 == 0 in is_driver_ready()
/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/tensorflow/tensorflow/compiler/xla/python/tpu_driver/
Drecording_tpu_driver.cc539 auto driver_status = TpuDriverRegistry::Open(worker_config); in RegisterRecordingTpuDriver() local
540 if (!driver_status.ok()) return driver_status.status(); in RegisterRecordingTpuDriver()
541 auto driver = driver_status.ConsumeValueOrDie(); in RegisterRecordingTpuDriver()
/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/autotest/client/cros/power/
Dpower_status.py2307 _, _, _, _, status, host_status, driver_status = \
2313 if driver_status != 0x8: # driver status: SENSE
2314 raise error.TestError('SG_IO driver status: %d' % driver_status)