Home
last modified time | relevance | path

Searched refs:hashmap_ensure_allocated (Results 1 – 25 of 35) sorted by relevance

12

/systemd-251/src/test/
Dtest-hashmap-plain.c238 assert_se(hashmap_ensure_allocated(&m, &string_hash_ops) == 1); in TEST()
427 TEST(hashmap_ensure_allocated) { in TEST() argument
431 r = hashmap_ensure_allocated(&m, &string_hash_ops); in TEST()
434 r = hashmap_ensure_allocated(&m, &string_hash_ops); in TEST()
438 r = hashmap_ensure_allocated(&m, &trivial_hash_ops); in TEST()
/systemd-251/src/portable/
Dportabled-image.c28 r = hashmap_ensure_allocated(&m->image_cache, &image_hash_ops); in manager_image_cache_initialize()
/systemd-251/src/sysupdate/
Dsysupdate-cache.c46 r = hashmap_ensure_allocated(web_cache, &web_cache_hash_ops); in web_cache_add_item()
/systemd-251/src/resolve/
Dresolved-etc-hosts.c78 r = hashmap_ensure_allocated(&hosts->by_address, &in_addr_data_hash_ops); in parse_line()
136 r = hashmap_ensure_allocated(&hosts->by_name, &dns_name_hash_ops); in parse_line()
Dresolved-dns-trust-anchor.c77 r = hashmap_ensure_allocated(&d->positive_by_key, &dns_resource_key_hash_ops); in dns_trust_anchor_add_builtin_positive()
353 r = hashmap_ensure_allocated(&d->positive_by_key, &dns_resource_key_hash_ops); in dns_trust_anchor_load_positive()
Dresolved-dns-zone.c125 r = hashmap_ensure_allocated(&z->by_key, &dns_resource_key_hash_ops); in dns_zone_init()
129 r = hashmap_ensure_allocated(&z->by_name, &dns_name_hash_ops); in dns_zone_init()
Dresolved-dns-cache.c257 r = hashmap_ensure_allocated(&c->by_key, &dns_resource_key_hash_ops); in dns_cache_init()
/systemd-251/src/coredump/
Dcoredump-vacuum.c174 r = hashmap_ensure_allocated(&h, NULL); in coredump_vacuum()
/systemd-251/src/sysusers/
Dsysusers.c164 r = hashmap_ensure_allocated(&database_by_username, &string_hash_ops); in load_user_database()
168 r = hashmap_ensure_allocated(&database_by_uid, NULL); in load_user_database()
212 r = hashmap_ensure_allocated(&database_by_groupname, &string_hash_ops); in load_group_database()
216 r = hashmap_ensure_allocated(&database_by_gid, NULL); in load_group_database()
/systemd-251/src/shared/
Dbus-polkit.c337 r = hashmap_ensure_allocated(registry, NULL); in bus_verify_polkit_async()
Dbus-wait-for-units.c336 r = hashmap_ensure_allocated(&d->items, &string_hash_ops); in bus_wait_for_units_add_unit()
Dbus-unit-procs.c274 r = hashmap_ensure_allocated(&names, &trivial_hash_ops); in dump_extra_processes()
/systemd-251/src/import/
Dcurl-util.c72 r = hashmap_ensure_allocated(&g->ios, &trivial_hash_ops); in curl_glue_socket_callback()
/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-socket.c105 r = hashmap_ensure_allocated(&nl->broadcast_group_refs, NULL); in broadcast_group_set_ref()
Dsd-netlink.c618 r = hashmap_ensure_allocated(&nl->reply_callbacks, &trivial_hash_ops); in sd_netlink_call_async()
/systemd-251/src/libsystemd/sd-bus/
Dbus-track.c210 r = hashmap_ensure_allocated(&track->names, &track_item_hash_ops); in sd_bus_track_add_name()
Dbus-objects.c1489 r = hashmap_ensure_allocated(&bus->nodes, &string_hash_ops); in bus_node_allocate()
1801 r = hashmap_ensure_allocated(&bus->vtable_methods, &vtable_member_hash_ops); in add_object_vtable_internal()
1805 r = hashmap_ensure_allocated(&bus->vtable_properties, &vtable_member_hash_ops); in add_object_vtable_internal()
/systemd-251/src/libsystemd/sd-journal/
Dmmap-cache.c552 r = hashmap_ensure_allocated(&m->fds, NULL); in mmap_cache_add_fd()
/systemd-251/src/core/
Dmanager-serialize.c269 if (hashmap_ensure_allocated(uid_refs, &trivial_hash_ops) < 0) { in manager_deserialize_uid_refs_one_internal()
Ddynamic-user.c49 r = hashmap_ensure_allocated(&m->dynamic_users, &string_hash_ops); in dynamic_user_add()
Dmanager.c894 r = hashmap_ensure_allocated(&m->units, &string_hash_ops); in manager_new()
898 r = hashmap_ensure_allocated(&m->cgroup_unit, &path_hash_ops); in manager_new()
902 r = hashmap_ensure_allocated(&m->watch_bus, &string_hash_ops); in manager_new()
4312 r = hashmap_ensure_allocated(uid_refs, &trivial_hash_ops); in manager_ref_uid_internal()
Dunit.c908 r = hashmap_ensure_allocated(&u->dependencies, NULL); in unit_reserve_dependencies()
1022 r = hashmap_ensure_allocated(dependencies, NULL); in unit_add_dependency_hashmap()
2800 r = hashmap_ensure_allocated(&u->manager->watch_pids, NULL); in unit_watch_pid()
3281 r = hashmap_ensure_allocated(&u->manager->units_by_invocation_id, &id128_hash_ops); in unit_set_invocation_id()
4686 … r = hashmap_ensure_allocated(&u->manager->units_requiring_mounts_for, &path_hash_ops); in unit_require_mounts_for()
Ddevice.c69 r = hashmap_ensure_allocated(&UNIT(d)->manager->devices_by_sysfs, &path_hash_ops); in device_set_sysfs()
/systemd-251/src/basic/
Dhashmap.h140 #define hashmap_ensure_allocated(h, ops) _hashmap_ensure_allocated(h, ops HASHMAP_DEBUG_SRC_ARGS) macro
/systemd-251/src/libsystemd/sd-event/
Dsd-event.c1423 r = hashmap_ensure_allocated(&e->child_sources, NULL); in sd_event_add_child()
1515 r = hashmap_ensure_allocated(&e->child_sources, NULL); in sd_event_add_child_pidfd()
1900 r = hashmap_ensure_allocated(&inotify_data->inodes, &inode_data_hash_ops); in event_make_inode_data()
1965 r = hashmap_ensure_allocated(&d->inotify_data->wd, NULL); in inode_data_realize_watch()

12