Home
last modified time | relevance | path

Searched refs:hashmap_free (Results 1 – 25 of 60) sorted by relevance

123

/systemd-251/coccinelle/
Dhashmap_free.cocci32 - hashmap_free(p);
34 + p = hashmap_free(p);
39 - hashmap_free(p);
41 + p = hashmap_free(p);
46 - hashmap_free(p);
49 + p = hashmap_free(p);
54 - hashmap_free(p);
55 + hashmap_free(p);
/systemd-251/src/login/
Dlogind.c124 hashmap_free(m->devices); in manager_unref()
125 hashmap_free(m->seats); in manager_unref()
126 hashmap_free(m->sessions); in manager_unref()
127 hashmap_free(m->sessions_by_leader); in manager_unref()
128 hashmap_free(m->users); in manager_unref()
129 hashmap_free(m->inhibitors); in manager_unref()
130 hashmap_free(m->buttons); in manager_unref()
131 hashmap_free(m->brightness_writers); in manager_unref()
133 hashmap_free(m->user_units); in manager_unref()
134 hashmap_free(m->session_units); in manager_unref()
/systemd-251/src/test/
Dtest-hashmap-plain.c48 hashmap_free(m); in TEST()
83 hashmap_free(m); in TEST()
120 hashmap_free(m); in TEST()
228 hashmap_free(m); in TEST()
249 hashmap_free(m); in TEST()
473 hashmap_free(m); in TEST()
556 hashmap_free(n); in TEST()
734 hashmap_free(h); in TEST()
744 TEST(hashmap_free) { in TEST() argument
778 hashmap_free(h); in TEST()
[all …]
Dtest-hashmap.c102 assert_se(hashmap_free(m) == NULL); in TEST()
/systemd-251/src/machine/
Dmachined.c79hashmap_free(m->machines); /* This will free all machines, so that the machine_units/machine_leade… in manager_unref()
80 hashmap_free(m->machine_units); in manager_unref()
81 hashmap_free(m->machine_leaders); in manager_unref()
82 hashmap_free(m->image_cache); in manager_unref()
/systemd-251/src/network/
Dnetworkd-manager.c549 m->links_by_name = hashmap_free(m->links_by_name); in manager_free()
550 m->links_by_hw_addr = hashmap_free(m->links_by_hw_addr); in manager_free()
551 m->links_by_dhcp_pd_subnet_prefix = hashmap_free(m->links_by_dhcp_pd_subnet_prefix); in manager_free()
559 m->wiphy_by_name = hashmap_free(m->wiphy_by_name); in manager_free()
564 hashmap_free(m->route_table_names_by_number); in manager_free()
565 hashmap_free(m->route_table_numbers_by_name); in manager_free()
581 m->nexthops_by_id = hashmap_free(m->nexthops_by_id); in manager_free()
Dnetworkd-route-util.c461 m->route_table_names_by_number = hashmap_free(m->route_table_names_by_number); in config_parse_route_table_names()
462 m->route_table_numbers_by_name = hashmap_free(m->route_table_numbers_by_name); in config_parse_route_table_names()
/systemd-251/src/libsystemd/sd-device/
Ddevice-monitor.c342 hashmap_free(m->subsystem_filter); in device_monitor_free()
344 hashmap_free(m->match_sysattr_filter); in device_monitor_free()
345 hashmap_free(m->nomatch_sysattr_filter); in device_monitor_free()
819 m->subsystem_filter = hashmap_free(m->subsystem_filter); in sd_device_monitor_filter_remove()
821 m->match_sysattr_filter = hashmap_free(m->match_sysattr_filter); in sd_device_monitor_filter_remove()
822 m->nomatch_sysattr_filter = hashmap_free(m->nomatch_sysattr_filter); in sd_device_monitor_filter_remove()
Ddevice-enumerator.c92 hashmap_free(enumerator->devices_by_syspath); in device_enumerator_free()
96 hashmap_free(enumerator->match_sysattr); in device_enumerator_free()
97 hashmap_free(enumerator->nomatch_sysattr); in device_enumerator_free()
98 hashmap_free(enumerator->match_property); in device_enumerator_free()
/systemd-251/src/oom/
Doomd-manager.c266 hashmap_free(*monitored_cgroups); in update_monitored_cgroup_contexts()
311 hashmap_free(*candidates); in update_monitored_cgroup_contexts_candidates()
626 hashmap_free(m->monitored_swap_cgroup_contexts); in manager_free()
627 hashmap_free(m->monitored_mem_pressure_cgroup_contexts); in manager_free()
628 hashmap_free(m->monitored_mem_pressure_cgroup_contexts_candidates); in manager_free()
/systemd-251/src/basic/
Dhashmap.h94 hashmap_free(a); \
101 static inline Hashmap* hashmap_free(Hashmap *h) { in hashmap_free() function
384 hashmap_free(hashmap_clear_with_destructor(h, f))
433 DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free);
/systemd-251/src/core/
Dmanager.c728 m->unit_id_map = hashmap_free(m->unit_id_map); in manager_free_unit_name_maps()
729 m->unit_name_map = hashmap_free(m->unit_name_map); in manager_free_unit_name_maps()
1502 hashmap_free(m->exec_runtime_by_id); in manager_free()
1505 hashmap_free(m->dynamic_users); in manager_free()
1507 hashmap_free(m->units); in manager_free()
1508 hashmap_free(m->units_by_invocation_id); in manager_free()
1509 hashmap_free(m->jobs); in manager_free()
1510 hashmap_free(m->watch_pids); in manager_free()
1511 hashmap_free(m->watch_bus); in manager_free()
1545 hashmap_free(m->cgroup_unit); in manager_free()
[all …]
/systemd-251/src/shared/
Dbus-unit-procs.c122 hashmap_free(cg->pids); in remove_cgroup()
400 hashmap_free(cgroups); in unit_show_processes()
Dbus-polkit.c412 return hashmap_free(registry); in bus_verify_polkit_async_registry_free()
/systemd-251/src/home/
Dhomed-manager.c270 m->homes_by_uid = hashmap_free(m->homes_by_uid); in manager_free()
271 m->homes_by_name = hashmap_free(m->homes_by_name); in manager_free()
272 m->homes_by_worker_pid = hashmap_free(m->homes_by_worker_pid); in manager_free()
273 m->homes_by_sysfs = hashmap_free(m->homes_by_sysfs); in manager_free()
278 hashmap_free(m->public_keys); in manager_free()
1557 m->public_keys = hashmap_free(m->public_keys); in manager_load_public_keys()
/systemd-251/src/portable/
Dportabled.c55 hashmap_free(m->image_cache); in manager_unref()
/systemd-251/src/libudev/
Dlibudev-list.c129 hashmap_free(list->unique_entries); in udev_list_free()
/systemd-251/src/resolve/
Dresolved-manager.c684 m->stub_queries_by_packet = hashmap_free(m->stub_queries_by_packet); in manager_free()
697 hashmap_free(m->links); in manager_free()
698 hashmap_free(m->dns_transactions); in manager_free()
740 hashmap_free(m->dnssd_services); in manager_free()
Dresolved-dns-zone.c76 z->by_key = hashmap_free(z->by_key); in dns_zone_flush()
77 z->by_name = hashmap_free(z->by_name); in dns_zone_flush()
/systemd-251/src/analyze/
Danalyze-critical-chain.c233 h = hashmap_free(h); in verb_critical_chain()
/systemd-251/src/libsystemd-network/
Dsd-dhcp-server.c174 server->bound_leases_by_address = hashmap_free(server->bound_leases_by_address); in dhcp_server_free()
175 server->bound_leases_by_client_id = hashmap_free(server->bound_leases_by_client_id); in dhcp_server_free()
176 server->static_leases_by_address = hashmap_free(server->static_leases_by_address); in dhcp_server_free()
177 server->static_leases_by_client_id = hashmap_free(server->static_leases_by_client_id); in dhcp_server_free()
/systemd-251/src/systemctl/
Dsystemctl-list-unit-files.c177 hashmap_free(h); in verb_list_unit_files()
/systemd-251/src/import/
Dcurl-util.c172 hashmap_free(g->ios); in curl_glue_unref()
/systemd-251/src/libsystemd/sd-netlink/
Dsd-netlink.c190 hashmap_free(nl->reply_callbacks); in netlink_free()
197 hashmap_free(nl->broadcast_group_refs); in netlink_free()
/systemd-251/src/network/wait-online/
Dmanager.c408 hashmap_free(m->links_by_name); in manager_free()

123