Home
last modified time | relevance | path

Searched refs:mc_list (Results 1 – 25 of 69) sorted by relevance

123

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_nve.c219 mc_list = kmalloc(sizeof(*mc_list), GFP_KERNEL); in mlxsw_sp_nve_mc_list_create()
220 if (!mc_list) in mlxsw_sp_nve_mc_list_create()
231 return mc_list; in mlxsw_sp_nve_mc_list_create()
234 kfree(mc_list); in mlxsw_sp_nve_mc_list_create()
246 kfree(mc_list); in mlxsw_sp_nve_mc_list_destroy()
256 if (mc_list) in mlxsw_sp_nve_mc_list_get()
292 mc_record->mc_list = mc_list; in mlxsw_sp_nve_mc_record_create()
364 struct mlxsw_sp_nve_mc_list *mc_list = mc_record->mc_list; in mlxsw_sp_nve_mc_record_refresh() local
404 struct mlxsw_sp_nve_mc_list *mc_list = mc_record->mc_list; in mlxsw_sp_nve_mc_record_is_first() local
481 struct mlxsw_sp_nve_mc_list *mc_list = mc_record->mc_list; in mlxsw_sp_nve_mc_record_entry_del() local
[all …]
/openbmc/linux/net/netlink/
H A Ddiag.c105 goto mc_list; in __netlink_diag_dump()
155 mc_list: in __netlink_diag_dump()
157 sk_for_each_bound(sk, &tbl->mc_list) { in __netlink_diag_dump()
H A Daf_netlink.h66 struct hlist_head mc_list; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c1008 u8 mc_list[16] = {0}; in mlx4_en_do_multicast() local
1094 mc_list[5] = priv->port; in mlx4_en_do_multicast()
1097 mc_list, in mlx4_en_do_multicast()
1116 mc_list[5] = priv->port; in mlx4_en_do_multicast()
1119 mc_list, in mlx4_en_do_multicast()
1636 u8 mc_list[16] = {0}; in mlx4_en_start_port() local
1643 INIT_LIST_HEAD(&priv->mc_list); in mlx4_en_start_port()
1821 eth_broadcast_addr(&mc_list[10]); in mlx4_en_start_port()
1892 u8 mc_list[16] = {0}; in mlx4_en_stop_port() local
1946 eth_broadcast_addr(&mc_list[10]); in mlx4_en_stop_port()
[all …]
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.c682 u8 *mc_list; in wilc_set_multicast_list() local
699 mc_list = kmalloc_array(dev->mc.count, ETH_ALEN, GFP_ATOMIC); in wilc_set_multicast_list()
700 if (!mc_list) in wilc_set_multicast_list()
703 cur_mc = mc_list; in wilc_set_multicast_list()
712 if (wilc_setup_multicast_filter(vif, 1, dev->mc.count, mc_list)) in wilc_set_multicast_list()
713 kfree(mc_list); in wilc_set_multicast_list()
H A Dhif.c23 u8 *mc_list; member
997 if (set_mc->cnt > 0 && set_mc->mc_list) in handle_set_mcast_filter()
998 memcpy(cur_byte, set_mc->mc_list, set_mc->cnt * ETH_ALEN); in handle_set_mcast_filter()
1005 kfree(set_mc->mc_list); in handle_set_mcast_filter()
1954 u8 *mc_list) in wilc_setup_multicast_filter() argument
1965 msg->body.mc_info.mc_list = mc_list; in wilc_setup_multicast_filter()
H A Dhif.h194 u8 *mc_list);
/openbmc/linux/net/ipv4/
H A Digmp.c1469 im->next_rcu = in_dev->mc_list; in ____ip_mc_inc_group()
1471 rcu_assign_pointer(in_dev->mc_list, im); in ____ip_mc_inc_group()
1683 for (ip = &in_dev->mc_list; in __ip_mc_dec_group()
1819 in_dev->mc_list = i->next_rcu; in ip_mc_destroy_dev()
2212 iml->next_rcu = inet->mc_list; in __ip_mc_join_group()
2215 rcu_assign_pointer(inet->mc_list, iml); in __ip_mc_join_group()
2277 for (imlp = &inet->mc_list; in ip_mc_leave_group()
2698 if (!inet->mc_list) in ip_mc_drop_socket()
2705 inet->mc_list = iml->next_rcu; in ip_mc_drop_socket()
2785 im = rcu_dereference(in_dev->mc_list); in igmp_mc_get_first()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Dcma_priv.h69 struct list_head mc_list; member
/openbmc/linux/drivers/net/ethernet/i825xx/
H A Dsun3_82586.h254 unsigned char mc_list[][6]; /* pointer to 6 bytes entries */ member
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_nic.c482 self->mc_list.ar, in aq_nic_start()
483 self->mc_list.count); in aq_nic_start()
940 self->mc_list.count = 0; in aq_nic_set_multicast_list()
945 ether_addr_copy(self->mc_list.ar[i++], ha->addr); in aq_nic_set_multicast_list()
955 ether_addr_copy(self->mc_list.ar[i++], in aq_nic_set_multicast_list()
962 self->mc_list.count = i; in aq_nic_set_multicast_list()
964 self->mc_list.ar, in aq_nic_set_multicast_list()
965 self->mc_list.count); in aq_nic_set_multicast_list()
H A Daq_nic.h149 } mc_list; member
/openbmc/linux/drivers/net/wireless/ti/wl1251/
H A Dmain.c715 u8 mc_list[ACX_MC_ADDRESS_GROUP_MAX][ETH_ALEN]; member
719 struct netdev_hw_addr_list *mc_list) in wl1251_op_prepare_multicast() argument
736 if (netdev_hw_addr_list_count(mc_list) > ACX_MC_ADDRESS_GROUP_MAX) { in wl1251_op_prepare_multicast()
740 netdev_hw_addr_list_for_each(ha, mc_list) { in wl1251_op_prepare_multicast()
741 memcpy(fp->mc_list[fp->mc_list_length], in wl1251_op_prepare_multicast()
811 fp->mc_list, in wl1251_op_configure_filter()
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dsta.h45 struct netdev_hw_addr_list *mc_list);
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_main.c2042 struct xcast_addr_list *mc_list = NULL; in nicvf_set_rx_mode() local
2057 mc_list = kmalloc(struct_size(mc_list, mc, in nicvf_set_rx_mode()
2060 if (unlikely(!mc_list)) in nicvf_set_rx_mode()
2062 mc_list->count = 0; in nicvf_set_rx_mode()
2064 mc_list->mc[mc_list->count] = in nicvf_set_rx_mode()
2066 mc_list->count++; in nicvf_set_rx_mode()
2073 nic->rx_mode_work.mc = mc_list; in nicvf_set_rx_mode()
/openbmc/linux/drivers/net/wireless/marvell/libertas_tf/
H A Dmain.c355 struct netdev_hw_addr_list *mc_list) in lbtf_op_prepare_multicast() argument
360 int mc_count = netdev_hw_addr_list_count(mc_list); in lbtf_op_prepare_multicast()
367 netdev_hw_addr_list_for_each(ha, mc_list) in lbtf_op_prepare_multicast()
/openbmc/linux/include/net/
H A Dif_inet6.h173 struct ifmcaddr6 __rcu *mc_list; member
H A Dinet_sock.h242 struct ip_mc_socklist __rcu *mc_list; member
/openbmc/linux/net/ipv6/
H A Dmcast.c143 for (mc = mc_dereference((idev)->mc_list, idev); \
148 for (mc = rcu_dereference((idev)->mc_list); \
943 rcu_assign_pointer(mc->next, idev->mc_list); in __ipv6_dev_mc_inc()
944 rcu_assign_pointer(idev->mc_list, mc); in __ipv6_dev_mc_inc()
971 for (map = &idev->mc_list; in __ipv6_dev_mc_dec()
2806 while ((i = mc_dereference(idev->mc_list, idev))) { in ipv6_mc_destroy_dev()
2807 rcu_assign_pointer(idev->mc_list, mc_dereference(i->next, idev)); in ipv6_mc_destroy_dev()
2876 im = rcu_dereference(idev->mc_list); in igmp6_mc_get_first()
2899 im = rcu_dereference(state->idev->mc_list); in igmp6_mc_get_next()
2985 im = rcu_dereference(idev->mc_list); in igmp6_mcf_get_first()
[all …]
H A Daddrconf_core.c267 WARN_ON(rcu_access_pointer(idev->mc_list)); in in6_dev_finish_destroy()
/openbmc/linux/drivers/net/wireless/intersil/p54/
H A Dmain.c364 struct netdev_hw_addr_list *mc_list) in p54_prepare_multicast() argument
377 priv->mc_maclist_num = netdev_hw_addr_list_count(mc_list) + i; in p54_prepare_multicast()
378 netdev_hw_addr_list_for_each(ha, mc_list) { in p54_prepare_multicast()
/openbmc/linux/drivers/net/ethernet/ibm/ehea/
H A Dehea_main.c254 list_for_each_entry(mc_entry, &port->mc_list->list,list) in ehea_update_bcmc_registrations()
289 &port->mc_list->list, list) { in ehea_update_bcmc_registrations()
1846 struct ehea_mc_list *mc_entry = port->mc_list; in ehea_drop_multicast_list()
1852 list_for_each_safe(pos, temp, &(port->mc_list->list)) { in ehea_drop_multicast_list()
1913 list_add(&ehea_mcl_entry->list, &port->mc_list->list); in ehea_add_multicast_entry()
2971 port->mc_list = kzalloc(sizeof(struct ehea_mc_list), GFP_KERNEL); in ehea_setup_single_port()
2972 if (!port->mc_list) { in ehea_setup_single_port()
2977 INIT_LIST_HEAD(&port->mc_list->list); in ehea_setup_single_port()
3039 kfree(port->mc_list); in ehea_setup_single_port()
3058 kfree(port->mc_list); in ehea_shutdown_single_port()
H A Dehea.h434 struct ehea_mc_list *mc_list; /* Multicast MAC addresses */ member
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Dmac80211-ops.c320 struct netdev_hw_addr_list *mc_list) in ath5k_prepare_multicast() argument
329 netdev_hw_addr_list_for_each(ha, mc_list) { in ath5k_prepare_multicast()
/openbmc/linux/drivers/staging/vt6656/
H A Dmain_usb.c844 struct netdev_hw_addr_list *mc_list) in vnt_prepare_multicast() argument
851 netdev_hw_addr_list_for_each(ha, mc_list) { in vnt_prepare_multicast()
856 priv->mc_list_count = mc_list->count; in vnt_prepare_multicast()

123