Lines Matching defs:vmt
2953 char vmt[3][33]; /* vendor, model, type */
3071 memset (vmt[i], 0, sizeof(vmt[i]));
3082 ret = fread (vmt[i], 1, sizeof(vmt[i]) - 1, fp);
3094 if (vmt[i][ret - 1] == '\n')
3095 vmt[i][ret - 1] = '\0';
3106 val = strtol (vmt[2], &end, 10);
3111 me, vmt[2], strerror(errno));
3115 if (end == vmt[2])
3117 DBG (1, "%s: no integer found in type string: %s\n", me, vmt[2]);
3127 strncpy(vmt[2], lnxscsi_device_types[val], sizeof(vmt[2]) - 1);
3129 if ((!findvendor || strncmp (vmt[0], findvendor, vmt_len[0]) == 0)
3130 && (!findmodel || strncmp (vmt[1], findmodel, vmt_len[1]) == 0)
3131 && (!findtype || strncmp (vmt[2], findtype, vmt_len[2]) == 0)
3139 me, vmt[0], vmt[1], vmt[2],