Lines Matching refs:strncmp
62 if (strncmp("SONY", (const char *)&dev->d_inq[8], 4) == 0) { in is_old_sun_drive()
63 if (strncmp("CDU 561", (const char *)&dev->d_inq[16], 7) == 0) in is_old_sun_drive()
65 if (strncmp("CDU-8012", (const char *)&dev->d_inq[16], 8) == 0) in is_old_sun_drive()
69 if ((strncmp("TOSHIBA", (const char *)&dev->d_inq[8], 7) == 0) && in is_old_sun_drive()
70 (strncmp("XM", (const char *)&dev->d_inq[16], 2) == 0)) { in is_old_sun_drive()
75 if (strncmp("SUN32XCD", (const char *)&dev->d_inq[24], 8) == 0) in is_old_sun_drive()
118 if ((strncmp(devnode, "/devices/", 9) != 0) && in get_device()
119 (strncmp(devnode, "/vol/dev/rdsk", 13) != 0)) in get_device()
177 if ((strncmp("LITE-ON", (const char *)&dev->d_inq[8], 7) == 0) && in get_device()
178 (strncmp("LTR-48", (const char *)&dev->d_inq[16], 6) == 0)) { in get_device()
189 if ((strncmp("LITE-ON", (const char *)&dev->d_inq[8], 7) == 0) && in get_device()
190 (strncmp("COMBO SOHC-4836VS", in get_device()
469 if (fd < 0 && ((strncmp(supplied, "/dev/rdsk/", 10) == 0) || in lookup_device()
470 (strncmp(supplied, "/dev/removable-media/rdsk/", 26) == 0))) in lookup_device()
473 if ((strncmp(supplied, "/dev/dsk/", 9) == 0) || in lookup_device()
474 (strncmp(supplied, "/dev/removable-media/dsk/", 25) == 0)) { in lookup_device()
487 if ((strncmp(supplied, "cdrom", 5) != 0) && in lookup_device()