Searched refs:SG_EMULATED_HOST (Results 1 – 8 of 8) sorted by relevance
20 #if defined(SG_EMULATED_HOST) || (defined(HAVE_DECL_SG_EMULATED_HOST) && HAVE_DECL_SG_EMULATED_HOST)22 static_assert((SG_EMULATED_HOST) == (0x2203), "SG_EMULATED_HOST != 0x2203");25 # define SG_EMULATED_HOST 0x2203
3 SG_EMULATED_HOST 0x2203
79 TEST_NULL_ARG(SG_EMULATED_HOST); in main()114 TEST_RETURNS_INT_BY_PTR(SG_EMULATED_HOST, pint); in main()
152 case SG_EMULATED_HOST: in scsi_ioctl()
163 #define SG_EMULATED_HOST 0x2203 /* true for emulated host adapter (ATAPI) */ macro
718 #ifdef SG_EMULATED_HOST in run_sg_scan_tests()719 res = ioctl(sg_fd, SG_EMULATED_HOST, &emul); in run_sg_scan_tests()