Lines Matching defs:ibuf
2847 struct inquiry_standard_data ibuf;
2871 memset (&ibuf, 0, sizeof (ibuf));
2872 ibuf.devtype = 6;
2873 memcpy(ibuf.vendor, "**FAKE**", 8);
2874 memcpy(ibuf.product, "COPISCAN II 6338", 16);
2875 memcpy(ibuf.revision, "0016", 4);
2879 ibuf.devtype, ibuf.vendor,
2880 ibuf.product, ibuf.revision);
2907 memset (&ibuf, 0, sizeof (ibuf));
2908 buf_size = sizeof(ibuf);
2909 status = inquiry (fd, &ibuf, &buf_size, 0,
2921 ibuf.devtype, ibuf.vendor,
2922 ibuf.product, ibuf.revision);
2924 if (ibuf.devtype != 6
2925 || strncmp ((char *)ibuf.vendor, "B&H SCSI", 8) != 0
2926 || strncmp ((char *)ibuf.product, "COPISCAN ", 9) != 0)
2969 dev->info.devtype = ibuf.devtype;
2970 sprintf(dev->info.vendor, "%.8s", ibuf.vendor);
2972 sprintf(dev->info.product, "%.16s", ibuf.product);
2974 sprintf(dev->info.revision, "%.4s", ibuf.revision);