Home
last modified time | relevance | path

Searched refs:sd_device_get_property_value (Results 1 – 25 of 35) sorted by relevance

12

/systemd-251/src/shared/
Dfind-esp.c161 r = sd_device_get_property_value(d, "ID_FS_TYPE", &v); in verify_esp_udev()
169 r = sd_device_get_property_value(d, "ID_PART_ENTRY_SCHEME", &v); in verify_esp_udev()
177 r = sd_device_get_property_value(d, "ID_PART_ENTRY_TYPE", &v); in verify_esp_udev()
185 r = sd_device_get_property_value(d, "ID_PART_ENTRY_UUID", &v); in verify_esp_udev()
192 r = sd_device_get_property_value(d, "ID_PART_ENTRY_NUMBER", &v); in verify_esp_udev()
199 r = sd_device_get_property_value(d, "ID_PART_ENTRY_OFFSET", &v); in verify_esp_udev()
206 r = sd_device_get_property_value(d, "ID_PART_ENTRY_SIZE", &v); in verify_esp_udev()
565 r = sd_device_get_property_value(d, "ID_PART_ENTRY_SCHEME", &v); in verify_xbootldr_udev()
571 r = sd_device_get_property_value(d, "ID_PART_ENTRY_TYPE", &v); in verify_xbootldr_udev()
579 r = sd_device_get_property_value(d, "ID_PART_ENTRY_UUID", &v); in verify_xbootldr_udev()
[all …]
Dnet-condition.c110 sd_device_get_property_value(device, key, &dev_val) >= 0 && in net_condition_test_property()
143 (void) sd_device_get_property_value(device, "ID_PATH", &path); in net_match_config()
Dnetif-util.c63 if (sd_device_get_property_value(device, field, &name) >= 0) in net_get_persistent_name()
Ddevnode-acl.c177 if (sd_device_get_property_value(d, "ID_SEAT", &sn) < 0 || isempty(sn)) in devnode_acl_all()
/systemd-251/src/mount/
Dmount-tool.c937 r = sd_device_get_property_value(d, "ID_FS_USAGE", &v); in umount_by_device()
945 if (sd_device_get_property_value(d, "SYSTEMD_MOUNT_WHERE", &v) >= 0) in umount_by_device()
1041 if (sd_device_get_property_value(d, "ID_FS_TYPE", &v) < 0) in acquire_mount_type()
1060 if (sd_device_get_property_value(d, "SYSTEMD_MOUNT_OPTIONS", &v) < 0) in acquire_mount_options()
1076 if (sd_device_get_property_value(d, "ID_MODEL_FROM_DATABASE", &model) >= 0) in get_model()
1079 if (sd_device_get_property_value(d, "ID_MODEL", &model) >= 0) in get_model()
1090 if (sd_device_get_property_value(d, "ID_FS_LABEL", &label) >= 0) in get_label()
1093 if (sd_device_get_property_value(d, "ID_PART_ENTRY_NAME", &label) >= 0) in get_label()
1105 if (sd_device_get_property_value(d, "SYSTEMD_MOUNT_WHERE", &v) < 0) { in acquire_mount_where()
1175 (void) sd_device_get_property_value(d, "ID_PART_ENTRY_NUMBER", &label); in acquire_description()
[all …]
/systemd-251/src/udev/net/
Dlink-config.c761 … (void) sd_device_get_property_value(device, "ID_NET_NAME_FROM_DATABASE", &new_name); in link_generate_new_name()
764 … (void) sd_device_get_property_value(device, "ID_NET_NAME_ONBOARD", &new_name); in link_generate_new_name()
767 … (void) sd_device_get_property_value(device, "ID_NET_NAME_SLOT", &new_name); in link_generate_new_name()
770 … (void) sd_device_get_property_value(device, "ID_NET_NAME_PATH", &new_name); in link_generate_new_name()
773 … (void) sd_device_get_property_value(device, "ID_NET_NAME_MAC", &new_name); in link_generate_new_name()
823 … (void) sd_device_get_property_value(device, "ID_NET_NAME_FROM_DATABASE", &n); in link_apply_alternative_names()
826 … (void) sd_device_get_property_value(device, "ID_NET_NAME_ONBOARD", &n); in link_apply_alternative_names()
829 (void) sd_device_get_property_value(device, "ID_NET_NAME_SLOT", &n); in link_apply_alternative_names()
832 (void) sd_device_get_property_value(device, "ID_NET_NAME_PATH", &n); in link_apply_alternative_names()
835 (void) sd_device_get_property_value(device, "ID_NET_NAME_MAC", &n); in link_apply_alternative_names()
/systemd-251/src/core/
Ddevice.c380 (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()
385 if (sd_device_get_property_value(dev, "ID_FS_LABEL", &label) >= 0 || in device_update_description()
386 sd_device_get_property_value(dev, "ID_PART_ENTRY_NAME", &label) >= 0 || in device_update_description()
387 sd_device_get_property_value(dev, "ID_PART_ENTRY_NUMBER", &label) >= 0) { in device_update_description()
413 r = sd_device_get_property_value(dev, property, &wants); in device_add_udev_wants()
642 r = sd_device_get_property_value(dev, "SYSTEMD_ALIAS", &alias); in device_process_new()
941 r = sd_device_get_property_value(dev, "DEVPATH_OLD", &devpath_old); in device_remove_old_on_move()
/systemd-251/src/login/
Dsysfs-show.c51 … if (sd_device_get_property_value(dev_list[*i_dev], "ID_SEAT", &sn) < 0 || isempty(sn)) in show_sysfs_one()
79 … if (sd_device_get_property_value(dev_list[lookahead], "ID_SEAT", &lookahead_sn) < 0 || in show_sysfs_one()
Dlogind-core.c275 if (sd_device_get_property_value(d, "ID_SEAT", &sn) < 0 || isempty(sn)) in manager_process_seat_device()
342 if (sd_device_get_property_value(d, "ID_SEAT", &sn) < 0 || isempty(sn)) in manager_process_button_device()
/systemd-251/src/udev/
Dudev-builtin-uaccess.c37 if (sd_device_get_property_value(dev, "ID_SEAT", &seat) < 0) in builtin_uaccess()
Dudev-builtin-hwdb.c89 (void) sd_device_get_property_value(d, "MODALIAS", &modalias); in udev_builtin_hwdb_search()
Dudev-builtin-blkid.c325 (void) sd_device_get_property_value(dev, "ID_PART_GPT_AUTO_ROOT_UUID", &root_partition); in builtin_blkid()
/systemd-251/src/libsystemd/sd-device/
Ddevice-private.c780 r = sd_device_get_property_value(device, "INTERFACE", &interface); in device_rename()
823 if (sd_device_get_property_value(device, "IFINDEX", &val) >= 0) { in device_shallow_clone()
829 if (sd_device_get_property_value(device, "MAJOR", &val) >= 0) { in device_shallow_clone()
832 (void) sd_device_get_property_value(device, "MINOR", &minor); in device_shallow_clone()
Dtest-sd-device.c107 r = sd_device_get_property_value(d, "ID_NET_DRIVER", &val); in test_sd_device_one()
Dsd-device.c1988 _public_ int sd_device_get_property_value(sd_device *device, const char *key, const char **ret_valu… in sd_device_get_property_value() function
2015 r = sd_device_get_property_value(device, key, &value); in device_get_property_bool()
2033 r = sd_device_get_property_value(device, "SYNTH_UUID", &s); in sd_device_get_trigger_uuid()
/systemd-251/src/backlight/
Dbacklight.c288 r = sd_device_get_property_value(d, "ID_BACKLIGHT_CLAMP", &s); in shall_clamp()
430 if (sd_device_get_property_value(device, "ID_PATH", &path_id) >= 0) { in run()
/systemd-251/src/network/
Dnetworkd-json.c487 (void) sd_device_get_property_value(device, "ID_NET_LINK_FILE", &link); in device_build_json()
488 (void) sd_device_get_property_value(device, "ID_PATH", &path); in device_build_json()
490 if (sd_device_get_property_value(device, "ID_VENDOR_FROM_DATABASE", &vendor) < 0) in device_build_json()
491 (void) sd_device_get_property_value(device, "ID_VENDOR", &vendor); in device_build_json()
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()
Dnetworkctl.c1583 (void) sd_device_get_property_value(info->sd_device, "ID_NET_LINK_FILE", &link); in link_status_one()
1584 (void) sd_device_get_property_value(info->sd_device, "ID_NET_DRIVER", &driver); in link_status_one()
1585 (void) sd_device_get_property_value(info->sd_device, "ID_PATH", &path); in link_status_one()
1587 … if (sd_device_get_property_value(info->sd_device, "ID_VENDOR_FROM_DATABASE", &vendor) < 0) in link_status_one()
1588 (void) sd_device_get_property_value(info->sd_device, "ID_VENDOR", &vendor); in link_status_one()
1590 … if (sd_device_get_property_value(info->sd_device, "ID_MODEL_FROM_DATABASE", &model) < 0) in link_status_one()
1591 (void) sd_device_get_property_value(info->sd_device, "ID_MODEL", &model); in link_status_one()
/systemd-251/src/systemd/
Dsd-device.h104 int sd_device_get_property_value(sd_device *device, const char *key, const char **value);
/systemd-251/src/fsck/
Dfsck.c329 if (sd_device_get_property_value(dev, "ID_FS_TYPE", &type) >= 0) { in run()
/systemd-251/src/home/
Dhomed-manager.c1225 r = sd_device_get_property_value(d, "ID_PART_TABLE_TYPE", &tabletype); in manager_add_device()
1236 r = sd_device_get_property_value(d, "ID_PART_ENTRY_TYPE", &parttype); in manager_add_device()
1246 r = sd_device_get_property_value(d, "ID_PART_ENTRY_NAME", &partname); in manager_add_device()
1256 r = sd_device_get_property_value(d, "ID_FS_UUID", &partuuid); in manager_add_device()
/systemd-251/src/rfkill/
Drfkill.c118 if (sd_device_get_property_value(device, "ID_PATH", &path_id) >= 0) { in determine_state_file()
/systemd-251/src/libsystemd/
Dlibsystemd.sym620 sd_device_get_property_value;
/systemd-251/src/hostname/
Dhostnamed.c186 (void) sd_device_get_property_value(device, database_key, &s); in get_dmi_data()
188 (void) sd_device_get_property_value(device, regular_key, &s); in get_dmi_data()
/systemd-251/src/libudev/
Dlibudev-device.c195 r = sd_device_get_property_value(udev_device->device, key, &value); in udev_device_get_property_value()

12