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