Lines Matching refs:pp

685 	struct msgidqueue **pp;  in mq_dequeue()  local
687 for (pp = &np->msgidqueue; *pp; pp = &(*pp)->next) { in mq_dequeue()
688 if ((*pp)->msgid == msgid) { in mq_dequeue()
689 struct msgidqueue *mq = *pp; in mq_dequeue()
690 *pp = mq->next; in mq_dequeue()
710 struct capi_ncci **pp, **nextpp; in controllercb_appl_released() local
711 for (pp = &APPL(appl)->nccilist; *pp; pp = nextpp) { in controllercb_appl_released()
712 if (NCCI2CTRL((*pp)->ncci) == card->cnr) { in controllercb_appl_released()
713 struct capi_ncci *np = *pp; in controllercb_appl_released()
714 *pp = np->next; in controllercb_appl_released()
718 nextpp = pp; in controllercb_appl_released()
720 nextpp = &(*pp)->next; in controllercb_appl_released()
770 struct capi_ncci **pp; in controllercb_free_ncci() local
775 for (pp = &APPL(appl)->nccilist; *pp; pp = &(*pp)->next) { in controllercb_free_ncci()
776 if ((*pp)->ncci == ncci) { in controllercb_free_ncci()
777 struct capi_ncci *np = *pp; in controllercb_free_ncci()
778 *pp = np->next; in controllercb_free_ncci()
909 struct capi_ncci **pp, **nextpp; in controllercb_reseted() local
910 for (pp = &APPL(appl)->nccilist; *pp; pp = nextpp) { in controllercb_reseted()
911 if (NCCI2CTRL((*pp)->ncci) == card->cnr) { in controllercb_reseted()
912 struct capi_ncci *np = *pp; in controllercb_reseted()
913 *pp = np->next; in controllercb_reseted()
917 nextpp = pp; in controllercb_reseted()
919 nextpp = &(*pp)->next; in controllercb_reseted()
951 struct capi_ctr *card, **pp; in drivercb_attach_ctr() local
980 for (pp = &driver->controller; *pp; pp = &(*pp)->next) ; in drivercb_attach_ctr()
982 *pp = card; in drivercb_attach_ctr()
1002 struct capi_ctr **pp; in drivercb_detach_ctr() local
1008 for (pp = &driver->controller; *pp ; pp = &(*pp)->next) { in drivercb_detach_ctr()
1009 if (*pp == card) { in drivercb_detach_ctr()
1010 *pp = card->next; in drivercb_detach_ctr()
1055 struct capi_driver **pp; in attach_capi_driver() local
1059 for (pp = &drivers; *pp; pp = &(*pp)->next) ; in attach_capi_driver()
1061 *pp = driver; in attach_capi_driver()
1081 struct capi_driver **pp; in detach_capi_driver() local
1083 for (pp = &drivers; *pp && *pp != driver; pp = &(*pp)->next) ; in detach_capi_driver()
1084 if (*pp) { in detach_capi_driver()
1085 *pp = (*pp)->next; in detach_capi_driver()
1628 struct capi_interface_user **pp; in detach_capi_interface() local
1631 for (pp = &capi_users; *pp; pp = &(*pp)->next) { in detach_capi_interface()
1632 if (*pp == userp) { in detach_capi_interface()
1633 *pp = userp->next; in detach_capi_interface()