Lines Matching refs:session_cache_tail
783 if (!remove_session_lock(ctx, ctx->session_cache_tail, 0)) in SSL_CTX_add_session()
1224 while (s->session_cache_tail != NULL) { in SSL_CTX_flush_sessions_ex()
1225 current = s->session_cache_tail; in SSL_CTX_flush_sessions_ex()
1270 if (s->next == (SSL_SESSION *)&(ctx->session_cache_tail)) { in SSL_SESSION_list_remove()
1275 ctx->session_cache_tail = NULL; in SSL_SESSION_list_remove()
1277 ctx->session_cache_tail = s->prev; in SSL_SESSION_list_remove()
1278 s->prev->next = (SSL_SESSION *)&(ctx->session_cache_tail); in SSL_SESSION_list_remove()
1304 ctx->session_cache_tail = s; in SSL_SESSION_list_add()
1306 s->next = (SSL_SESSION *)&(ctx->session_cache_tail); in SSL_SESSION_list_add()
1317 } else if (timeoutcmp(s, ctx->session_cache_tail) < 0) { in SSL_SESSION_list_add()
1319 s->prev = ctx->session_cache_tail; in SSL_SESSION_list_add()
1321 s->next = (SSL_SESSION *)&(ctx->session_cache_tail); in SSL_SESSION_list_add()
1322 ctx->session_cache_tail = s; in SSL_SESSION_list_add()
1329 while (next != (SSL_SESSION*)&(ctx->session_cache_tail)) { in SSL_SESSION_list_add()