Lines Matching defs:states
116 static int ppp_nalloc; /* Number of elements of ifs and states */
118 static if_ppp_t **states; /* Array of pointers to state structs */
150 FREE(states, ppp_nalloc * sizeof (struct if_ppp_t *));
197 states[sp->unit] = 0;
251 if (unit < ppp_nalloc && states[unit] != 0) {
256 /* Extend ifs and states arrays if necessary. */
279 bcopy(states, newstates, ppp_nalloc * sizeof(if_ppp_t *));
282 FREE(states, ppp_nalloc * sizeof(if_ppp_t *));
285 states = newstates;
331 states[unit] = sp;
521 sp = states[ifp->if_unit];