Searched refs:UID_TO_PTR (Results 1 - 11 of 11) sorted by relevance
/systemd/src/basic/ |
H A D | user-util.h | 62 #define UID_TO_PTR(u) ((void*) (((uintptr_t) (u))+1)) macro
|
/systemd/src/coredump/ |
H A D | coredump-vacuum.c | 201 c = hashmap_get(h, UID_TO_PTR(uid)); 229 r = hashmap_put(h, UID_TO_PTR(uid), n);
|
/systemd/src/sysusers/ |
H A D | sysusers.c | 114 k = hashmap_put(database_user, n, UID_TO_PTR(pw->pw_uid)); 120 q = hashmap_put(database_uid, UID_TO_PTR(pw->pw_uid), n); 557 if (hashmap_contains(todo_uids, UID_TO_PTR(pw->pw_uid))) { 647 hashmap_remove(todo_uids, UID_TO_PTR(i->uid)); 775 if (hashmap_get(todo_uids, UID_TO_PTR(uid))) 785 if (hashmap_contains(database_uid, UID_TO_PTR(uid))) 984 r = hashmap_put(todo_uids, UID_TO_PTR(i->uid), i); 1002 if (hashmap_get(todo_uids, UID_TO_PTR(gid))) 1008 if (hashmap_contains(database_uid, UID_TO_PTR(gid)))
|
/systemd/src/login/ |
H A D | logind-user-dbus.c | 296 user = hashmap_get(m->users, UID_TO_PTR(uid)); 348 user = hashmap_get(m->users, UID_TO_PTR(uid));
|
H A D | logind-user.c | 88 r = hashmap_put(m->users, UID_TO_PTR(uid), u); 121 hashmap_remove_value(u->manager->users, UID_TO_PTR(u->uid), u);
|
H A D | logind-core.c | 104 u = hashmap_get(m->users, UID_TO_PTR(uid));
|
H A D | logind-session.c | 372 user = hashmap_get(s->manager->users, UID_TO_PTR(u));
|
H A D | logind-dbus.c | 101 user = hashmap_get(m->users, UID_TO_PTR(uid)); 1155 u = hashmap_get(m->users, UID_TO_PTR(uid));
|
/systemd/src/bus-proxyd/ |
H A D | bus-xml-policy.c | 393 first = hashmap_get(p->user_items, UID_TO_PTR(i->uid)); 397 r = hashmap_replace(p->user_items, UID_TO_PTR(i->uid), first); 797 items = hashmap_get(p->user_items, UID_TO_PTR(filter->uid));
|
/systemd/src/test/ |
H A D | test-util.c | 1477 assert_se(UID_TO_PTR(0) != NULL); 1478 assert_se(UID_TO_PTR(1000) != NULL); 1480 assert_se(PTR_TO_UID(UID_TO_PTR(0)) == 0); 1481 assert_se(PTR_TO_UID(UID_TO_PTR(1000)) == 1000);
|
/systemd/src/journal/ |
H A D | journald-server.c | 293 f = ordered_hashmap_get(s->user_journals, UID_TO_PTR(uid)); 314 r = ordered_hashmap_put(s->user_journals, UID_TO_PTR(uid), f);
|
Completed in 302 milliseconds