Lines Matching refs:stmp
47 pkcs11_slottable_t *stmp = malloc(sizeof (pkcs11_slottable_t)); in pkcs11_slottable_initialize() local
49 if (stmp == NULL) in pkcs11_slottable_initialize()
52 stmp->st_first = 1; in pkcs11_slottable_initialize()
53 stmp->st_cur_size = 0; in pkcs11_slottable_initialize()
54 stmp->st_last = 0; in pkcs11_slottable_initialize()
55 stmp->st_slots = NULL; in pkcs11_slottable_initialize()
57 if (pthread_mutex_init(&stmp->st_mutex, NULL) != 0) { in pkcs11_slottable_initialize()
58 free(stmp); in pkcs11_slottable_initialize()
62 stmp->st_event_slot = 0; in pkcs11_slottable_initialize()
63 stmp->st_thr_count = 0; in pkcs11_slottable_initialize()
64 stmp->st_wfse_active = B_FALSE; in pkcs11_slottable_initialize()
65 stmp->st_blocking = B_FALSE; in pkcs11_slottable_initialize()
66 stmp->st_list_signaled = B_FALSE; in pkcs11_slottable_initialize()
68 (void) pthread_cond_init(&stmp->st_wait_cond, NULL); in pkcs11_slottable_initialize()
69 (void) pthread_mutex_init(&stmp->st_start_mutex, NULL); in pkcs11_slottable_initialize()
70 (void) pthread_cond_init(&stmp->st_start_cond, NULL); in pkcs11_slottable_initialize()
72 slottable = stmp; in pkcs11_slottable_initialize()