Lines Matching refs:sessions_nalloc
150 static int sessions_nalloc = 0; variable
1897 id >= sessions_nalloc) { in session_unused()
1899 __func__, id, options.max_sessions, sessions_nalloc); in session_unused()
1919 if (sessions_nalloc >= options.max_sessions) in session_new()
1922 __func__, sessions_nalloc, options.max_sessions); in session_new()
1923 tmp = xrealloc(sessions, sessions_nalloc + 1, in session_new()
1927 __func__, sessions_nalloc + 1); in session_new()
1931 session_unused(sessions_nalloc++); in session_new()
1934 if (sessions_first_unused >= sessions_nalloc || in session_new()
1938 sessions_nalloc); in session_new()
1958 for (i = 0; i < sessions_nalloc; i++) { in session_dump()
1994 for (i = 0; i < sessions_nalloc; i++) { in session_by_tty()
2010 for (i = 0; i < sessions_nalloc; i++) { in session_by_channel()
2028 for (i = 0; i < sessions_nalloc; i++) { in session_by_x11_channel()
2051 for (i = 0; i < sessions_nalloc; i++) { in session_by_pid()
2594 for (i = 0; i < sessions_nalloc; i++) { in session_destroy_all()
2613 for (i = 0; i < sessions_nalloc; i++) { in session_tty_list()