Lines Matching defs:slot_idx
237 int slot_idx = find_slot (id);
238 if (slot_idx >= 0)
240 DBG (assert (slots[slot_idx].vtype == vtype));
241 return slot_idx;
243 slot_idx = nslots++;
247 for (i = 0; i < slot_idx; i++)
251 slots[slot_idx].id = id;
252 slots[slot_idx].vtype = vtype;
256 slots[slot_idx].mvals = ip;
258 return slot_idx;
1916 int slot_idx;
1921 slot_idx = find_slot (mind); // may be -1 (CPI and IPC)
1927 slot_idx = -1;
1932 if (slot_idx >= 0)
1939 if (slots[slot_idx].vtype == vtype)
1970 ASN_METRIC_VAL (val, slots[slot_idx], node_idx);
1980 val.tag = slots[slot_idx].vtype; // required for to_double();
1985 ASN_METRIC_VAL (val, slots[slot_idx], node_idx);
2001 ASN_METRIC_VAL (val, slots[slot_idx], node_idx);