Lines Matching defs:slots
57 mechinfo_t *slots;
109 free(mechlist[i].slots);
135 /* get number of slots */
171 if (!mechlist[i].slots[j].initialized)
174 if (mechlist[i].slots[j].supported) {
202 * Get list of all slots supporting the specified mechanism.
205 * space to accomodate the list of slots that supports the
208 * many slots are found to support the mechanism.
239 if (!mechlist[index].slots[i].initialized ||
240 !mechlist[index].slots[i].supported)
244 info = mechlist[index].slots[i].mechanism_info;
252 = &mechlist[index].slots[i];
309 if (force_refresh || !mechlist[index].slots[slot].initialized) {
438 * (ie, slotlist[foo].slots[bar])
452 mechlist[index].slots[slotnum].slotnum = slotnum;
466 mechlist[index].slots[slotnum].initialized = B_TRUE;
467 mechlist[index].slots[slotnum].supported = B_FALSE;
468 bzero(&mechlist[index].slots[slotnum].mechanism_info,
475 mechlist[index].slots[slotnum].initialized = B_TRUE;
476 mechlist[index].slots[slotnum].supported = B_TRUE;
477 mechlist[index].slots[slotnum].mechanism_info = info;
480 mechlist[index].slots[slotnum].initialized = B_TRUE;
481 mechlist[index].slots[slotnum].supported = B_FALSE;
482 bzero(&mechlist[index].slots[slotnum].mechanism_info,
573 mechlist[index].slots = new_mechinfos;
669 if ((mechlist[index].slots[slotnum].initialized) &&
670 (mechlist[index].slots[slotnum].supported)) {
672 info = mechlist[index].slots[slotnum].mechanism_info;
679 *slot_info = &(mechlist[index].slots[slotnum]);