Searched refs:ses_delay_freed (Results 1 – 9 of 9) sorted by relevance
339 (void) pthread_mutex_lock(&ses_delay_freed.ses_to_be_free_mutex); in meta_session_delay_free()343 if (ses_delay_freed.first == NULL) { in meta_session_delay_free()344 ses_delay_freed.last = sp; in meta_session_delay_free()345 ses_delay_freed.first = sp; in meta_session_delay_free()347 ses_delay_freed.last->next = sp; in meta_session_delay_free()348 ses_delay_freed.last = sp; in meta_session_delay_free()351 if (++ses_delay_freed.count >= MAX_SESSION_TO_BE_FREED) { in meta_session_delay_free()356 ses_delay_freed.count--; in meta_session_delay_free()357 tmp = ses_delay_freed.first->next; in meta_session_delay_free()358 free(ses_delay_freed.first); in meta_session_delay_free()[all …]
113 ses_to_be_freed_list_t ses_delay_freed; variable171 (void) pthread_mutex_init(&ses_delay_freed.ses_to_be_free_mutex, NULL); in meta_Initialize()172 ses_delay_freed.count = 0; in meta_Initialize()173 ses_delay_freed.first = NULL; in meta_Initialize()174 ses_delay_freed.last = NULL; in meta_Initialize()226 delay_free_ses = ses_delay_freed.first; in meta_Finalize()232 (void) pthread_mutex_destroy(&ses_delay_freed.ses_to_be_free_mutex); in meta_Finalize()
560 extern ses_to_be_freed_list_t ses_delay_freed;
442 (void) pthread_mutex_lock(&ses_delay_freed.ses_to_be_free_mutex); in kernel_session_delay_free()446 if (ses_delay_freed.first == NULL) { in kernel_session_delay_free()447 ses_delay_freed.last = sp; in kernel_session_delay_free()448 ses_delay_freed.first = sp; in kernel_session_delay_free()450 ses_delay_freed.last->next = sp; in kernel_session_delay_free()451 ses_delay_freed.last = sp; in kernel_session_delay_free()454 if (++ses_delay_freed.count >= MAX_SES_TO_BE_FREED) { in kernel_session_delay_free()459 ses_delay_freed.count--; in kernel_session_delay_free()460 tmp = ses_delay_freed.first->next; in kernel_session_delay_free()461 free(ses_delay_freed.first); in kernel_session_delay_free()[all …]
122 ses_to_be_freed_list_t ses_delay_freed; variable241 (void) pthread_mutex_init(&ses_delay_freed.ses_to_be_free_mutex, NULL); in C_Initialize()242 ses_delay_freed.count = 0; in C_Initialize()243 ses_delay_freed.first = NULL; in C_Initialize()244 ses_delay_freed.last = NULL; in C_Initialize()350 delay_free_ses = ses_delay_freed.first; in finalize_common()356 (void) pthread_mutex_destroy(&ses_delay_freed.ses_to_be_free_mutex); in finalize_common()477 &ses_delay_freed.ses_to_be_free_mutex); in kernel_fork_prepare()492 &ses_delay_freed.ses_to_be_free_mutex); in kernel_fork_after()
120 extern ses_to_be_freed_list_t ses_delay_freed;
129 ses_to_be_freed_list_t ses_delay_freed; variable265 if (pthread_mutex_init(&ses_delay_freed.ses_to_be_free_mutex, NULL) in C_Initialize()276 ses_delay_freed.count = 0; in C_Initialize()277 ses_delay_freed.first = NULL; in C_Initialize()278 ses_delay_freed.last = NULL; in C_Initialize()282 &ses_delay_freed.ses_to_be_free_mutex); in C_Initialize()393 delay_free_ses = ses_delay_freed.first; in finalize_common()399 (void) pthread_mutex_destroy(&ses_delay_freed.ses_to_be_free_mutex); in finalize_common()516 &ses_delay_freed.ses_to_be_free_mutex); in softtoken_fork_prepare()529 &ses_delay_freed.ses_to_be_free_mutex); in softtoken_fork_after()
198 (void) pthread_mutex_lock(&ses_delay_freed.ses_to_be_free_mutex); in session_delay_free()202 if (ses_delay_freed.first == NULL) { in session_delay_free()203 ses_delay_freed.last = sp; in session_delay_free()204 ses_delay_freed.first = sp; in session_delay_free()206 ses_delay_freed.last->next = sp; in session_delay_free()207 ses_delay_freed.last = sp; in session_delay_free()210 if (++ses_delay_freed.count >= MAX_SES_TO_BE_FREED) { in session_delay_free()215 ses_delay_freed.count--; in session_delay_free()216 tmp = ses_delay_freed.first->next; in session_delay_free()217 free(ses_delay_freed.first); in session_delay_free()[all …]
43 extern struct ses_to_be_freed_list ses_delay_freed;