Searched refs:model_str (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/udev/ |
D | udev-builtin-usb_id.c | 231 char model_str[64] = ""; in builtin_usb_id() local 340 udev_replace_whitespace(scsi_model, model_str, sizeof(model_str)-1); in builtin_usb_id() 341 udev_replace_chars(model_str, NULL); in builtin_usb_id() 385 if (model_str[0] == '\0') { in builtin_usb_id() 391 udev_replace_whitespace(usb_model, model_str, sizeof(model_str)-1); in builtin_usb_id() 392 udev_replace_chars(model_str, NULL); in builtin_usb_id() 423 l = strpcpyl(&s, sizeof(serial), vendor_str, "_", model_str, NULL); in builtin_usb_id() 433 udev_builtin_add_property(dev, test, "ID_MODEL", model_str); in builtin_usb_id()
|
/systemd-251/src/udev/scsi_id/ |
D | scsi_id.c | 54 static char model_str[64]; variable 329 retval = get_file_options(vendor_str, model_str, &newargc, &newargv); in per_dev_options() 383 udev_replace_whitespace(dev_scsi->model, model_str, sizeof(model_str)-1); in set_inq_values() 384 udev_replace_chars(model_str, NULL); in set_inq_values() 422 printf("ID_MODEL=%s\n", model_str); in scsi_id()
|