Home
last modified time | relevance | path

Searched refs:SG_GET_VERSION_NUM (Results 1 – 14 of 14) sorted by relevance

/external/strace/xlat/
Dscsi_sg_commands.h125 #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
Dscsi_sg_commands.in18 SG_GET_VERSION_NUM 0x2282
/external/strace/tests-m32/
Dioctl_scsi.c93 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/
Dioctl_scsi.c93 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/
Dioctl_scsi.c93 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/
Dsg_amd64.const37 SG_GET_VERSION_NUM = 8834
Dsg_ppc64le.const37 SG_GET_VERSION_NUM = 8834
Dsg_386.const37 SG_GET_VERSION_NUM = 8834
Dsg_arm.const37 SG_GET_VERSION_NUM = 8834
Dsg_arm64.const37 SG_GET_VERSION_NUM = 8834
Dsg.txt28 ioctl$SG_GET_VERSION_NUM(fd fd_sg, cmd const[SG_GET_VERSION_NUM], arg ptr[out, int32])
/external/strace/
Dscsi.c162 case SG_GET_VERSION_NUM: in scsi_ioctl()
/external/kernel-headers/original/scsi/
Dsg.h164 #define SG_GET_VERSION_NUM 0x2282 /* Example: version 2.1.34 yields 20134 */ macro
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c765 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 …]