Home
last modified time | relevance | path

Searched refs:hashmap_remove (Results 1 – 25 of 72) sorted by relevance

123

/systemd-251/src/network/wait-online/
Dlink.c56 hashmap_remove(l->manager->links_by_index, INT_TO_PTR(l->ifindex)); in link_free()
57 hashmap_remove(l->manager->links_by_name, l->ifname); in link_free()
88 assert_se(hashmap_remove(l->manager->links_by_name, l->ifname) == l); in link_update_rtnl()
/systemd-251/src/test/
Dtest-hashmap-plain.c256 r = hashmap_remove(NULL, "key 1"); in TEST()
262 r = hashmap_remove(m, "no such key"); in TEST()
268 r = hashmap_remove(m, "key 1"); in TEST()
730 v = hashmap_remove(h, k); in TEST()
822 assert_se(hashmap_remove(m, "key 1")); in TEST()
839 assert_se(hashmap_remove(m, "key 1") == NULL); in TEST()
Dtest-hashmap.c92 … assert_se(hashmap_remove(m, INT_TO_PTR(foo)) == INT_TO_PTR(foo + 777)); in TEST()
/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-genl.c36 hashmap_remove(f->genl->genl_family_by_id, UINT_TO_PTR(f->id)); in genl_family_free()
38 hashmap_remove(f->genl->genl_family_by_name, f->name); in genl_family_free()
199 hashmap_remove(nl->genl_family_by_id, UINT_TO_PTR(f->id)); in genl_family_new()
Dsd-netlink.c367 hashmap_remove(nl->reply_callbacks, UINT32_TO_PTR(c->serial)); in process_timeout()
395 c = hashmap_remove(nl->reply_callbacks, UINT32_TO_PTR(serial)); in process_reply()
646 … (void) hashmap_remove(nl->reply_callbacks, UINT32_TO_PTR(slot->reply_callback.serial)); in sd_netlink_call_async()
Dnetlink-slot.c64 (void) hashmap_remove(nl->reply_callbacks, &slot->reply_callback.serial); in netlink_slot_disconnect()
/systemd-251/src/libsystemd/sd-bus/
Dbus-slot.c132 x = hashmap_remove(slot->bus->vtable_methods, &key); in bus_slot_disconnect()
144 x = hashmap_remove(slot->bus->vtable_properties, &key); in bus_slot_disconnect()
Dbus-track.c103 i = hashmap_remove(track->names, name); in bus_track_remove_name_fully()
248 hashmap_remove(track->names, name); in sd_bus_track_add_name()
Dbus-match.c87 hashmap_remove(node->parent->compare.children, UINT_TO_PTR(node->value.u8)); in bus_match_node_free()
89 hashmap_remove(node->parent->compare.children, node->value.str); in bus_match_node_free()
/systemd-251/src/login/
Dlogind-session-device.c372 hashmap_remove(s->devices, &sd->dev); in session_device_new()
399 hashmap_remove(sd->session->devices, &sd->dev); in session_device_free()
Dlogind-device.c63 hashmap_remove(d->manager->devices, d->sysfs); in device_free()
/systemd-251/src/sysupdate/
Dsysupdate-cache.c67 web_cache_item_free(hashmap_remove(*web_cache, url)); in web_cache_add_item()
/systemd-251/src/resolve/
Dresolved-etc-hosts.c243 n = hashmap_remove(hosts->by_name, *i); in strip_localhost()
248 assert_se(hashmap_remove(hosts->by_address, local_in_addrs + j) == item); in strip_localhost()
Dresolved-dns-zone.c53 hashmap_remove(z->by_key, i->rr->key); in dns_zone_item_remove_and_free()
60 hashmap_remove(z->by_name, dns_resource_key_name(i->rr->key)); in dns_zone_item_remove_and_free()
/systemd-251/src/journal-remote/
Djournal-remote-write.c49 hashmap_remove(w->server->writers, w->hashmap_key); in writer_free()
/systemd-251/src/remount-fs/
Dremount-fs.c135 s = hashmap_remove(pids, PID_TO_PTR(si.si_pid)); in run()
/systemd-251/src/network/
Dnetworkd-link.c841 if (hashmap_remove(bound_to->bound_by_links, INT_TO_PTR(link->ifindex))) in link_free_bound_to_list()
858 if (hashmap_remove(bound_by->bound_to_links, INT_TO_PTR(link->ifindex))) { in link_free_bound_by_list()
936 hashmap_remove(link->manager->links_by_name, *n); in link_drop()
937 hashmap_remove(link->manager->links_by_name, link->ifname); in link_drop()
943 assert_se(hashmap_remove(link->manager->links_by_index, INT_TO_PTR(link->ifindex)) == link); in link_drop()
2293 hashmap_remove(link->manager->links_by_name, *n); in link_update_alternative_names()
2337 hashmap_remove(link->manager->links_by_name, link->ifname); in link_update_name()
Dnetworkd-dhcp-server-static-lease.c17hashmap_remove(static_lease->network->dhcp_static_leases_by_section, static_lease->section); in dhcp_static_lease_free()
Dnetworkd-address-label.c21 hashmap_remove(label->network->address_labels_by_section, label->section); in address_label_free()
Dnetworkd-nexthop.c27 hashmap_remove(nexthop->network->nexthops_by_section, nexthop->section); in nexthop_free()
36hashmap_remove(nexthop->link->manager->nexthops_by_id, UINT32_TO_PTR(nexthop->id)); in nexthop_free()
43hashmap_remove(nexthop->manager->nexthops_by_id, UINT32_TO_PTR(nexthop->id)); in nexthop_free()
Dnetworkd-bridge-mdb.c24 hashmap_remove(mdb->network->bridge_mdb_entries_by_section, mdb->section); in bridge_mdb_free()
/systemd-251/src/libudev/
Dlibudev-list.c43 hashmap_remove(entry->list->unique_entries, entry->name); in udev_list_entry_free()
/systemd-251/src/machine/
Dmachine.c90 (void) hashmap_remove(m->manager->machines, m->name); in machine_free()
640 (void) hashmap_remove(m->manager->machine_units, m->unit); in machine_release_unit()
/systemd-251/src/shared/
Dbus-polkit.c175 hashmap_remove(q->registry, q->request); in async_polkit_query_free()
/systemd-251/src/import/
Dcurl-util.c66 hashmap_remove(g->ios, FD_TO_PTR(s)); in curl_glue_socket_callback()

123