Lines Matching refs:pvc_p
194 struct pvc_device *pvc, **pvc_p = &state(hdlc)->first_pvc;
196 while (*pvc_p) {
197 if ((*pvc_p)->dlci == dlci)
198 return *pvc_p;
199 if ((*pvc_p)->dlci > dlci)
201 pvc_p = &(*pvc_p)->next;
213 pvc->next = *pvc_p; /* Put it in the chain */
214 *pvc_p = pvc;
247 struct pvc_device **pvc_p = &state(hdlc)->first_pvc;
249 while (*pvc_p) {
250 if (!pvc_is_used(*pvc_p)) {
251 struct pvc_device *pvc = *pvc_p;
255 *pvc_p = pvc->next;
259 pvc_p = &(*pvc_p)->next;