Searched refs:GID_TO_PTR (Results 1 - 3 of 3) sorted by relevance

/systemd/src/basic/
H A Duser-util.h65 #define GID_TO_PTR(u) ((void*) (((uintptr_t) (u))+1)) macro
/systemd/src/sysusers/
H A Dsysusers.c166 k = hashmap_put(database_group, n, GID_TO_PTR(gr->gr_gid));
172 q = hashmap_put(database_gid, GID_TO_PTR(gr->gr_gid), n);
416 if (hashmap_contains(todo_gids, GID_TO_PTR(gr->gr_gid))) {
780 i = hashmap_get(todo_gids, GID_TO_PTR(uid));
788 n = hashmap_get(database_gid, GID_TO_PTR(uid));
998 if (hashmap_get(todo_gids, GID_TO_PTR(gid)))
1005 if (hashmap_contains(database_gid, GID_TO_PTR(gid)))
1129 r = hashmap_put(todo_gids, GID_TO_PTR(i->gid), i);
/systemd/src/bus-proxyd/
H A Dbus-xml-policy.c425 first = hashmap_get(p->group_items, GID_TO_PTR(i->gid));
429 r = hashmap_replace(p->group_items, GID_TO_PTR(i->gid), first);
788 items = hashmap_get(p->group_items, GID_TO_PTR(filter->gid));

Completed in 18 milliseconds