Home
last modified time | relevance | path

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

/systemd-251/src/login/
Dlogind.h32 Hashmap *sessions_by_leader; member
Dlogind.c64 m->sessions_by_leader = hashmap_new(NULL); in manager_new()
72 …if (!m->devices || !m->seats || !m->sessions || !m->sessions_by_leader || !m->users || !m->inhibit… in manager_new()
127 hashmap_free(m->sessions_by_leader); in manager_unref()
Dlogind-core.c366 s = hashmap_get(m->sessions_by_leader, PID_TO_PTR(pid)); in manager_get_session_by_pid()
751 s = hashmap_get(m->sessions_by_leader, PID_TO_PTR(u->ut_pid)); in manager_read_utmp()
Dlogind-session.c131 … (void) hashmap_remove_value(s->manager->sessions_by_leader, PID_TO_PTR(s->leader), s); in session_free()
178 r = hashmap_put(s->manager->sessions_by_leader, PID_TO_PTR(pid), s); in session_set_leader()
183 … (void) hashmap_remove_value(s->manager->sessions_by_leader, PID_TO_PTR(s->leader), s); in session_set_leader()