Lines Matching refs:slotinfo
34 static struct slotinfo *get_slotinfo(tnf_datum_t);
35 static struct slot * get_slot_named(struct slotinfo *, char *);
36 static struct slot * get_slot_indexed(struct slotinfo *, unsigned);
61 static struct slotinfo *
73 return (base_info->slotinfo);
77 get_slot_indexed(struct slotinfo *slotinfo, unsigned index)
81 count = slotinfo->slot_count;
85 return (&slotinfo->slots[index]);
89 get_slot_named(struct slotinfo *slotinfo, char *name)
93 count = slotinfo->slot_count;
96 if (strcmp(name, slotinfo->slots[i].slot_name) == 0)
97 return (&slotinfo->slots[i]);
133 struct slotinfo *slotinfo;
137 slotinfo = get_slotinfo(datum);
138 return (slotinfo->slot_count);
148 struct slotinfo *slotinfo;
153 slotinfo = get_slotinfo(datum);
154 slot = get_slot_named(slotinfo, name);
160 return (((char *)slot - (char *)&slotinfo->slots[0])
171 struct slotinfo *slotinfo;
176 slotinfo = get_slotinfo(datum);
177 slot = get_slot_indexed(slotinfo, index);
193 struct slotinfo *slotinfo;
198 slotinfo = get_slotinfo(datum);
199 slot = get_slot_named(slotinfo, name);
211 struct slotinfo *slotinfo;
216 slotinfo = get_slotinfo(datum);
217 slot = get_slot_indexed(slotinfo, index);