Searched refs:obj_delay_freed (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftGlobal.h42 extern struct obj_to_be_freed_list obj_delay_freed;
H A DsoftGeneral.c128 obj_to_be_freed_list_t obj_delay_freed; variable
252 if (pthread_mutex_init(&obj_delay_freed.obj_to_be_free_mutex, NULL)
261 obj_delay_freed.count = 0;
262 obj_delay_freed.first = NULL;
263 obj_delay_freed.last = NULL;
268 &obj_delay_freed.obj_to_be_free_mutex);
284 &obj_delay_freed.obj_to_be_free_mutex);
383 delay_free_obj = obj_delay_freed.first;
391 (void) pthread_mutex_destroy(&obj_delay_freed.obj_to_be_free_mutex);
500 * 7. obj_delay_freed
[all...]
H A DsoftObjectUtil.c393 (void) pthread_mutex_lock(&obj_delay_freed.obj_to_be_free_mutex);
397 if (obj_delay_freed.first == NULL) {
398 obj_delay_freed.last = objp;
399 obj_delay_freed.first = objp;
401 obj_delay_freed.last->next = objp;
402 obj_delay_freed.last = objp;
405 if (++obj_delay_freed.count >= MAX_OBJ_TO_BE_FREED) {
410 obj_delay_freed.count--;
411 tmp = obj_delay_freed.first->next;
412 free(obj_delay_freed
[all...]
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaGeneral.c114 object_to_be_freed_list_t obj_delay_freed; variable
165 (void) pthread_mutex_init(&obj_delay_freed.obj_to_be_free_mutex, NULL);
166 obj_delay_freed.count = 0;
167 obj_delay_freed.first = NULL;
168 obj_delay_freed.last = NULL;
218 delay_free_obj = obj_delay_freed.first;
224 (void) pthread_mutex_destroy(&obj_delay_freed.obj_to_be_free_mutex);
H A DmetaObjectManager.c1789 (void) pthread_mutex_lock(&obj_delay_freed.obj_to_be_free_mutex);
1793 if (obj_delay_freed.first == NULL) {
1794 obj_delay_freed.last = objp;
1795 obj_delay_freed.first = objp;
1797 obj_delay_freed.last->next = objp;
1798 obj_delay_freed.last = objp;
1801 if (++obj_delay_freed.count >= MAX_OBJ_TO_BE_FREED) {
1806 obj_delay_freed.count--;
1807 tmp = obj_delay_freed.first->next;
1808 free(obj_delay_freed
[all...]
H A DmetaGlobal.h561 extern object_to_be_freed_list_t obj_delay_freed;
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelGeneral.c123 object_to_be_freed_list_t obj_delay_freed; variable
235 (void) pthread_mutex_init(&obj_delay_freed.obj_to_be_free_mutex, NULL);
236 obj_delay_freed.count = 0;
237 obj_delay_freed.first = NULL;
238 obj_delay_freed.last = NULL;
342 delay_free_obj = obj_delay_freed.first;
348 (void) pthread_mutex_destroy(&obj_delay_freed.obj_to_be_free_mutex);
465 * 3. obj_delay_freed.obj_to_be_free_mutex;
475 &obj_delay_freed.obj_to_be_free_mutex);
494 &obj_delay_freed
[all...]
H A DkernelObjectUtil.c1060 (void) pthread_mutex_lock(&obj_delay_freed.obj_to_be_free_mutex);
1064 if (obj_delay_freed.first == NULL) {
1065 obj_delay_freed.last = objp;
1066 obj_delay_freed.first = objp;
1068 obj_delay_freed.last->next = objp;
1069 obj_delay_freed.last = objp;
1072 if (++obj_delay_freed.count >= MAX_OBJ_TO_BE_FREED) {
1077 obj_delay_freed.count--;
1078 tmp = obj_delay_freed.first->next;
1079 free(obj_delay_freed
[all...]
H A DkernelObject.h246 extern object_to_be_freed_list_t obj_delay_freed;

Completed in 147 milliseconds