/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_nve.c | 67 struct mlxsw_sp_nve_mc_list *mc_list; member 206 struct mlxsw_sp_nve_mc_list *mc_list; in mlxsw_sp_nve_mc_list_create() local 209 mc_list = kmalloc(sizeof(*mc_list), GFP_KERNEL); in mlxsw_sp_nve_mc_list_create() 210 if (!mc_list) in mlxsw_sp_nve_mc_list_create() 213 INIT_LIST_HEAD(&mc_list->records_list); in mlxsw_sp_nve_mc_list_create() 214 mc_list->key = *key; in mlxsw_sp_nve_mc_list_create() 216 err = rhashtable_insert_fast(&nve->mc_list_ht, &mc_list->ht_node, in mlxsw_sp_nve_mc_list_create() 221 return mc_list; in mlxsw_sp_nve_mc_list_create() 224 kfree(mc_list); in mlxsw_sp_nve_mc_list_create() 229 struct mlxsw_sp_nve_mc_list *mc_list) in mlxsw_sp_nve_mc_list_destroy() argument [all …]
|
/kernel/linux/linux-5.10/net/netlink/ |
D | diag.c | 104 goto mc_list; in __netlink_diag_dump() 154 mc_list: in __netlink_diag_dump() 156 sk_for_each_bound(sk, &tbl->mc_list) { in __netlink_diag_dump()
|
D | af_netlink.h | 59 struct hlist_head mc_list; member
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | mcast.c | 819 for (pmc = idev->mc_list; pmc; pmc = pmc->next) { in mld_clear_delrec() 901 for (mc = idev->mc_list; mc; mc = mc->next) { in __ipv6_dev_mc_inc() 918 mc->next = idev->mc_list; in __ipv6_dev_mc_inc() 919 idev->mc_list = mc; in __ipv6_dev_mc_inc() 949 for (map = &idev->mc_list; (ma = *map) != NULL; map = &ma->next) { in __ipv6_dev_mc_dec() 1001 for (mc = idev->mc_list; mc; mc = mc->next) { in ipv6_chk_mcast_addr() 1419 for (ma = idev->mc_list; ma; ma = ma->next) { in igmp6_event_query() 1425 for (ma = idev->mc_list; ma; ma = ma->next) { in igmp6_event_query() 1489 for (ma = idev->mc_list; ma; ma = ma->next) { in igmp6_event_report() 1856 for (pmc = idev->mc_list; pmc; pmc = pmc->next) { in mld_send_report() [all …]
|
D | addrconf_core.c | 253 WARN_ON(idev->mc_list); in in6_dev_finish_destroy()
|
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
D | netdev.c | 636 u8 *mc_list; in wilc_set_multicast_list() local 653 mc_list = kmalloc_array(dev->mc.count, ETH_ALEN, GFP_ATOMIC); in wilc_set_multicast_list() 654 if (!mc_list) in wilc_set_multicast_list() 657 cur_mc = mc_list; in wilc_set_multicast_list() 666 if (wilc_setup_multicast_filter(vif, 1, dev->mc.count, mc_list)) in wilc_set_multicast_list() 667 kfree(mc_list); in wilc_set_multicast_list()
|
D | hif.c | 23 u8 *mc_list; member 963 if (set_mc->cnt > 0 && set_mc->mc_list) in handle_set_mcast_filter() 964 memcpy(cur_byte, set_mc->mc_list, set_mc->cnt * ETH_ALEN); in handle_set_mcast_filter() 971 kfree(set_mc->mc_list); in handle_set_mcast_filter() 1929 u8 *mc_list) in wilc_setup_multicast_filter() argument 1940 msg->body.mc_info.mc_list = mc_list; in wilc_setup_multicast_filter()
|
D | hif.h | 196 u8 *mc_list);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_netdev.c | 813 list_for_each_entry_safe(mc_to_del, tmp, &priv->mc_list, list) { in mlx4_en_clear_list() 833 list_add_tail(&tmp->list, &priv->mc_list); in mlx4_en_cache_mclist() 1007 u8 mc_list[16] = {0}; in mlx4_en_do_multicast() local 1078 list_for_each_entry(mclist, &priv->mc_list, list) { in mlx4_en_do_multicast() 1088 update_mclist_flags(priv, &priv->curr_list, &priv->mc_list); in mlx4_en_do_multicast() 1092 memcpy(&mc_list[10], mclist->addr, ETH_ALEN); in mlx4_en_do_multicast() 1093 mc_list[5] = priv->port; in mlx4_en_do_multicast() 1096 mc_list, in mlx4_en_do_multicast() 1113 memcpy(&mc_list[10], mclist->addr, ETH_ALEN); in mlx4_en_do_multicast() 1115 mc_list[5] = priv->port; in mlx4_en_do_multicast() [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | igmp.c | 176 for (pmc = rcu_dereference(in_dev->mc_list); \ 181 for (pmc = rtnl_dereference(in_dev->mc_list); \ 1466 im->next_rcu = in_dev->mc_list; in ____ip_mc_inc_group() 1468 rcu_assign_pointer(in_dev->mc_list, im); in ____ip_mc_inc_group() 1680 for (ip = &in_dev->mc_list; in __ip_mc_dec_group() 1815 while ((i = rtnl_dereference(in_dev->mc_list)) != NULL) { in ip_mc_destroy_dev() 1816 in_dev->mc_list = i->next_rcu; in ip_mc_destroy_dev() 2209 iml->next_rcu = inet->mc_list; in __ip_mc_join_group() 2212 rcu_assign_pointer(inet->mc_list, iml); in __ip_mc_join_group() 2274 for (imlp = &inet->mc_list; in ip_mc_leave_group() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | cma_priv.h | 61 struct list_head mc_list; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/ |
D | sun3_82586.h | 253 unsigned char mc_list[0][6]; /* pointer to 6 bytes entries */ member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_nic.c | 471 self->mc_list.ar, in aq_nic_start() 472 self->mc_list.count); in aq_nic_start() 793 self->mc_list.count = 0; in aq_nic_set_multicast_list() 798 ether_addr_copy(self->mc_list.ar[i++], ha->addr); in aq_nic_set_multicast_list() 808 ether_addr_copy(self->mc_list.ar[i++], in aq_nic_set_multicast_list() 815 self->mc_list.count = i; in aq_nic_set_multicast_list() 817 self->mc_list.ar, in aq_nic_set_multicast_list() 818 self->mc_list.count); in aq_nic_set_multicast_list()
|
D | aq_nic.h | 144 } mc_list; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/ |
D | main.c | 715 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
D | sta.h | 44 struct netdev_hw_addr_list *mc_list);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_main.c | 2053 struct xcast_addr_list *mc_list = NULL; in nicvf_set_rx_mode() local 2068 mc_list = kmalloc(struct_size(mc_list, mc, in nicvf_set_rx_mode() 2071 if (unlikely(!mc_list)) in nicvf_set_rx_mode() 2073 mc_list->count = 0; in nicvf_set_rx_mode() 2075 mc_list->mc[mc_list->count] = in nicvf_set_rx_mode() 2077 mc_list->count++; in nicvf_set_rx_mode() 2084 nic->rx_mode_work.mc = mc_list; in nicvf_set_rx_mode()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/ |
D | main.c | 354 struct netdev_hw_addr_list *mc_list) in lbtf_op_prepare_multicast() argument 359 int mc_count = netdev_hw_addr_list_count(mc_list); in lbtf_op_prepare_multicast() 366 netdev_hw_addr_list_for_each(ha, mc_list) in lbtf_op_prepare_multicast()
|
/kernel/linux/linux-5.10/include/net/ |
D | if_inet6.h | 176 struct ifmcaddr6 *mc_list; member
|
D | inet_sock.h | 251 struct ip_mc_socklist __rcu *mc_list; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/ |
D | main.c | 364 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/ |
D | ehea_main.c | 250 list_for_each_entry(mc_entry, &port->mc_list->list,list) in ehea_update_bcmc_registrations() 285 &port->mc_list->list, list) { in ehea_update_bcmc_registrations() 1842 struct ehea_mc_list *mc_entry = port->mc_list; in ehea_drop_multicast_list() 1848 list_for_each_safe(pos, temp, &(port->mc_list->list)) { in ehea_drop_multicast_list() 1909 list_add(&ehea_mcl_entry->list, &port->mc_list->list); in ehea_add_multicast_entry() 2967 port->mc_list = kzalloc(sizeof(struct ehea_mc_list), GFP_KERNEL); in ehea_setup_single_port() 2968 if (!port->mc_list) { in ehea_setup_single_port() 2973 INIT_LIST_HEAD(&port->mc_list->list); in ehea_setup_single_port() 3035 kfree(port->mc_list); in ehea_setup_single_port() 3054 kfree(port->mc_list); in ehea_shutdown_single_port()
|
D | ehea.h | 433 struct ehea_mc_list *mc_list; /* Multicast MAC addresses */ member
|
/kernel/linux/linux-5.10/drivers/staging/vt6656/ |
D | main_usb.c | 846 struct netdev_hw_addr_list *mc_list) in vnt_prepare_multicast() argument 853 netdev_hw_addr_list_for_each(ha, mc_list) { in vnt_prepare_multicast() 858 priv->mc_list_count = mc_list->count; in vnt_prepare_multicast()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/ |
D | mac80211-ops.c | 320 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()
|