/systemd-251/src/udev/ata_id/ |
D | ata_id.c | 396 char model[41]; in main() local 484 memcpy(model, id.model, 40); in main() 485 model[40] = '\0'; in main() 486 encode_devnode_name(model, model_enc, sizeof(model_enc)); in main() 487 udev_replace_whitespace((char *) id.model, model, 40); in main() 488 udev_replace_chars(model, NULL); in main() 520 printf("ID_MODEL=%s\n", model); in main() 524 printf("ID_SERIAL=%s_%s\n", model, serial); in main() 527 printf("ID_SERIAL=%s\n", model); in main() 645 printf("%s_%s\n", model, serial); in main() [all …]
|
/systemd-251/src/locale/ |
D | localed.c | 572 static int verify_xkb_rmlvo(const char *model, const char *layout, const char *variant, const char … in verify_xkb_rmlvo() argument 585 .model = model, in verify_xkb_rmlvo() 649 static int verify_xkb_rmlvo(const char *model, const char *layout, const char *variant, const char … in verify_xkb_rmlvo() argument 657 const char *layout, *model, *variant, *options; in method_set_x11_keyboard() local 663 … r = sd_bus_message_read(m, "ssssbb", &layout, &model, &variant, &options, &convert, &interactive); in method_set_x11_keyboard() 668 model = empty_to_null(model); in method_set_x11_keyboard() 679 streq_ptr(model, c->x11_model) && in method_set_x11_keyboard() 685 (model && !string_is_safe(model)) || in method_set_x11_keyboard() 690 r = verify_xkb_rmlvo(model, layout, variant, options); in method_set_x11_keyboard() 693 … strempty(model), strempty(layout), strempty(variant), strempty(options)); in method_set_x11_keyboard() [all …]
|
D | meson.build | 23 kbd_model_map = meson.current_source_dir() / 'kbd-model-map' 27 install_data('kbd-model-map',
|
D | localectl.c | 243 const char *layout, *model, *variant, *options; in set_x11_keymap() local 250 model = argc > 2 ? argv[2] : ""; in set_x11_keymap() 260 "ssssbb", layout, model, variant, options, in set_x11_keymap()
|
D | kbd-model-map | 1 # Originally generated from system-config-keyboard's model list.
|
/systemd-251/hwdb.d/ |
D | meson.build | 9 '20-pci-vendor-model.hwdb', 11 '20-usb-vendor-model.hwdb', 13 '20-sdio-vendor-model.hwdb',
|
D | 80-ieee1394-unit-function.hwdb | 14 # The customized key has two formats according to whether the node has model attribute: 202 # The value of model field differs depending on firmware. 317 # An extension card for Mackie d.2. Mackie d.2 Pro is preinstalled model. 474 # DSP model (Texus Instruments TMS320C67) and FPGA model (Xilinx Spartan XC35250E) exists. 478 # Match to DSP model of AudioFire8. 494 # DSP model. 502 # DSP model. 510 # FPGA model. 518 # FPGA model. 526 # Match to FPGA model of AudioFire8, and AudioFirePre8. [all …]
|
D | 70-pointingstick.hwdb | 3 # Pointingstick const-accel configuration, to make different brand / model 4 # laptop pointingsticks have the same speed / feel, and per model adjustment 76 # Sort by brand, model
|
D | 60-autosuspend.hwdb | 39 # Sort by brand, model
|
D | 60-input-id.hwdb | 52 # Sort by brand, model
|
/systemd-251/src/mount/ |
D | mount-tool.c | 1072 const char *model; in get_model() local 1076 if (sd_device_get_property_value(d, "ID_MODEL_FROM_DATABASE", &model) >= 0) in get_model() 1077 return model; in get_model() 1079 if (sd_device_get_property_value(d, "ID_MODEL", &model) >= 0) in get_model() 1080 return model; in get_model() 1166 const char *model, *label; in acquire_description() local 1171 model = get_model(d); in acquire_description() 1177 if (model && label) in acquire_description() 1178 arg_description = strjoin(model, " ", label); in acquire_description() 1181 else if (model) in acquire_description() [all …]
|
/systemd-251/src/udev/scsi_id/ |
D | scsi_id.c | 101 static int get_file_options(const char *vendor, const char *model, in get_file_options() argument 180 (!model_in || startswith(model, model_in))) { in get_file_options() 379 encode_devnode_name(dev_scsi->model, model_enc_str, sizeof(model_enc_str)); in set_inq_values() 383 udev_replace_whitespace(dev_scsi->model, model_str, sizeof(model_str)-1); in set_inq_values()
|
D | scsi_serial.c | 409 if (strnlen(dev_scsi->model, MODEL_LENGTH) != MODEL_LENGTH) in append_vendor_model() 412 dev_scsi->kernel, dev_scsi->model); in append_vendor_model() 414 memcpy(buf + VENDOR_LENGTH, dev_scsi->model, MODEL_LENGTH); in append_vendor_model() 772 memcpy(dev_scsi->model, buf + 16, 16); in scsi_std_inquiry() 773 dev_scsi->model[16] = '\0'; in scsi_std_inquiry()
|
D | scsi_id.h | 30 char model[17]; member
|
/systemd-251/test/fuzz/fuzz-udev-rules/ |
D | 60-persistent-storage.rules | 24 KERNEL=="nvme*[0-9]n*[0-9]", ENV{DEVTYPE}=="disk", ATTRS{model}=="?*", ENV{ID_MODEL}="$attr{model}" 30 …e*[0-9]n*[0-9]p*[0-9]", ENV{DEVTYPE}=="partition", ATTRS{model}=="?*", ENV{ID_MODEL}="$attr{model}"
|
D | 78-sound-card.rules | 46 ENV{ID_VENDOR_ID}="$attr{vendor}", ENV{ID_MODEL_ID}="$attr{model}", \ 80 # Matching on the model strings is a bit ugly, I admit
|
/systemd-251/rules.d/ |
D | 50-udev-default.rules.in | 57 SUBSYSTEM=="firewire", TEST=="units", TEST=="model", \ 58 IMPORT{builtin}="hwdb 'ieee1394:node:ven$attr{vendor}mo$attr{model}units$attr{units}'" 60 SUBSYSTEM=="firewire", TEST=="units", TEST!="model", \
|
D | 60-persistent-storage.rules | 38 KERNEL=="nvme*[0-9]n*[0-9]", ENV{DEVTYPE}=="disk", ATTRS{model}=="?*", ENV{ID_MODEL}="$attr{model}" 44 …e*[0-9]n*[0-9]p*[0-9]", ENV{DEVTYPE}=="partition", ATTRS{model}=="?*", ENV{ID_MODEL}="$attr{model}"
|
D | 78-sound-card.rules | 46 ENV{ID_VENDOR_ID}="$attr{vendor}", ENV{ID_MODEL_ID}="$attr{model}", \ 80 # Matching on the model strings is a bit ugly, I admit
|
/systemd-251/src/core/ |
D | device.c | 371 const char *model, *label, *desc; in device_update_description() local 380 (sd_device_get_property_value(dev, "ID_MODEL_FROM_DATABASE", &model) >= 0 || in device_update_description() 381 sd_device_get_property_value(dev, "ID_MODEL", &model) >= 0)) { in device_update_description() 382 desc = model; in device_update_description() 389 desc = j = strjoin(model, " ", label); in device_update_description()
|
/systemd-251/src/udev/ |
D | udev-builtin-net_id.c | 543 unsigned model, instance, ethid; in names_platform() local 584 r = sscanf(syspath, pattern, vendor, &model, &instance, ðid); in names_platform() 597 xsprintf(names->platform_path, "a%s%xi%u", vendor, model, instance); in names_platform() 600 vendor, model, instance, names->platform_path); in names_platform()
|
/systemd-251/src/network/ |
D | networkd-json.c | 478 const char *link = NULL, *path = NULL, *vendor = NULL, *model = NULL; in device_build_json() local 493 if (sd_device_get_property_value(device, "ID_MODEL_FROM_DATABASE", &model) < 0) in device_build_json() 494 (void) sd_device_get_property_value(device, "ID_MODEL", &model); in device_build_json() 500 JSON_BUILD_PAIR_STRING_NON_EMPTY("Model", model))); in device_build_json()
|
/systemd-251/src/hostname/ |
D | hostnamed.c | 1159 … *chassis = NULL, *vendor = NULL, *model = NULL, *serial = NULL, *firmware_version = NULL; in method_describe() local 1216 (void) get_hardware_model(&model); in method_describe() 1242 … JSON_BUILD_PAIR("HardwareModel", JSON_BUILD_STRING(model ?: c->data[PROP_HARDWARE_MODEL])), in method_describe()
|
/systemd-251/test/test-keymap-util/ |
D | kbd-model-map | 1 # Originally generated from system-config-keyboard's model list.
|
/systemd-251/src/shared/ |
D | pkcs11-util.c | 170 t = strndup((char*) token_info->model, sizeof(token_info->model)); in pkcs11_token_model()
|