/systemd-251/src/test/ |
D | test-hashmap-plain.c | 238 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/ |
D | portabled-image.c | 28 r = hashmap_ensure_allocated(&m->image_cache, &image_hash_ops); in manager_image_cache_initialize()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-cache.c | 46 r = hashmap_ensure_allocated(web_cache, &web_cache_hash_ops); in web_cache_add_item()
|
/systemd-251/src/resolve/ |
D | resolved-etc-hosts.c | 78 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()
|
D | resolved-dns-trust-anchor.c | 77 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()
|
D | resolved-dns-zone.c | 125 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()
|
D | resolved-dns-cache.c | 257 r = hashmap_ensure_allocated(&c->by_key, &dns_resource_key_hash_ops); in dns_cache_init()
|
/systemd-251/src/coredump/ |
D | coredump-vacuum.c | 174 r = hashmap_ensure_allocated(&h, NULL); in coredump_vacuum()
|
/systemd-251/src/sysusers/ |
D | sysusers.c | 164 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/ |
D | bus-polkit.c | 337 r = hashmap_ensure_allocated(registry, NULL); in bus_verify_polkit_async()
|
D | bus-wait-for-units.c | 336 r = hashmap_ensure_allocated(&d->items, &string_hash_ops); in bus_wait_for_units_add_unit()
|
D | bus-unit-procs.c | 274 r = hashmap_ensure_allocated(&names, &trivial_hash_ops); in dump_extra_processes()
|
/systemd-251/src/import/ |
D | curl-util.c | 72 r = hashmap_ensure_allocated(&g->ios, &trivial_hash_ops); in curl_glue_socket_callback()
|
/systemd-251/src/libsystemd/sd-netlink/ |
D | netlink-socket.c | 105 r = hashmap_ensure_allocated(&nl->broadcast_group_refs, NULL); in broadcast_group_set_ref()
|
D | sd-netlink.c | 618 r = hashmap_ensure_allocated(&nl->reply_callbacks, &trivial_hash_ops); in sd_netlink_call_async()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-track.c | 210 r = hashmap_ensure_allocated(&track->names, &track_item_hash_ops); in sd_bus_track_add_name()
|
D | bus-objects.c | 1489 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/ |
D | mmap-cache.c | 552 r = hashmap_ensure_allocated(&m->fds, NULL); in mmap_cache_add_fd()
|
/systemd-251/src/core/ |
D | manager-serialize.c | 269 if (hashmap_ensure_allocated(uid_refs, &trivial_hash_ops) < 0) { in manager_deserialize_uid_refs_one_internal()
|
D | dynamic-user.c | 49 r = hashmap_ensure_allocated(&m->dynamic_users, &string_hash_ops); in dynamic_user_add()
|
D | manager.c | 894 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()
|
D | unit.c | 908 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()
|
D | device.c | 69 r = hashmap_ensure_allocated(&UNIT(d)->manager->devices_by_sysfs, &path_hash_ops); in device_set_sysfs()
|
/systemd-251/src/basic/ |
D | hashmap.h | 140 #define hashmap_ensure_allocated(h, ops) _hashmap_ensure_allocated(h, ops HASHMAP_DEBUG_SRC_ARGS) macro
|
/systemd-251/src/libsystemd/sd-event/ |
D | sd-event.c | 1423 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()
|