Searched refs:model_str (Results 1 - 2 of 2) sorted by relevance

/systemd/src/udev/
H A Dudev-builtin-usb_id.c238 char model_str[64] = ""; local
345 util_replace_whitespace(scsi_model, model_str, sizeof(model_str)-1);
346 util_replace_chars(model_str, NULL);
392 if (model_str[0] == '\0') {
401 util_replace_whitespace(usb_model, model_str, sizeof(model_str)-1);
402 util_replace_chars(model_str, NULL);
437 l = strpcpyl(&s, sizeof(serial), vendor_str, "_", model_str, NULL);
447 udev_builtin_add_property(dev, test, "ID_MODEL", model_str);
[all...]
/systemd/src/udev/scsi_id/
H A Dscsi_id.c63 static char model_str[64]; variable
427 retval = get_file_options(udev, vendor_str, model_str, &newargc, &newargv);
486 util_replace_whitespace(dev_scsi->model, model_str, sizeof(model_str));
487 util_replace_chars(model_str, NULL);
526 printf("ID_MODEL=%s\n", model_str);

Completed in 1683 milliseconds