Home
last modified time | relevance | path

Searched refs:device_add_property (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/libsystemd/sd-device/
Dtest-sd-device-monitor.c37 assert_se(device_add_property(loopback, "ACTION", "hoge") >= 0); in test_receive_device_fail()
302 assert_se(device_add_property(loopback, "ACTION", "add") >= 0); in main()
303 assert_se(device_add_property(loopback, "SEQNUM", "10") >= 0); in main()
326 assert_se(device_add_property(sda, "ACTION", "change") >= 0); in main()
327 assert_se(device_add_property(sda, "SEQNUM", "11") >= 0); in main()
Ddevice-private.h39 int device_add_property(sd_device *device, const char *property, const char *value);
Ddevice-private.c31 int device_add_property(sd_device *device, const char *key, const char *value) { in device_add_property() function
59 return device_add_property(device, key, NULL); in device_add_propertyf()
68 return device_add_property(device, key, value); in device_add_propertyf()
/systemd-251/src/udev/
Dudev-builtin.c127 r = device_add_property(dev, key, val); in udev_builtin_add_property()
Dudev-rules.c1489 r = device_add_property(dev, key, val); in import_parent_into_properties()
1797 r = device_add_property(dev, key, value); in udev_rule_apply_token_to_event()
1863 r = device_add_property(dev, key, value); in udev_rule_apply_token_to_event()
1921 r = device_add_property(dev, token->value, val); in udev_rule_apply_token_to_event()
1938 r = device_add_property(dev, token->value, value ?: "1"); in udev_rule_apply_token_to_event()
2148 r = device_add_property(dev, name, NULL); in udev_rule_apply_token_to_event()
2178 r = device_add_property(dev, name, value_new); in udev_rule_apply_token_to_event()
Dudev-event.c919 r = device_add_property(dev, "ID_RENAMING", "1"); in rename_netif()
930 r = device_add_property(event->dev_db_clone, "ID_RENAMING", "1"); in rename_netif()
1022 r = device_add_property(dev, "ID_RENAMING", NULL); in udev_event_on_move()
Dudevd.c385 (void) device_add_property(dev, "UDEV_WORKER_FAILED", "1"); in device_broadcast()
395 (void) device_add_property(dev, "UDEV_WORKER_ERRNO_NAME", str); in device_broadcast()
413 (void) device_add_property(dev, "UDEV_WORKER_SIGNAL_NAME", str); in device_broadcast()