Searched refs:obj_delay_freed (Results 1 – 9 of 9) sorted by relevance
114 object_to_be_freed_list_t obj_delay_freed; variable165 (void) pthread_mutex_init(&obj_delay_freed.obj_to_be_free_mutex, NULL); in meta_Initialize()166 obj_delay_freed.count = 0; in meta_Initialize()167 obj_delay_freed.first = NULL; in meta_Initialize()168 obj_delay_freed.last = NULL; in meta_Initialize()218 delay_free_obj = obj_delay_freed.first; in meta_Finalize()224 (void) pthread_mutex_destroy(&obj_delay_freed.obj_to_be_free_mutex); in meta_Finalize()
1789 (void) pthread_mutex_lock(&obj_delay_freed.obj_to_be_free_mutex); in meta_object_delay_free()1793 if (obj_delay_freed.first == NULL) { in meta_object_delay_free()1794 obj_delay_freed.last = objp; in meta_object_delay_free()1795 obj_delay_freed.first = objp; in meta_object_delay_free()1797 obj_delay_freed.last->next = objp; in meta_object_delay_free()1798 obj_delay_freed.last = objp; in meta_object_delay_free()1801 if (++obj_delay_freed.count >= MAX_OBJ_TO_BE_FREED) { in meta_object_delay_free()1806 obj_delay_freed.count--; in meta_object_delay_free()1807 tmp = obj_delay_freed.first->next; in meta_object_delay_free()1808 free(obj_delay_freed.first); in meta_object_delay_free()[all …]
561 extern object_to_be_freed_list_t obj_delay_freed;
128 obj_to_be_freed_list_t obj_delay_freed; variable252 if (pthread_mutex_init(&obj_delay_freed.obj_to_be_free_mutex, NULL) in C_Initialize()261 obj_delay_freed.count = 0; in C_Initialize()262 obj_delay_freed.first = NULL; in C_Initialize()263 obj_delay_freed.last = NULL; in C_Initialize()268 &obj_delay_freed.obj_to_be_free_mutex); in C_Initialize()284 &obj_delay_freed.obj_to_be_free_mutex); in C_Initialize()383 delay_free_obj = obj_delay_freed.first; in finalize_common()391 (void) pthread_mutex_destroy(&obj_delay_freed.obj_to_be_free_mutex); in finalize_common()514 &obj_delay_freed.obj_to_be_free_mutex); in softtoken_fork_prepare()[all …]
393 (void) pthread_mutex_lock(&obj_delay_freed.obj_to_be_free_mutex); in object_delay_free()397 if (obj_delay_freed.first == NULL) { in object_delay_free()398 obj_delay_freed.last = objp; in object_delay_free()399 obj_delay_freed.first = objp; in object_delay_free()401 obj_delay_freed.last->next = objp; in object_delay_free()402 obj_delay_freed.last = objp; in object_delay_free()405 if (++obj_delay_freed.count >= MAX_OBJ_TO_BE_FREED) { in object_delay_free()410 obj_delay_freed.count--; in object_delay_free()411 tmp = obj_delay_freed.first->next; in object_delay_free()412 free(obj_delay_freed.first); in object_delay_free()[all …]
42 extern struct obj_to_be_freed_list obj_delay_freed;
123 object_to_be_freed_list_t obj_delay_freed; variable235 (void) pthread_mutex_init(&obj_delay_freed.obj_to_be_free_mutex, NULL); in C_Initialize()236 obj_delay_freed.count = 0; in C_Initialize()237 obj_delay_freed.first = NULL; in C_Initialize()238 obj_delay_freed.last = NULL; in C_Initialize()342 delay_free_obj = obj_delay_freed.first; in finalize_common()348 (void) pthread_mutex_destroy(&obj_delay_freed.obj_to_be_free_mutex); in finalize_common()475 &obj_delay_freed.obj_to_be_free_mutex); in kernel_fork_prepare()494 &obj_delay_freed.obj_to_be_free_mutex); in kernel_fork_after()
1060 (void) pthread_mutex_lock(&obj_delay_freed.obj_to_be_free_mutex); in kernel_object_delay_free()1064 if (obj_delay_freed.first == NULL) { in kernel_object_delay_free()1065 obj_delay_freed.last = objp; in kernel_object_delay_free()1066 obj_delay_freed.first = objp; in kernel_object_delay_free()1068 obj_delay_freed.last->next = objp; in kernel_object_delay_free()1069 obj_delay_freed.last = objp; in kernel_object_delay_free()1072 if (++obj_delay_freed.count >= MAX_OBJ_TO_BE_FREED) { in kernel_object_delay_free()1077 obj_delay_freed.count--; in kernel_object_delay_free()1078 tmp = obj_delay_freed.first->next; in kernel_object_delay_free()1079 free(obj_delay_freed.first); in kernel_object_delay_free()[all …]
246 extern object_to_be_freed_list_t obj_delay_freed;