Home
last modified time | relevance | path

Searched refs:GID_TO_PTR (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/sysusers/
Dsysusers.c238 k = hashmap_put(database_by_groupname, n, GID_TO_PTR(gr->gr_gid)); in load_group_database()
242 q = hashmap_put(database_by_gid, GID_TO_PTR(gr->gr_gid), n); in load_group_database()
698 if (ordered_hashmap_contains(todo_gids, GID_TO_PTR(gr->gr_gid))) in write_temporary_group()
948 i = ordered_hashmap_get(todo_gids, GID_TO_PTR(uid)); in uid_is_ok()
960 n = hashmap_get(database_by_gid, GID_TO_PTR(uid)); in uid_is_ok()
1176 if (ordered_hashmap_get(todo_gids, GID_TO_PTR(gid))) in gid_is_ok()
1183 if (hashmap_contains(database_by_gid, GID_TO_PTR(gid))) in gid_is_ok()
1327 r = ordered_hashmap_ensure_put(&todo_gids, NULL, GID_TO_PTR(i->gid), i); in add_group()
/systemd-251/src/basic/
Duser-util.h91 #define GID_TO_PTR(u) ((void*) (((uintptr_t) (u))+1)) macro
/systemd-251/src/tmpfiles/
Doffline-passwd.c97 r = hashmap_put(cache, n, GID_TO_PTR(gr->gr_gid)); in populate_gid_cache()
/systemd-251/src/udev/
Dudev-rules.c382 r = hashmap_ensure_put(&rules->known_groups, &string_hash_ops, n, GID_TO_PTR(gid)); in rule_resolve_group()
894 … r = rule_line_add_token(rule_line, TK_A_GROUP_ID, op, NULL, GID_TO_PTR(gid)); in parse_token()
901 … r = rule_line_add_token(rule_line, TK_A_GROUP_ID, op, NULL, GID_TO_PTR(gid)); in parse_token()