Lines Matching refs:session_t
160 } session_t; typedef
162 static void free_session(session_t *);
163 static session_t *new_session(session_t *, struct ttyent *);
164 static session_t *sessions;
167 static void start_window_system(session_t *);
169 static pid_t start_getty(session_t *);
174 static int setupargv(session_t *, struct ttyent *);
181 static void add_session(session_t *);
182 static void del_session(session_t *);
183 static session_t *find_session(pid_t);
1203 add_session(session_t *sp) in add_session()
1221 del_session(session_t *sp) in del_session()
1235 static session_t *
1240 session_t *ret; in find_session()
1273 free_session(session_t *sp) in free_session()
1295 static session_t *
1296 new_session(session_t *sprev, struct ttyent *typ) in new_session()
1298 session_t *sp; in new_session()
1305 sp = (session_t *) calloc(1, sizeof (session_t)); in new_session()
1339 setupargv(session_t *sp, struct ttyent *typ) in setupargv()
1390 session_t *sp, *snext; in read_ttys()
1422 start_window_system(session_t *sp) in start_window_system()
1477 start_getty(session_t *sp) in start_getty()
1541 session_has_no_tty(session_t *sp) in session_has_no_tty()
1567 session_t *sp, *sprev, *snext; in collect_child()
1707 session_t *sp; in multi_user()
1753 session_t *sp, *sprev; in clean_ttys()
1839 session_t *sp; in catatonia()
1930 session_t *sp; in revoke_ttys()