Lines Matching refs:lp
686 Namfun_t *lp, **lpp;
694 if((lp=np->nvfun)==fp)
698 lp = nv_clone_disc(fp,0);
699 return(np->nvfun=lp);
703 np->nvfun = lp->next;
706 if(mode==NV_LAST && (lp->next==0 || lp->next->disc==0))
711 if(lp)
713 while(lp->next && lp->next->disc)
715 if(lp->next==fp)
722 lp->next = fp;
725 lp->next = fp->next;
731 lp = lp->next;
733 if(mode==NV_LAST && lp->disc)
734 lpp = &lp->next;
742 if(lp && !lp->disc)
743 fp->next = lp;
760 for(lp=np->nvfun; lp; fp=lp,lp=lp->next);