Lines Matching defs:ifma
468 struct ifmultiaddr *ifma;
501 error = if_addmulti(ifp, (struct sockaddr *)&gsin6, &ifma);
509 IFMA_LOCK(ifma);
510 if ((inm = ifma->ifma_protospec) != NULL) {
511 VERIFY(ifma->ifma_addr != NULL);
512 VERIFY(ifma->ifma_addr->sa_family == AF_INET6);
514 IFMA_UNLOCK(ifma);
516 VERIFY(inm->in6m_ifma == ifma);
526 IFMA_REMREF(ifma);
537 * the inm referring to the ifma has been detached, thus we
547 IFMA_REMREF(ifma);
550 IFMA_UNLOCK(ifma);
563 IFMA_REMREF(ifma);
572 inm->in6m_ifma = ifma; /* keep refcount from if_addmulti() */
588 IFMA_LOCK(ifma);
589 VERIFY(ifma->ifma_protospec == NULL);
590 ifma->ifma_protospec = inm;
591 IFMA_UNLOCK(ifma);
3152 panic("%s: ifma not NULL for in6m=%p", __func__, in6m);
3285 struct ifmultiaddr *ifma;
3309 * detached, the underlying ifma would still be in the if_multiaddrs
3333 ifma = in6m->in6m_ifma;
3339 IFMA_LOCK_SPIN(ifma);
3340 ifma->ifma_protospec = NULL;
3341 IFMA_UNLOCK(ifma);
3345 if_delmulti_ifma(ifma);
3347 IFMA_REMREF(ifma);
3509 printf("addr %s ifp 0x%llx(%s) ifma 0x%llx\n",