Lines Matching refs:pvc_p
185 struct pvc_device *pvc, **pvc_p = &state(hdlc)->first_pvc;
187 while (*pvc_p) {
188 if ((*pvc_p)->dlci == dlci)
189 return *pvc_p;
190 if ((*pvc_p)->dlci > dlci)
192 pvc_p = &(*pvc_p)->next;
204 pvc->next = *pvc_p; /* Put it in the chain */
205 *pvc_p = pvc;
235 struct pvc_device **pvc_p = &state(hdlc)->first_pvc;
237 while (*pvc_p) {
238 if (!pvc_is_used(*pvc_p)) {
239 struct pvc_device *pvc = *pvc_p;
243 *pvc_p = pvc->next;
247 pvc_p = &(*pvc_p)->next;