Home
last modified time | relevance | path

Searched refs:positions (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/login/
Dlogind-seat.c78 free(s->positions); in seat_free()
271 if (pos >= MALLOC_ELEMENTSOF(s->positions)) in seat_get_position()
274 return s->positions[pos]; in seat_get_position()
301 if (MALLOC_ELEMENTSOF(s->positions) == 0) in seat_switch_to_next()
308 for (i = start + 1; i < MALLOC_ELEMENTSOF(s->positions); ++i) { in seat_switch_to_next()
324 if (MALLOC_ELEMENTSOF(s->positions) == 0) in seat_switch_to_previous()
335 for (size_t i = MALLOC_ELEMENTSOF(s->positions) - 1; i > start; i--) { in seat_switch_to_previous()
483 if (pos < MALLOC_ELEMENTSOF(s->positions) && s->positions[pos] == session) { in seat_evict_position()
484 s->positions[pos] = NULL; in seat_evict_position()
491 s->positions[pos] = iter; in seat_evict_position()
[all …]
Dlogind-seat.h21 Session **positions; member
Dlogind-dbus.c855 vtnr < MALLOC_ELEMENTSOF(m->seat0->positions) && in method_create_session()
856 m->seat0->positions[vtnr] && in method_create_session()
857 m->seat0->positions[vtnr]->class != SESSION_GREETER) in method_create_session()