Lines Matching refs:slots
54 mechinfo_t *slots;
117 free(mechlist[i].slots);
143 /* get number of slots */
179 if (!mechlist[i].slots[j].initialized)
182 if (mechlist[i].slots[j].supported) {
210 * Get list of all slots supporting the specified mechanism.
213 * space to accommodate the list of slots that supports the
216 * many slots are found to support the mechanism.
247 if (!mechlist[index].slots[i].initialized ||
248 !mechlist[index].slots[i].supported)
252 info = mechlist[index].slots[i].mechanism_info;
260 = &mechlist[index].slots[i];
317 if (force_refresh || !mechlist[index].slots[slot].initialized) {
446 * (ie, slotlist[foo].slots[bar])
460 mechlist[index].slots[slotnum].slotnum = slotnum;
474 mechlist[index].slots[slotnum].initialized = B_TRUE;
475 mechlist[index].slots[slotnum].supported = B_FALSE;
476 bzero(&mechlist[index].slots[slotnum].mechanism_info,
483 mechlist[index].slots[slotnum].initialized = B_TRUE;
484 mechlist[index].slots[slotnum].supported = B_TRUE;
485 mechlist[index].slots[slotnum].mechanism_info = info;
488 mechlist[index].slots[slotnum].initialized = B_TRUE;
489 mechlist[index].slots[slotnum].supported = B_FALSE;
490 bzero(&mechlist[index].slots[slotnum].mechanism_info,
581 mechlist[index].slots = new_mechinfos;
677 if ((mechlist[index].slots[slotnum].initialized) &&
678 (mechlist[index].slots[slotnum].supported)) {
680 info = mechlist[index].slots[slotnum].mechanism_info;
687 *slot_info = &(mechlist[index].slots[slotnum]);