/systemd-251/src/libsystemd-network/ |
D | fuzz-dhcp-server.c | 37 …assert_se(hashmap_ensure_put(&server->bound_leases_by_client_id, &dhcp_lease_hash_ops, &lease->cli… in add_lease() 38 …assert_se(hashmap_ensure_put(&server->bound_leases_by_address, NULL, UINT32_TO_PTR(lease->address)… in add_lease()
|
D | sd-dhcp-server.c | 1012 …r = hashmap_ensure_put(&server->bound_leases_by_client_id, &dhcp_lease_hash_ops, &lease->client_id… in server_ack_request() 1016 …r = hashmap_ensure_put(&server->bound_leases_by_address, NULL, UINT32_TO_PTR(lease->address), leas… in server_ack_request() 1668 …r = hashmap_ensure_put(&server->static_leases_by_client_id, &dhcp_lease_hash_ops, &lease->client_i… in sd_dhcp_server_set_static_lease() 1671 …r = hashmap_ensure_put(&server->static_leases_by_address, NULL, UINT32_TO_PTR(lease->address), lea… in sd_dhcp_server_set_static_lease()
|
D | sd-lldp-rx.c | 150 r = hashmap_ensure_put(&lldp_rx->neighbor_by_id, &lldp_neighbor_hash_ops, &n->id, n); in lldp_rx_add_neighbor()
|
/systemd-251/src/libsystemd/sd-netlink/ |
D | netlink-genl.c | 83 r = hashmap_ensure_put(&nl->genl_family_by_name, &string_hash_ops, f->name, f); in genl_family_new_unsupported() 181 …r = hashmap_ensure_put(&f->multicast_group_by_name, &string_hash_ops_free, group_name, UINT32_TO_P… in genl_family_new() 193 r = hashmap_ensure_put(&nl->genl_family_by_id, NULL, UINT_TO_PTR(f->id), f); in genl_family_new() 197 r = hashmap_ensure_put(&nl->genl_family_by_name, &string_hash_ops, f->name, f); in genl_family_new()
|
D | netlink-socket.c | 66 … r = hashmap_ensure_put(&nl->broadcast_group_refs, NULL, UINT_TO_PTR(group), UINT_TO_PTR(1)); in broadcast_groups_get()
|
/systemd-251/src/network/ |
D | networkd-wiphy.c | 39 r = hashmap_ensure_put(&manager->wiphy_by_index, NULL, UINT32_TO_PTR(w->index), w); in wiphy_new() 107 return hashmap_ensure_put(&w->manager->wiphy_by_name, &string_hash_ops, w->name, w); in wiphy_update_name()
|
D | networkd-nexthop.c | 99 …r = hashmap_ensure_put(&network->nexthops_by_section, &config_section_hash_ops, nexthop->section, … in nexthop_new_static() 195 r = hashmap_ensure_put(&dest->group, NULL, UINT32_TO_PTR(g->id), g); in nexthop_dup() 306 … return hashmap_ensure_put(&manager->nexthops_by_id, NULL, UINT32_TO_PTR(nexthop->id), nexthop); in nexthop_add() 915 r = hashmap_ensure_put(&tmp->group, NULL, UINT32_TO_PTR(nhg->id), nhg); in manager_rtnl_process_nexthop() 1390 r = hashmap_ensure_put(&n->group, NULL, UINT32_TO_PTR(nhg->id), nhg); in config_parse_nexthop_group()
|
D | networkd-route-util.c | 519 …r = hashmap_ensure_put(&m->route_table_numbers_by_name, &string_hash_ops_free, name, UINT32_TO_PTR… in config_parse_route_table_names() 536 … r = hashmap_ensure_put(&m->route_table_names_by_number, NULL, UINT32_TO_PTR(table), name); in config_parse_route_table_names()
|
D | networkd-dhcp-server-static-lease.c | 63 …r = hashmap_ensure_put(&network->dhcp_static_leases_by_section, &config_section_hash_ops, static_l… in lease_new_static()
|
D | networkd-link.c | 757 r = hashmap_ensure_put(h, NULL, INT_TO_PTR(carrier->ifindex), carrier); in link_put_carrier() 2166 … r = hashmap_ensure_put(&link->manager->links_by_hw_addr, &hw_addr_hash_ops, &link->hw_addr, link); in link_update_hardware_address() 2298 r = hashmap_ensure_put(&link->manager->links_by_name, &string_hash_ops, *n, link); in link_update_alternative_names() 2343 r = hashmap_ensure_put(&link->manager->links_by_name, &string_hash_ops, link->ifname, link); in link_update_name() 2527 r = hashmap_ensure_put(&manager->links_by_index, NULL, INT_TO_PTR(link->ifindex), link); in link_new() 2533 r = hashmap_ensure_put(&manager->links_by_name, &string_hash_ops, link->ifname, link); in link_new()
|
D | networkd-address-label.c | 60 …r = hashmap_ensure_put(&network->address_labels_by_section, &config_section_hash_ops, label->secti… in address_label_new_static()
|
D | networkd-bridge-mdb.c | 75 …r = hashmap_ensure_put(&network->bridge_mdb_entries_by_section, &config_section_hash_ops, mdb->sec… in bridge_mdb_new_static()
|
D | networkd-bridge-fdb.c | 86 …r = hashmap_ensure_put(&network->bridge_fdb_entries_by_section, &config_section_hash_ops, fdb->sec… in bridge_fdb_new_static()
|
D | networkd-network.c | 111 … r = hashmap_ensure_put(&network->stacked_netdevs, &string_hash_ops, netdev->ifname, netdev); in network_resolve_stacked_netdevs() 863 r = hashmap_ensure_put(h, &string_hash_ops, name, INT_TO_PTR(kind)); in config_parse_stacked_netdev()
|
/systemd-251/src/network/wait-online/ |
D | link.c | 35 r = hashmap_ensure_put(&m->links_by_index, NULL, INT_TO_PTR(ifindex), l); in link_new() 39 r = hashmap_ensure_put(&m->links_by_name, &string_hash_ops, l->ifname, l); in link_new()
|
D | wait-online.c | 88 r = hashmap_ensure_put(&arg_interfaces, &string_hash_ops, ifname, TAKE_PTR(range)); in parse_interface_with_operstate_range()
|
/systemd-251/src/remount-fs/ |
D | remount-fs.c | 38 r = hashmap_ensure_put(h, NULL, PID_TO_PTR(pid), c); in track_pid()
|
/systemd-251/src/core/ |
D | bpf-foreign.c | 110 r = hashmap_ensure_put(&u->bpf_foreign_by_key, &bpf_foreign_by_key_hash_ops, key, prog); in bpf_foreign_prepare()
|
/systemd-251/src/libudev/ |
D | libudev-list.c | 100 … if (hashmap_ensure_put(&list->unique_entries, &string_hash_ops, entry->name, entry) < 0) in udev_list_entry_add()
|
/systemd-251/src/login/ |
D | logind-brightness.c | 233 r = hashmap_ensure_put(&m->brightness_writers, &brightness_writer_hash_ops, w->path, w); in manager_write_brightness()
|
/systemd-251/src/udev/ |
D | udevadm-monitor.c | 160 r = hashmap_ensure_put(&arg_subsystem_filter, NULL, subsystem, devtype); in parse_argv()
|
/systemd-251/src/network/generator/ |
D | network-generator.c | 196 … r = hashmap_ensure_put(&context->networks_by_name, &string_hash_ops, network->ifname, network); in network_new() 249 r = hashmap_ensure_put(&context->netdevs_by_name, &string_hash_ops, netdev->ifname, netdev); in netdev_new() 320 r = hashmap_ensure_put(&context->links_by_filename, &string_hash_ops, link->filename, link); in link_new()
|
/systemd-251/src/resolve/ |
D | resolved-dnssd.c | 123 r = hashmap_ensure_put(&manager->dnssd_services, &string_hash_ops, service->name, service); in dnssd_service_load()
|
/systemd-251/src/shared/ |
D | bus-unit-procs.c | 107 return hashmap_ensure_put(&cg->pids, &trivial_hash_ops, PID_TO_PTR(pid), (void*) name); in add_process()
|
/systemd-251/src/machine/ |
D | image-dbus.c | 449 r = hashmap_ensure_put(&m->image_cache, &image_hash_ops, image->name, image); in image_object_find()
|