Searched refs:sessions_first_unused (Results 1 – 1 of 1) sorted by relevance
149 static int sessions_first_unused = -1; variable1909 sessions[id].next_unused = sessions_first_unused; in session_unused()1910 sessions_first_unused = id; in session_unused()1918 if (sessions_first_unused == -1) { in session_new()1934 if (sessions_first_unused >= sessions_nalloc || in session_new()1935 sessions_first_unused < 0) { in session_new()1937 __func__, sessions_first_unused, options.max_sessions, in session_new()1941 s = &sessions[sessions_first_unused]; in session_new()1944 __func__, sessions_first_unused); in session_new()1946 sessions_first_unused = s->next_unused; in session_new()