Lines Matching defs:slots
53 slot_data_t *slots;
81 * Count the number of slots in the framework.
100 slots = calloc(slot_count, sizeof (slot_data_t));
101 if (slots == NULL) {
111 slots[i].fw_st_id = i + 1;
113 &(slots[i].tokenobject_list_lock), NULL);
120 if (slots) {
121 free(slots);
122 slots = NULL;
140 /* If no slots to free, return */
141 if (slots == NULL)
159 session = slots[slot].session_pool.idle_list_head;
170 session = slots[slot].session_pool.persist_list_head;
182 &slots[slot].tokenobject_list_lock);
185 free(slots);
186 slots = NULL;
208 * or if none of the existing slots/tokens match the defined
238 fw_st_id = slots[slot].fw_st_id;
355 slots[objtok_slotnum].session_pool.keep_one_alive = B_TRUE;
356 metaslot_keystore_slotid = slots[objtok_slotnum].fw_st_id;
379 return (slots[slotnum].fw_st_id);
451 pool = &slots[slotnum].session_pool;
483 fw_st_id = slots[slotnum].fw_st_id;
534 pool = &slots[session->slotnum].session_pool;