Searched refs:match_property (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/libsystemd/sd-device/ |
D | device-enumerator.c | 43 Hashmap *match_property; member 98 hashmap_free(enumerator->match_property); in device_enumerator_free() 179 …r = hashmap_put_strdup_full(&enumerator->match_property, &trivial_hash_ops_free_free, property, va… in sd_device_enumerator_add_match_property() 468 static bool match_property(sd_device_enumerator *enumerator, sd_device *device) { in match_property() function 475 if (hashmap_isempty(enumerator->match_property)) in match_property() 478 HASHMAP_FOREACH_KEY(value, property, enumerator->match_property) { in match_property() 574 if (!match_property(enumerator, device)) in test_matches() 831 if (!match_property(enumerator, device)) in enumerator_scan_devices_tag() 892 if (!match_property(enumerator, device)) in parent_add_child()
|
/systemd-251/src/shared/ |
D | net-condition.c | 88 static int net_condition_test_property(char * const *match_property, sd_device *device) { in net_condition_test_property() argument 89 if (strv_isempty(match_property)) in net_condition_test_property() 92 STRV_FOREACH(p, match_property) { in net_condition_test_property()
|