Lines Matching defs:slot_list
129 CK_SLOT_ID_PTR slot_list;
158 slot_list = malloc(slotcount * sizeof (CK_SLOT_ID));
159 if (slot_list == NULL) {
163 if ((rv = C_GetSlotList(0, slot_list, &slotcount)) != CKR_OK) {
164 free(slot_list);
170 slot_id = slot_list[i];
178 free(slot_list);
185 free(slot_list);
210 CK_SLOT_ID_PTR slot_list;
240 slot_list = malloc(slotcount * sizeof (CK_SLOT_ID));
241 if (slot_list == NULL) {
245 if ((rv = C_GetSlotList(0, slot_list, &slotcount)) != CKR_OK) {
246 free(slot_list);
252 slot_id = slot_list[i];
261 free(slot_list);
268 free(slot_list);