Searched refs:SG_GET_VERSION_NUM (Results 1 – 10 of 10) sorted by relevance
12 if ((ioctl(fd, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000)) {
223 #define SG_GET_VERSION_NUM 0x2282 /* Example: version 2.1.34 yields 20134 */ macro
124 case SG_GET_VERSION_NUM: in bsg_ioctl()
93 - lk 2.2.10 : sg version 2.1.34 [SG_GET_VERSION_NUM ioctl first appeared]
886 case SG_GET_VERSION_NUM: in scsi_ioctl()
1067 case SG_GET_VERSION_NUM: in sg_ioctl_common()
702 rc = blk_ioctl(s->conf.blk, SG_GET_VERSION_NUM, &sg_version); in scsi_generic_realize()
2798 rc = blk_ioctl(s->qdev.conf.blk, SG_GET_VERSION_NUM, &sg_version); in scsi_block_realize()
1016 case SG_GET_VERSION_NUM: in iscsi_ioctl_handle_emulated()
4080 ret = ioctl(s->fd, SG_GET_VERSION_NUM, &sg_version); in hdev_is_sg()