Home
last modified time | relevance | path

Searched refs:trivial_hash_ops (Results 1 – 12 of 12) sorted by relevance

/systemd-251/src/shared/
Dbus-unit-procs.c107 return hashmap_ensure_put(&cg->pids, &trivial_hash_ops, PID_TO_PTR(pid), (void*) name); in add_process()
274 r = hashmap_ensure_allocated(&names, &trivial_hash_ops); in dump_extra_processes()
/systemd-251/src/basic/
Dhash-funcs.c73 const struct hash_ops trivial_hash_ops = { variable
Dhash-funcs.h91 extern const struct hash_ops trivial_hash_ops;
Dhashmap.c784 h->hash_ops = hash_ops ?: &trivial_hash_ops; in hashmap_base_new()
/systemd-251/src/import/
Dcurl-util.c72 r = hashmap_ensure_allocated(&g->ios, &trivial_hash_ops); in curl_glue_socket_callback()
Dimportd.c170 r = hashmap_ensure_put(&m->transfers, &trivial_hash_ops, UINT32_TO_PTR(id), t); in transfer_new()
/systemd-251/src/test/
Dtest-mountpoint-util.c60 assert_se(h = hashmap_new(&trivial_hash_ops)); in TEST()
Dtest-hashmap-plain.c380 m = hashmap_new(&trivial_hash_ops); in TEST()
438 r = hashmap_ensure_allocated(&m, &trivial_hash_ops); in TEST()
/systemd-251/src/core/
Dmanager-serialize.c269 if (hashmap_ensure_allocated(uid_refs, &trivial_hash_ops) < 0) { in manager_deserialize_uid_refs_one_internal()
Dcgroup.c2046 … r = hashmap_ensure_allocated(&u->manager->cgroup_control_inotify_wd_unit, &trivial_hash_ops); in unit_watch_cgroup()
2109 r = hashmap_ensure_allocated(&u->manager->cgroup_memory_inotify_wd_unit, &trivial_hash_ops); in unit_watch_cgroup_memory()
Dmanager.c4312 r = hashmap_ensure_allocated(uid_refs, &trivial_hash_ops); in manager_ref_uid_internal()
/systemd-251/src/libsystemd/sd-netlink/
Dsd-netlink.c618 r = hashmap_ensure_allocated(&nl->reply_callbacks, &trivial_hash_ops); in sd_netlink_call_async()