Searched refs:SG_GET_VERSION_NUM (Results 1 – 14 of 14) sorted by relevance
/external/strace/xlat/ |
D | scsi_sg_commands.h | 125 #if defined(SG_GET_VERSION_NUM) || (defined(HAVE_DECL_SG_GET_VERSION_NUM) && HAVE_DECL_SG_GET_VERSI… 127 static_assert((SG_GET_VERSION_NUM) == (0x2282), "SG_GET_VERSION_NUM != 0x2282"); 130 # define SG_GET_VERSION_NUM 0x2282
|
D | scsi_sg_commands.in | 18 SG_GET_VERSION_NUM 0x2282
|
/external/strace/tests-m32/ |
D | ioctl_scsi.c | 93 TEST_NULL_ARG(SG_GET_VERSION_NUM); in main() 124 TEST_RETURNS_INT_BY_PTR(SG_GET_VERSION_NUM, pint); in main()
|
/external/strace/tests-mx32/ |
D | ioctl_scsi.c | 93 TEST_NULL_ARG(SG_GET_VERSION_NUM); in main() 124 TEST_RETURNS_INT_BY_PTR(SG_GET_VERSION_NUM, pint); in main()
|
/external/strace/tests/ |
D | ioctl_scsi.c | 93 TEST_NULL_ARG(SG_GET_VERSION_NUM); in main() 124 TEST_RETURNS_INT_BY_PTR(SG_GET_VERSION_NUM, pint); in main()
|
/external/syzkaller/sys/linux/ |
D | sg_amd64.const | 37 SG_GET_VERSION_NUM = 8834
|
D | sg_ppc64le.const | 37 SG_GET_VERSION_NUM = 8834
|
D | sg_386.const | 37 SG_GET_VERSION_NUM = 8834
|
D | sg_arm.const | 37 SG_GET_VERSION_NUM = 8834
|
D | sg_arm64.const | 37 SG_GET_VERSION_NUM = 8834
|
D | sg.txt | 28 ioctl$SG_GET_VERSION_NUM(fd fd_sg, cmd const[SG_GET_VERSION_NUM], arg ptr[out, int32])
|
/external/strace/ |
D | scsi.c | 162 case SG_GET_VERSION_NUM: in scsi_ioctl()
|
/external/kernel-headers/original/scsi/ |
D | sg.h | 164 #define SG_GET_VERSION_NUM 0x2282 /* Example: version 2.1.34 yields 20134 */ macro
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | scsimain.c | 765 if ((ioctl(sg_fd, SG_GET_VERSION_NUM, &f) >= 0) && (f >= 30000)) { in run_sg_scan_tests() 1503 if ((ioctl(sg_fd, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000)) { in show_scsi_logs() 2279 res = ioctl(infd, SG_GET_VERSION_NUM, &t); in do_scsi_device_read_write() 2341 res = ioctl(outfd, SG_GET_VERSION_NUM, &t); in do_scsi_device_read_write() 2760 if ((ioctl(sg_fd, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000)) { in do_scsi_inquiry() 3697 if ((ioctl(sg_fd, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000)) { in show_scsi_modes() 3867 res = ioctl(sg_fd, SG_GET_VERSION_NUM, &k); in do_scsi_read_buffer() 4174 if ((ioctl(sg_fd, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000)) { in show_scsi_read_capacity() 4449 if ((ioctl(sg_fd, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000)) { in do_scsi_send_diagnostics() 4973 if ((ioctl(sg_fd, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000)) { in do_scsi_test_unit_ready() [all …]
|