Lines Matching refs:sessions_nalloc
149 static int sessions_nalloc = 0; variable
1693 id >= sessions_nalloc) { in session_unused()
1695 __func__, id, options.max_sessions, sessions_nalloc); in session_unused()
1715 if (sessions_nalloc >= options.max_sessions) in session_new()
1718 __func__, sessions_nalloc, options.max_sessions); in session_new()
1719 tmp = xreallocarray(sessions, sessions_nalloc + 1, in session_new()
1723 __func__, sessions_nalloc + 1); in session_new()
1727 session_unused(sessions_nalloc++); in session_new()
1730 if (sessions_first_unused >= sessions_nalloc || in session_new()
1734 sessions_nalloc); in session_new()
1754 for (i = 0; i < sessions_nalloc; i++) { in session_dump()
1790 for (i = 0; i < sessions_nalloc; i++) { in session_by_tty()
1806 for (i = 0; i < sessions_nalloc; i++) { in session_by_channel()
1824 for (i = 0; i < sessions_nalloc; i++) { in session_by_x11_channel()
1847 for (i = 0; i < sessions_nalloc; i++) { in session_by_pid()
2392 for (i = 0; i < sessions_nalloc; i++) { in session_destroy_all()
2411 for (i = 0; i < sessions_nalloc; i++) { in session_tty_list()