Lines Matching refs:session_cache_head
1106 if (s->prev == (SSL_SESSION *)&(ctx->session_cache_head)) { in SSL_SESSION_list_remove()
1108 ctx->session_cache_head = NULL; in SSL_SESSION_list_remove()
1115 if (s->prev == (SSL_SESSION *)&(ctx->session_cache_head)) { in SSL_SESSION_list_remove()
1117 ctx->session_cache_head = s->next; in SSL_SESSION_list_remove()
1118 s->next->prev = (SSL_SESSION *)&(ctx->session_cache_head); in SSL_SESSION_list_remove()
1133 if (ctx->session_cache_head == NULL) { in SSL_SESSION_list_add()
1134 ctx->session_cache_head = s; in SSL_SESSION_list_add()
1136 s->prev = (SSL_SESSION *)&(ctx->session_cache_head); in SSL_SESSION_list_add()
1139 s->next = ctx->session_cache_head; in SSL_SESSION_list_add()
1141 s->prev = (SSL_SESSION *)&(ctx->session_cache_head); in SSL_SESSION_list_add()
1142 ctx->session_cache_head = s; in SSL_SESSION_list_add()