Lines Matching refs:session_cache_head
1272 if (s->prev == (SSL_SESSION *)&(ctx->session_cache_head)) { in SSL_SESSION_list_remove()
1274 ctx->session_cache_head = NULL; in SSL_SESSION_list_remove()
1281 if (s->prev == (SSL_SESSION *)&(ctx->session_cache_head)) { in SSL_SESSION_list_remove()
1283 ctx->session_cache_head = s->next; in SSL_SESSION_list_remove()
1284 s->next->prev = (SSL_SESSION *)&(ctx->session_cache_head); in SSL_SESSION_list_remove()
1302 if (ctx->session_cache_head == NULL) { in SSL_SESSION_list_add()
1303 ctx->session_cache_head = s; in SSL_SESSION_list_add()
1305 s->prev = (SSL_SESSION *)&(ctx->session_cache_head); in SSL_SESSION_list_add()
1308 if (timeoutcmp(s, ctx->session_cache_head) >= 0) { in SSL_SESSION_list_add()
1313 s->next = ctx->session_cache_head; in SSL_SESSION_list_add()
1315 s->prev = (SSL_SESSION *)&(ctx->session_cache_head); in SSL_SESSION_list_add()
1316 ctx->session_cache_head = s; in SSL_SESSION_list_add()
1328 next = ctx->session_cache_head->next; in SSL_SESSION_list_add()