/systemd-251/src/udev/ |
D | test-udev-netlink.c | 25 assert_se(sd_device_get_sysattr_value(dev, "type", &s) >= 0); in test_link_info_one() 34 assert_se(sd_device_get_sysattr_value(dev, "addr_len", &s) >= 0); in test_link_info_one() 43 assert_se(sd_device_get_sysattr_value(dev, "address", &s) >= 0); in test_link_info_one() 50 assert_se(sd_device_get_sysattr_value(dev, "broadcast", &s) >= 0); in test_link_info_one() 64 assert_se(sd_device_get_sysattr_value(dev, "mtu", &s) >= 0); in test_link_info_one() 73 assert_se(sd_device_get_sysattr_value(dev, "iflink", &s) >= 0); in test_link_info_one() 82 assert_se(sd_device_get_sysattr_value(dev, "link_mode", &s) >= 0); in test_link_info_one() 91 assert_se(sd_device_get_sysattr_value(dev, "ifalias", &s) >= 0); in test_link_info_one() 98 assert_se(sd_device_get_sysattr_value(dev, "netdev_group", &s) >= 0); in test_link_info_one() 109 (void) sd_device_get_sysattr_value(dev, "phys_port_id", &s); in test_link_info_one() [all …]
|
D | udev-builtin-usb_id.c | 278 (void) sd_device_get_sysattr_value(dev_interface, "bInterfaceNumber", &ifnum); in builtin_usb_id() 279 (void) sd_device_get_sysattr_value(dev_interface, "driver", &driver); in builtin_usb_id() 281 r = sd_device_get_sysattr_value(dev_interface, "bInterfaceClass", &if_class); in builtin_usb_id() 290 … if (sd_device_get_sysattr_value(dev_interface, "bInterfaceSubClass", &if_subclass) >= 0) in builtin_usb_id() 325 r = sd_device_get_sysattr_value(dev_scsi, "vendor", &scsi_vendor); in builtin_usb_id() 334 r = sd_device_get_sysattr_value(dev_scsi, "model", &scsi_model); in builtin_usb_id() 343 r = sd_device_get_sysattr_value(dev_scsi, "type", &scsi_type); in builtin_usb_id() 350 r = sd_device_get_sysattr_value(dev_scsi, "rev", &scsi_rev); in builtin_usb_id() 366 r = sd_device_get_sysattr_value(dev_usb, "idVendor", &vendor_id); in builtin_usb_id() 370 r = sd_device_get_sysattr_value(dev_usb, "idProduct", &product_id); in builtin_usb_id() [all …]
|
D | udev-builtin-path_id.c | 127 if (sd_device_get_sysattr_value(fcdev, "port_name", &port) < 0) in handle_scsi_fibre_channel() 152 if (sd_device_get_sysattr_value(sasdev, "sas_address", &sas_address) < 0) in handle_scsi_sas_wide_port() 188 if (sd_device_get_sysattr_value(port_sasdev, "num_phys", &phy_count) < 0) in handle_scsi_sas() 196 if (sd_device_get_sysattr_value(target_sasdev, "phy_identifier", &phy_id) < 0) in handle_scsi_sas() 208 if (sd_device_get_sysattr_value(expander_sasdev, "sas_address", &sas_address) < 0) in handle_scsi_sas() 246 if (sd_device_get_sysattr_value(sessiondev, "targetname", &target) < 0) in handle_scsi_iscsi() 255 if (sd_device_get_sysattr_value(conndev, "persistent_address", &addr) < 0) in handle_scsi_iscsi() 257 if (sd_device_get_sysattr_value(conndev, "persistent_port", &port) < 0) in handle_scsi_iscsi() 290 if (sd_device_get_sysattr_value(atadev, "port_no", &port_no) < 0) in handle_scsi_ata() 398 if (sd_device_get_sysattr_value(vmbusdev, "device_id", &guid_str) < 0) in handle_scsi_hyperv() [all …]
|
D | udev-builtin-input_id.c | 87 if (sd_device_get_sysattr_value(pdev, attr, &v) < 0) in get_cap_mask() 135 if (sd_device_get_sysattr_value(dev, "id/bustype", &v) >= 0) in get_input_id() 137 if (sd_device_get_sysattr_value(dev, "id/vendor", &v) >= 0) in get_input_id() 139 if (sd_device_get_sysattr_value(dev, "id/product", &v) >= 0) in get_input_id() 141 if (sd_device_get_sysattr_value(dev, "id/version", &v) >= 0) in get_input_id() 377 if (sd_device_get_sysattr_value(pdev, "capabilities/ev", &s) >= 0) in builtin_input_id()
|
D | udev-builtin-net_id.c | 179 if (sd_device_get_sysattr_value(names->pcidev, "acpi_index", &attr) >= 0) in dev_pci_onboard() 183 r = sd_device_get_sysattr_value(names->pcidev, "index", &attr); in dev_pci_onboard() 201 if (sd_device_get_sysattr_value(dev, "dev_port", &attr) >= 0) { in dev_pci_onboard() 222 if (sd_device_get_sysattr_value(names->pcidev, "label", &names->pci_onboard_label) >= 0) in dev_pci_onboard() 253 if (sd_device_get_sysattr_value(dev, "ari_enabled", &a) < 0) in is_pci_ari_enabled() 262 if (sd_device_get_sysattr_value(dev, "modalias", &v) < 0) in is_pci_bridge() 302 if (sd_device_get_sysattr_value(dev, "function_id", &attr) < 0) in parse_hotplug_slot_from_function_id() 359 if (sd_device_get_sysattr_value(dev, "dev_port", &attr) >= 0) { in dev_pci_slot() 371 sd_device_get_sysattr_value(dev, "dev_id", &attr) >= 0) { in dev_pci_slot() 840 r = sd_device_get_sysattr_value(dev, "addr_assign_type", &s); in names_mac() [all …]
|
D | udev-builtin-hwdb.c | 53 if (sd_device_get_sysattr_value(dev, "idVendor", &v) < 0) in modalias_usb() 55 if (sd_device_get_sysattr_value(dev, "idProduct", &p) < 0) in modalias_usb() 61 (void) sd_device_get_sysattr_value(dev, "product", &n); in modalias_usb()
|
D | udev-netlink.c | 308 return sd_device_get_sysattr_value(device, sysattr, ret_value); in device_get_sysattr_value_maybe_from_netlink() 313 return sd_device_get_sysattr_value(device, sysattr, ret_value); in device_get_sysattr_value_maybe_from_netlink() 329 return sd_device_get_sysattr_value(device, sysattr, ret_value); in device_get_sysattr_value_maybe_from_netlink()
|
D | udev-builtin-keyboard.c | 36 r = sd_device_get_sysattr_value(atkbd, "force_release", &cur); in install_force_release()
|
D | udevadm-info.c | 116 r = sd_device_get_sysattr_value(device, name, &value); in print_all_attributes()
|
/systemd-251/src/backlight/ |
D | backlight.c | 80 sd_device_get_sysattr_value(parent, "class", &value) >= 0) { in find_pci_or_platform_parent() 154 r = sd_device_get_sysattr_value(device, "type", &v); in validate_device() 187 if (sd_device_get_sysattr_value(other, "type", &v) < 0 || in validate_device() 236 r = sd_device_get_sysattr_value(device, "max_brightness", &s); in get_max_brightness() 317 r = sd_device_get_sysattr_value(device, "actual_brightness", &value); in read_brightness() 345 r = sd_device_get_sysattr_value(device, "brightness", &value); in read_brightness()
|
/systemd-251/src/login/ |
D | sysfs-show.c | 65 if (sd_device_get_sysattr_value(dev_list[*i_dev], "name", &name) < 0) in show_sysfs_one() 66 (void) sd_device_get_sysattr_value(dev_list[*i_dev], "id", &name); in show_sysfs_one()
|
D | logind-core.c | 628 … if (sd_device_get_sysattr_value(d, "enabled", &enabled) < 0 || !streq(enabled, "enabled")) in manager_count_external_displays() 633 … if (sd_device_get_sysattr_value(d, "status", &status) < 0 || !streq(status, "disconnected")) in manager_count_external_displays()
|
/systemd-251/src/shared/ |
D | udev-util.c | 552 r = sd_device_get_sysattr_value(dev, attr, &val); in udev_resolve_subsys_kernel() 623 r = sd_device_get_sysattr_value(d, "power_role", &val); in device_is_power_sink() 671 r = sd_device_get_sysattr_value(d, "type", &val); in on_ac_power() 698 r = sd_device_get_sysattr_value(d, "online", &val); in on_ac_power()
|
D | netif-sriov.c | 212 r = sd_device_get_sysattr_value(device, "device/sriov_numvfs", &str); in sr_iov_get_num_vfs() 265 r = sd_device_get_sysattr_value(device, "device/sriov_totalvfs", &str); in sr_iov_set_num_vfs()
|
/systemd-251/src/libsystemd/sd-device/ |
D | device-util.c | 14 if (sd_device_get_sysattr_value(device, sysattr, &value) < 0) in device_match_sysattr_value()
|
D | test-sd-device.c | 178 r = sd_device_get_sysattr_value(d, "name_assign_type", &val); in test_sd_device_one()
|
D | test-sd-device-monitor.c | 173 assert_se(sd_device_get_sysattr_value(device, sysattr, &sysattr_value) >= 0); in test_sysattr_filter()
|
D | sd-device.c | 2096 _public_ int sd_device_get_sysattr_value(sd_device *device, const char *sysattr, const char **ret_v… in sd_device_get_sysattr_value() function
|
/systemd-251/src/systemd/ |
D | sd-device.h | 106 int sd_device_get_sysattr_value(sd_device *device, const char *sysattr, const char **_value);
|
/systemd-251/src/rfkill/ |
D | rfkill.c | 86 r = sd_device_get_sysattr_value(device, "name", &name); in find_device()
|
/systemd-251/src/libsystemd/ |
D | libsystemd.sym | 621 sd_device_get_sysattr_value;
|
/systemd-251/src/libudev/ |
D | libudev-device.c | 747 r = sd_device_get_sysattr_value(udev_device->device, sysattr, &value); in udev_device_get_sysattr_value()
|
/systemd-251/src/udev/net/ |
D | link-config.c | 314 r = sd_device_get_sysattr_value(device, attr, &s); in device_unsigned_attribute()
|
/systemd-251/src/hostname/ |
D | hostnamed.c | 223 (void) sd_device_get_sysattr_value(device, sysattr, &s); in get_hardware_firmware_data()
|
/systemd-251/src/mount/ |
D | mount-tool.c | 1201 if (sd_device_get_sysattr_value(d, "removable", &v) >= 0) in acquire_removable()
|