Lines Matching refs:muip
1215 mac_unicast_impl_t *muip = mcip->mci_unicast_list; in mac_client_find_vid() local
1217 while ((muip != NULL) && (muip->mui_vid != vid)) in mac_client_find_vid()
1218 muip = muip->mui_next; in mac_client_find_vid()
1220 return (muip); in mac_client_find_vid()
2321 mac_unicast_impl_t *muip) in mac_client_datapath_setup() argument
2432 muip->mui_map = mcip->mci_unicast; in mac_client_datapath_setup()
2435 muip->mui_next = mcip->mci_unicast_list; in mac_client_datapath_setup()
2436 mcip->mci_unicast_list = muip; in mac_client_datapath_setup()
2545 mac_unicast_impl_t *muip; in i_mac_unicast_add() local
2634 muip = kmem_zalloc(sizeof (mac_unicast_impl_t), KM_SLEEP); in i_mac_unicast_add()
2635 muip->mui_vid = vid; in i_mac_unicast_add()
2636 *mah = (mac_unicast_handle_t)muip; in i_mac_unicast_add()
2737 muip = kmem_zalloc(sizeof (mac_unicast_impl_t), KM_SLEEP); in i_mac_unicast_add()
2738 muip->mui_vid = vid; in i_mac_unicast_add()
2858 mcip->mci_p_unicast_list = muip; in i_mac_unicast_add()
2859 *mah = (mac_unicast_handle_t)muip; in i_mac_unicast_add()
2864 is_primary || is_vnic_primary, muip); in i_mac_unicast_add()
2869 *mah = (mac_unicast_handle_t)muip; in i_mac_unicast_add()
2883 kmem_free(muip, sizeof (mac_unicast_impl_t)); in i_mac_unicast_add()
2933 mac_client_datapath_teardown(mac_client_handle_t mch, mac_unicast_impl_t *muip, in mac_client_datapath_teardown() argument
3011 ASSERT(muip != NULL || no_unicast); in mac_client_datapath_teardown()
3013 muip != NULL ? muip->mui_vid : VLAN_ID_NONE); in mac_client_datapath_teardown()
3039 if (muip != NULL) in mac_client_datapath_teardown()
3040 kmem_free(muip, sizeof (mac_unicast_impl_t)); in mac_client_datapath_teardown()
3060 mac_unicast_impl_t *muip = (mac_unicast_impl_t *)mah; in mac_unicast_remove() local
3076 ASSERT(muip->mui_vid == VLAN_ID_NONE); in mac_unicast_remove()
3088 kmem_free(muip, sizeof (mac_unicast_impl_t)); in mac_unicast_remove()
3103 kmem_free(muip, sizeof (mac_unicast_impl_t)); in mac_unicast_remove()
3108 ASSERT(muip != NULL); in mac_unicast_remove()
3117 ASSERT(mcip->mci_p_unicast_list == muip); in mac_unicast_remove()
3136 kmem_free(muip, sizeof (mac_unicast_impl_t)); in mac_unicast_remove()
3145 if (muip == pre) { in mac_unicast_remove()
3146 mcip->mci_unicast_list = muip->mui_next; in mac_unicast_remove()
3148 while ((pre->mui_next != NULL) && (pre->mui_next != muip)) in mac_unicast_remove()
3150 ASSERT(pre->mui_next == muip); in mac_unicast_remove()
3152 pre->mui_next = muip->mui_next; in mac_unicast_remove()
3166 flent = mac_client_get_flow(mcip, muip); in mac_unicast_remove()
3190 muip->mui_vid); in mac_unicast_remove()
3206 mui_vid = muip->mui_vid; in mac_unicast_remove()
3207 mac_client_datapath_teardown(mch, muip, flent); in mac_unicast_remove()
3224 mac_unicast_impl_t *muip; in mac_unicast_remove() local
3236 muip = mcip->mci_p_unicast_list; in mac_unicast_remove()
3239 mip->mi_addr, mrp, B_TRUE, muip) == 0) { in mac_unicast_remove()
3247 kmem_free(muip, sizeof (mac_unicast_impl_t)); in mac_unicast_remove()
4835 mac_unicast_impl_t *muip; in mac_set_pvid() local
4841 for (muip = mcip->mci_unicast_list; muip != NULL; in mac_set_pvid()
4842 muip = muip->mui_next) { in mac_set_pvid()
4843 if (muip->mui_vid == pvid) { in mac_set_pvid()
5104 mac_client_get_flow(mac_client_impl_t *mcip, mac_unicast_impl_t *muip) in mac_client_get_flow() argument
5120 if (vid == muip->mui_vid) { in mac_client_get_flow()