Searched refs:subsystem_filter (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/libsystemd/sd-device/ |
D | device-monitor.c | 39 Hashmap *subsystem_filter; member 342 hashmap_free(m->subsystem_filter); in device_monitor_free() 361 if (hashmap_isempty(m->subsystem_filter)) in check_subsystem_filter() 372 HASHMAP_FOREACH_KEY(d, s, m->subsystem_filter) { in check_subsystem_filter() 660 (hashmap_isempty(m->subsystem_filter) && in sd_device_monitor_filter_update() 703 if (!hashmap_isempty(m->subsystem_filter)) { in sd_device_monitor_filter_update() 704 HASHMAP_FOREACH_KEY(devtype, subsystem, m->subsystem_filter) { in sd_device_monitor_filter_update() 756 …r = hashmap_put_strdup_full(&m->subsystem_filter, &trivial_hash_ops_free_free, subsystem, devtype); in sd_device_monitor_filter_add_match_subsystem_devtype() 819 m->subsystem_filter = hashmap_free(m->subsystem_filter); in sd_device_monitor_filter_remove()
|
D | test-sd-device-monitor.c | 54 static void test_send_receive_one(sd_device *device, bool subsystem_filter, bool tag_filter, bool u… in test_send_receive_one() argument 59 true_false(subsystem_filter), true_false(tag_filter), true_false(use_bpf)); in test_send_receive_one() 72 if (subsystem_filter) { in test_send_receive_one() 82 if ((subsystem_filter || tag_filter) && use_bpf) in test_send_receive_one()
|