Searched refs:sessions_first_unused (Results 1 – 1 of 1) sorted by relevance
148 static int sessions_first_unused = -1; variable1712 sessions[id].next_unused = sessions_first_unused; in session_unused()1713 sessions_first_unused = id; in session_unused()1721 if (sessions_first_unused == -1) { in session_new()1737 if (sessions_first_unused >= sessions_nalloc || in session_new()1738 sessions_first_unused < 0) { in session_new()1740 __func__, sessions_first_unused, options.max_sessions, in session_new()1744 s = &sessions[sessions_first_unused]; in session_new()1747 __func__, sessions_first_unused); in session_new()1749 sessions_first_unused = s->next_unused; in session_new()