Searched refs:sessions_first_unused (Results 1 – 1 of 1) sorted by relevance
148 static int sessions_first_unused = -1; variable1705 sessions[id].next_unused = sessions_first_unused; in session_unused()1706 sessions_first_unused = id; in session_unused()1714 if (sessions_first_unused == -1) { in session_new()1730 if (sessions_first_unused >= sessions_nalloc || in session_new()1731 sessions_first_unused < 0) { in session_new()1733 __func__, sessions_first_unused, options.max_sessions, in session_new()1737 s = &sessions[sessions_first_unused]; in session_new()1740 __func__, sessions_first_unused); in session_new()1742 sessions_first_unused = s->next_unused; in session_new()