Lines Matching refs:lnp
762 struct link_keys *lnp; in get_next_link() local
779 if ((lnp = malloc(sizeof (struct link_keys))) == NULL) { in get_next_link()
786 (void) memcpy(lnp->lnkey, linkkey, linksize); in get_next_link()
787 lnp->lnsize = linksize; in get_next_link()
788 lnp->next = *(struct link_keys **)cookiep; in get_next_link()
789 *cookiep = (void *)lnp; in get_next_link()
793 for (; lnp != NULL; lnp = lnp->next) { in get_next_link()
794 if ((nextsize == lnp->lnsize) && (memcmp( in get_next_link()
795 lnp->lnkey, nextkey, nextsize) == 0)) { in get_next_link()
825 struct link_keys *dellnp, *lnp; in free_link_cookies() local
827 lnp = (struct link_keys *)cookie; in free_link_cookies()
828 while (lnp != NULL) { in free_link_cookies()
829 dellnp = lnp; in free_link_cookies()
830 lnp = lnp->next; in free_link_cookies()