Searched refs:trivial_hash_ops (Results 1 – 12 of 12) sorted by relevance
/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() 274 r = hashmap_ensure_allocated(&names, &trivial_hash_ops); in dump_extra_processes()
|
/systemd-251/src/basic/ |
D | hash-funcs.c | 73 const struct hash_ops trivial_hash_ops = { variable
|
D | hash-funcs.h | 91 extern const struct hash_ops trivial_hash_ops;
|
D | hashmap.c | 784 h->hash_ops = hash_ops ?: &trivial_hash_ops; in hashmap_base_new()
|
/systemd-251/src/import/ |
D | curl-util.c | 72 r = hashmap_ensure_allocated(&g->ios, &trivial_hash_ops); in curl_glue_socket_callback()
|
D | importd.c | 170 r = hashmap_ensure_put(&m->transfers, &trivial_hash_ops, UINT32_TO_PTR(id), t); in transfer_new()
|
/systemd-251/src/test/ |
D | test-mountpoint-util.c | 60 assert_se(h = hashmap_new(&trivial_hash_ops)); in TEST()
|
D | test-hashmap-plain.c | 380 m = hashmap_new(&trivial_hash_ops); in TEST() 438 r = hashmap_ensure_allocated(&m, &trivial_hash_ops); in TEST()
|
/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 | cgroup.c | 2046 … 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()
|
D | manager.c | 4312 r = hashmap_ensure_allocated(uid_refs, &trivial_hash_ops); in manager_ref_uid_internal()
|
/systemd-251/src/libsystemd/sd-netlink/ |
D | sd-netlink.c | 618 r = hashmap_ensure_allocated(&nl->reply_callbacks, &trivial_hash_ops); in sd_netlink_call_async()
|