Lines Matching refs:sessions
175 static session_t *sessions;
1323 sessions = sp;
1383 * Walk the list of ttys and create sessions for each active line.
1395 for (sp = sessions; sp; sp = snext) {
1399 sessions = 0;
1567 if (! sessions)
1581 sessions = sp->se_next;
1660 for (sp = sessions; sp; sp = sp->se_next) {
1694 * mark all sessions for death, (!SE_PRESENT)
1698 for (sp = sessions; sp != NULL; sp = sp->se_next)
1703 for (sprev = 0, sp = sessions; sp; sprev = sp, sp = sp->se_next)
1755 * sweep through and kill all deleted sessions
1758 for (sp = sessions; sp != NULL; sp = sp->se_next) {
1776 for (sp = sessions; sp; sp = sp->se_next)
1866 for (sp = sessions; sp; sp = sp->se_next) {