Lines Matching refs:from

42  *    products derived from this software without specific prior written
451 struct ip_moptions *from;
454 from = inp_findmoptions(from_inp);
455 if (from == NULL)
460 IMO_REMREF(from);
464 IMO_LOCK(from);
467 to->imo_multicast_ifp = from->imo_multicast_ifp;
468 to->imo_multicast_vif = from->imo_multicast_vif;
469 to->imo_multicast_ttl = from->imo_multicast_ttl;
470 to->imo_multicast_loop = from->imo_multicast_loop;
493 VERIFY(to->imo_max_memberships != 0 && from->imo_max_memberships != 0);
494 if (to->imo_max_memberships < from->imo_max_memberships) {
499 err = imo_grow(to, from->imo_max_memberships);
503 VERIFY(to->imo_max_memberships >= from->imo_max_memberships);
509 for (i = 0; i < from->imo_num_memberships; i++) {
511 in_addmulti(&from->imo_membership[i]->inm_addr,
512 from->imo_membership[i]->inm_ifp);
517 VERIFY(to->imo_num_memberships == from->imo_num_memberships);
522 IMO_UNLOCK(from);
523 IMO_REMREF(from);
641 inm->inm_ifma = ifma; /* keep refcount from if_addmulti() */
814 * Prune a source entry from an existing socket-layer filter set,
908 * Reap unreferenced sources from socket-layer filter set.
1002 * from its internal counters. Predicates are:
1071 * which would eliminate the repeated lookup from root of ims nodes,
1228 * Reap unreferenced nodes from an in_multi's filter set.
1251 * Purge all source nodes from an in_multi's filter set.
1333 *pinm = inm; /* keep refcount from in_getmulti() */
1644 IMO_REMREF(imo); /* from inp_findmoptions() */
1704 inp->inp_moptions = imo; /* keep reference from ip_allocmoptions() */
2100 * Do argument switcharoo from ip_mreq into
2320 imo->imo_membership[idx] = inm; /* from in_joingroup() */
2361 IMO_REMREF(imo); /* from inp_findmoptions() */
2434 * Attempt to look up hinted ifp from interface address.
2600 IMO_REMREF(imo); /* from inp_findmoptions() */
2694 IMO_REMREF(imo); /* from inp_findmoptions() */
2839 * difference like loop to avoid walking from root
2894 IMO_REMREF(imo); /* from inp_findmoptions() */
2958 IMO_REMREF(imo); /* from inp_findmoptions() */
2966 IMO_REMREF(imo); /* from inp_findmoptions() */
2975 IMO_REMREF(imo); /* from inp_findmoptions() */
2990 IMO_REMREF(imo); /* from inp_findmoptions() */
3028 IMO_REMREF(imo); /* from inp_findmoptions() */
3063 IMO_REMREF(imo); /* from inp_findmoptions() */
3473 * before acquiring in_multihead lock. To prevent the inm from being