Home
last modified time | relevance | path

Searched refs:uid_refs (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/core/
Dmanager-serialize.c49 Hashmap *uid_refs, in manager_serialize_uid_refs_internal() argument
60 HASHMAP_FOREACH_KEY(p, k, uid_refs) { in manager_serialize_uid_refs_internal()
75 manager_serialize_uid_refs_internal(f, m->uid_refs, "destroy-ipc-uid"); in manager_serialize_uid_refs()
253 Hashmap** uid_refs, in manager_deserialize_uid_refs_one_internal() argument
260 assert(uid_refs); in manager_deserialize_uid_refs_one_internal()
269 if (hashmap_ensure_allocated(uid_refs, &trivial_hash_ops) < 0) { in manager_deserialize_uid_refs_one_internal()
274 c = PTR_TO_UINT32(hashmap_get(*uid_refs, UID_TO_PTR(uid))); in manager_deserialize_uid_refs_one_internal()
280 r = hashmap_replace(*uid_refs, UID_TO_PTR(uid), UINT32_TO_PTR(c)); in manager_deserialize_uid_refs_one_internal()
288 manager_deserialize_uid_refs_one_internal(&m->uid_refs, value); in manager_deserialize_uid_refs_one()
Dmanager.c1556 hashmap_free(m->uid_refs); in manager_free()
3371 m->uid_refs = hashmap_free(m->uid_refs); in manager_reload()
4239 Hashmap *uid_refs, in manager_unref_uid_internal() argument
4263 c = PTR_TO_UINT32(hashmap_get(uid_refs, UID_TO_PTR(uid))); in manager_unref_uid_internal()
4270 hashmap_remove(uid_refs, UID_TO_PTR(uid)); in manager_unref_uid_internal()
4280 assert_se(hashmap_update(uid_refs, UID_TO_PTR(uid), UINT32_TO_PTR(c)) >= 0); in manager_unref_uid_internal()
4285 manager_unref_uid_internal(m->uid_refs, uid, destroy_now, clean_ipc_by_uid); in manager_unref_uid()
4293 Hashmap **uid_refs, in manager_ref_uid_internal() argument
4300 assert(uid_refs); in manager_ref_uid_internal()
4312 r = hashmap_ensure_allocated(uid_refs, &trivial_hash_ops); in manager_ref_uid_internal()
[all …]
Dmanager.h421 Hashmap *uid_refs; member