Lines Matching defs:states
108 static int ppp_nalloc; /* Number of elements of ifs and states */
110 static if_ppp_t **states; /* Array of pointers to state structs */
142 FREE(states, ppp_nalloc * sizeof (struct if_ppp_t *));
189 states[sp->unit] = 0;
243 if (unit < ppp_nalloc && states[unit] != 0) {
248 /* Extend ifs and states arrays if necessary. */
271 bcopy(states, newstates, ppp_nalloc * sizeof(if_ppp_t *));
274 FREE(states, ppp_nalloc * sizeof(if_ppp_t *));
277 states = newstates;
323 states[unit] = sp;
513 sp = states[ifp->if_unit];