Lines Matching refs:model
252 * if vendor and model are set find the first OPTIONS line in the config
255 * vendor and model can end in '\n'.
257 static int get_file_options(const char *vendor, const char *model,
269 dbg("vendor='%s'; model='%s'\n", vendor, model);
348 " vendor '%s'; model '%s'; options '%s'\n",
351 * Only allow: [vendor=foo[,model=bar]]options=stuff
365 (!model_in || (strncmp(model, model_in,
368 * Matched vendor and optionally model.
374 dbg("matched vendor/model\n");
595 const char *vendor, *model, *type;
604 model = sysfs_attr_get_value(dev_scsi->devpath, "model");
605 if (!model) {
606 info("%s: cannot get model attribute\n", dev_scsi->devpath);
609 set_str(model_str, model, sizeof(model_str)-1);
631 char vendor[8], model[16], type[4], rev[4];
633 retval = scsi_std_inquiry(dev_scsi, path, vendor, model, rev, type);
638 set_str(model_str, model, 16);
722 /* get per device (vendor + model) options from the config file */