Home
last modified time | relevance | path

Searched refs:hashmap_remove_value (Results 1 – 15 of 15) sorted by relevance

/systemd-251/src/network/
Dnetworkd-wiphy.c16 hashmap_remove_value(w->manager->wiphy_by_index, UINT32_TO_PTR(w->index), w); in wiphy_free()
18 hashmap_remove_value(w->manager->wiphy_by_name, w->name, w); in wiphy_free()
101 hashmap_remove_value(w->manager->wiphy_by_name, w->name, w); in wiphy_update_name()
Dnetworkd-link.c940 hashmap_remove_value(link->manager->links_by_hw_addr, &link->hw_addr, link); in link_drop()
2160 hashmap_remove_value(link->manager->links_by_hw_addr, &link->hw_addr, link); in link_update_hardware_address()
/systemd-251/src/login/
Dlogind-user.c118 hashmap_remove_value(u->manager->user_units, u->service, u); in user_free()
121 hashmap_remove_value(u->manager->user_units, u->runtime_dir_service, u); in user_free()
124 hashmap_remove_value(u->manager->user_units, u->slice, u); in user_free()
126 hashmap_remove_value(u->manager->users, UID_TO_PTR(u->user_record->uid), u); in user_free()
Dlogind-brightness.c52 (void) hashmap_remove_value(w->manager->brightness_writers, w->path, w); in brightness_writer_free()
Dlogind-session.c131 … (void) hashmap_remove_value(s->manager->sessions_by_leader, PID_TO_PTR(s->leader), s); in session_free()
183 … (void) hashmap_remove_value(s->manager->sessions_by_leader, PID_TO_PTR(s->leader), s); in session_set_leader()
/systemd-251/src/test/
Dtest-hashmap-plain.c307 TEST(hashmap_remove_value) { in TEST() argument
314 r = hashmap_remove_value(NULL, "key 1", val1); in TEST()
320 r = hashmap_remove_value(m, "key 1", val1); in TEST()
326 r = hashmap_remove_value(m, "key 1", val1); in TEST()
333 r = hashmap_remove_value(m, "key 2", val1); in TEST()
/systemd-251/src/basic/
Dhashmap.h209 static inline void *hashmap_remove_value(Hashmap *h, const void *key, void *value) { in hashmap_remove_value() function
214 return hashmap_remove_value(PLAIN_HASHMAP(h), key, value); in ordered_hashmap_remove_value()
/systemd-251/src/libsystemd-network/
Dsd-dhcp-server.c35hashmap_remove_value(lease->server->bound_leases_by_address, UINT32_TO_PTR(lease->address), lease); in dhcp_lease_free()
36hashmap_remove_value(lease->server->bound_leases_by_client_id, &lease->client_id, lease); in dhcp_lease_free()
37hashmap_remove_value(lease->server->static_leases_by_address, UINT32_TO_PTR(lease->address), lease… in dhcp_lease_free()
38hashmap_remove_value(lease->server->static_leases_by_client_id, &lease->client_id, lease); in dhcp_lease_free()
Dlldp-neighbor.c104 (void) hashmap_remove_value(n->lldp_rx->neighbor_by_id, &n->id, n); in lldp_neighbor_unlink()
/systemd-251/src/home/
Dhomed-home.c184 (void) hashmap_remove_value(h->manager->homes_by_name, h->user_name, h); in home_free()
187 … (void) hashmap_remove_value(h->manager->homes_by_uid, UID_TO_PTR(h->uid), h); in home_free()
190 (void) hashmap_remove_value(h->manager->homes_by_sysfs, h->sysfs, h); in home_free()
193 … (void) hashmap_remove_value(h->manager->homes_by_worker_pid, PID_TO_PTR(h->worker_pid), h); in home_free()
1062 (void) hashmap_remove_value(h->manager->homes_by_worker_pid, PID_TO_PTR(h->worker_pid), h); in home_on_worker_process()
3157 (void) hashmap_remove_value(h->manager->homes_by_worker_pid, PID_TO_PTR(h->worker_pid), h); in home_wait_for_worker()
/systemd-251/src/core/
Dunit.c695 hashmap_remove_value(u->manager->units, t, u); in unit_free()
697 hashmap_remove_value(u->manager->units, u->id, u); in unit_free()
700 hashmap_remove_value(u->manager->units_by_invocation_id, &u->invocation_id, u); in unit_free()
2860 (void) hashmap_remove_value(u->manager->watch_pids, PID_TO_PTR(pid), u); in unit_unwatch_pid()
3274 … (void) hashmap_remove_value(u->manager->units_by_invocation_id, &u->invocation_id, u); in unit_set_invocation_id()
3553 (void) hashmap_remove_value(u->manager->watch_bus, name, u); in unit_unwatch_bus_name()
Dtransaction.c846 hashmap_remove_value(tr->jobs, j->unit, j); in transaction_unlink_job()
Djob.c158 hashmap_remove_value(j->manager->jobs, UINT32_TO_PTR(j->id), j); in job_uninstall()
/systemd-251/src/machine/
Dmachine.c96 (void) hashmap_remove_value(m->manager->machine_leaders, PID_TO_PTR(m->leader), m); in machine_free()
/systemd-251/src/resolve/
Dresolved-dns-query.c411 hashmap_remove_value(q->stub_listener_extra ? in dns_query_free()