Lines Matching refs:lnp
764 struct link_keys *lnp; in get_next_link() local
781 if ((lnp = malloc(sizeof (struct link_keys))) == NULL) { in get_next_link()
788 (void) memcpy(lnp->lnkey, linkkey, linksize); in get_next_link()
789 lnp->lnsize = linksize; in get_next_link()
790 lnp->next = *(struct link_keys **)cookiep; in get_next_link()
791 *cookiep = (void *)lnp; in get_next_link()
795 for (; lnp != NULL; lnp = lnp->next) { in get_next_link()
796 if ((nextsize == lnp->lnsize) && (memcmp( in get_next_link()
797 lnp->lnkey, nextkey, nextsize) == 0)) { in get_next_link()
827 struct link_keys *dellnp, *lnp; in free_link_cookies() local
829 lnp = (struct link_keys *)cookie; in free_link_cookies()
830 while (lnp != NULL) { in free_link_cookies()
831 dellnp = lnp; in free_link_cookies()
832 lnp = lnp->next; in free_link_cookies()