Lines Matching refs:user
26 #include "logind-user.h"
29 #include "user-util.h"
262 User *user;
271 if (streq(path, "/org/freedesktop/login1/user/self")) {
287 p = startswith(path, "/org/freedesktop/login1/user/_");
296 user = hashmap_get(m->users, UID_TO_PTR(uid));
297 if (!user)
300 *found = user;
309 if (asprintf(&s, "/org/freedesktop/login1/user/_"UID_FMT, u->uid) < 0)
319 User *user;
327 HASHMAP_FOREACH(user, m->users, i) {
330 p = user_bus_path(user);
348 user = hashmap_get(m->users, UID_TO_PTR(uid));
349 if (user) {
350 r = strv_extend(&l, "/org/freedesktop/login1/user/self");