/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/ |
D | main.c | 359 int mc_count = netdev_hw_addr_list_count(mc_list); in lbtf_op_prepare_multicast() local 361 if (!mc_count || mc_count > MRVDRV_MAX_MULTICAST_LIST_SIZE) in lbtf_op_prepare_multicast() 362 return mc_count; in lbtf_op_prepare_multicast() 364 priv->nr_of_multicastmacaddr = mc_count; in lbtf_op_prepare_multicast() 369 return mc_count; in lbtf_op_prepare_multicast()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
D | hw.c | 681 priv->mc_count = 0; in orinoco_hw_program_rids() 1069 int mc_count, int promisc) in __orinoco_hw_set_multicast_list() argument 1088 if (!promisc && (mc_count || priv->mc_count)) { in __orinoco_hw_set_multicast_list() 1094 if (i == mc_count) in __orinoco_hw_set_multicast_list() 1101 HERMES_BYTES_TO_RECLEN(mc_count * ETH_ALEN), in __orinoco_hw_set_multicast_list() 1107 priv->mc_count = mc_count; in __orinoco_hw_set_multicast_list()
|
D | hw.h | 46 int mc_count, int promisc);
|
D | orinoco.h | 142 int promiscuous, mc_count; member
|
D | main.c | 1701 int promisc, mc_count; in __orinoco_set_multicast_list() local 1708 mc_count = 0; in __orinoco_set_multicast_list() 1711 mc_count = netdev_mc_count(dev); in __orinoco_set_multicast_list() 1714 err = __orinoco_hw_set_multicast_list(priv, dev, mc_count, promisc); in __orinoco_set_multicast_list()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/ |
D | 3c509.c | 977 int mc_count = netdev_mc_count(dev); in set_multicast_list() local 981 if (old != mc_count) { in set_multicast_list() 982 old = mc_count; in set_multicast_list() 984 dev->name, mc_count); in set_multicast_list() 992 else if (mc_count || (dev->flags&IFF_ALLMULTI)) { in set_multicast_list()
|
/kernel/linux/linux-5.10/drivers/net/fddi/ |
D | defxx.c | 1495 bp->mc_count = 0; in dfx_open() 2312 bp->mc_count = 0; /* Don't add mc addrs to CAM */ in dfx_ctl_set_multicast_list() 2317 bp->mc_count = netdev_mc_count(dev); /* Add mc addrs to CAM */ in dfx_ctl_set_multicast_list() 2333 …DBG_printk("%s: Multicast address table updated! Added %d addresses.\n", dev->name, bp->mc_count); in dfx_ctl_set_multicast_list() 2409 if ((bp->uc_count + bp->mc_count) > PI_CMD_ADDR_FILTER_K_SIZE) in dfx_ctl_set_mac_address() 2412 bp->mc_count = 0; /* Don't add mc addrs to CAM */ in dfx_ctl_set_mac_address() 2508 for (i=0; i < (int)bp->mc_count; i++) in dfx_ctl_update_cam()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
D | enic.h | 162 unsigned int mc_count; member
|
D | enic_main.c | 910 if (enic->mc_count == ENIC_MULTICAST_PERFECT_FILTERS) { in enic_mc_sync() 911 unsigned int mc_count = netdev_mc_count(netdev); in enic_mc_sync() local 914 ENIC_MULTICAST_PERFECT_FILTERS, mc_count); in enic_mc_sync() 920 enic->mc_count++; in enic_mc_sync() 930 enic->mc_count--; in enic_mc_unsync() 971 enic->mc_count = 0; in enic_reset_addr_lists()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 1136 int rc = 0, mc_count; in qede_configure_mcast_filtering() local 1159 mc_count = netdev_mc_count(ndev); in qede_configure_mcast_filtering() 1160 if (mc_count <= 64) { in qede_configure_mcast_filtering() 1170 if ((ndev->flags & IFF_ALLMULTI) || (mc_count > 64)) { in qede_configure_mcast_filtering() 1176 mc_macs, mc_count); in qede_configure_mcast_filtering()
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | trace.h | 489 TP_PROTO(struct ieee80211_local *local, int mc_count), 491 TP_ARGS(local, mc_count), 495 __field(int, mc_count) 500 __entry->mc_count = mc_count; 505 LOCAL_PR_ARG, __entry->mc_count
|
/kernel/linux/linux-5.10/drivers/net/wireless/ |
D | rndis_wlan.c | 1572 int mc_count; in set_multicast_list() local 1592 mc_count = netdev_mc_count(usbdev->net); in set_multicast_list() 1593 if (mc_count > priv->multicast_size) { in set_multicast_list() 1595 } else if (mc_count) { in set_multicast_list() 1598 mc_addrs = kmalloc_array(mc_count, ETH_ALEN, GFP_ATOMIC); in set_multicast_list() 1613 if (mc_count) { in set_multicast_list() 1616 mc_addrs, mc_count * ETH_ALEN); in set_multicast_list() 1624 mc_count, priv->multicast_size, ret); in set_multicast_list()
|
/kernel/linux/linux-5.10/include/linux/ |
D | inetdevice.h | 34 int mc_count; /* Number of installed mcasts */ member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 1040 int mc_count = netdev_mc_count(dev); in dmfe_set_filter_mode() local 1053 if (dev->flags & IFF_ALLMULTI || mc_count > DMFE_MAX_MULTICAST) { in dmfe_set_filter_mode() 1054 DMFE_DBUG(0, "Pass all multicast address", mc_count); in dmfe_set_filter_mode() 1061 DMFE_DBUG(0, "Set multicast address", mc_count); in dmfe_set_filter_mode()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | aqc111.c | 532 int mc_count = 0; in aqc111_set_rx_mode() local 534 mc_count = netdev_mc_count(net); in aqc111_set_rx_mode() 541 } else if ((net->flags & IFF_ALLMULTI) || mc_count > AQ_MAX_MCAST) { in aqc111_set_rx_mode()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
D | lio_vf_main.c | 1080 int mc_count = min(netdev_mc_count(netdev), MAX_OCTEON_MULTICAST_ADDR); in liquidio_set_mcast_list() local 1094 nctrl.ncmd.s.param2 = mc_count; in liquidio_set_mcast_list() 1095 nctrl.ncmd.s.more = mc_count; in liquidio_set_mcast_list() 1105 if (++mc > &nctrl.udd[mc_count]) in liquidio_set_mcast_list()
|
D | lio_main.c | 1965 int mc_count = min(netdev_mc_count(netdev), MAX_OCTEON_MULTICAST_ADDR); in liquidio_set_mcast_list() local 1973 nctrl.ncmd.s.param2 = mc_count; in liquidio_set_mcast_list() 1974 nctrl.ncmd.s.more = mc_count; in liquidio_set_mcast_list() 1986 if (++mc > &nctrl.udd[mc_count]) in liquidio_set_mcast_list()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | igmp.c | 1401 if (in_dev->mc_count < 4) in ip_mc_hash_add() 1469 in_dev->mc_count++; in ____ip_mc_inc_group() 1689 in_dev->mc_count--; in __ip_mc_dec_group() 1819 in_dev->mc_count--; in ip_mc_destroy_dev() 2861 state->dev->ifindex, state->dev->name, state->in_dev->mc_count, querier); in igmp_mc_seq_show()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 2089 int mc_count, i; in pch_gbe_set_multi() local 2104 mc_count = netdev_mc_count(netdev); in pch_gbe_set_multi() 2105 if ((netdev->flags & IFF_ALLMULTI) || mc_count >= PCH_GBE_MAR_ENTRIES) in pch_gbe_set_multi() 2137 ioread32(&hw->reg->RX_MODE), mc_count); in pch_gbe_set_multi()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | virtio_net.c | 1946 int mc_count; in virtnet_set_rx_mode() local 1972 mc_count = netdev_mc_count(dev); in virtnet_set_rx_mode() 1974 buf = kzalloc(((uc_count + mc_count) * ETH_ALEN) + in virtnet_set_rx_mode() 1994 mac_data->entries = cpu_to_virtio32(vi->vdev, mc_count); in virtnet_set_rx_mode() 2000 sizeof(mac_data->entries) + (mc_count * ETH_ALEN)); in virtnet_set_rx_mode()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
D | main.c | 1158 int mc_count = netdev_mc_count(ndev); in ath6kl_set_multicast_list() local 1172 !!(mc_count > ATH6K_MAX_MC_FILTERS_PER_LIST); in ath6kl_set_multicast_list()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/ |
D | mwl8k.c | 2687 int mc_count = 0; in __mwl8k_cmd_mac_multicast_adr() local 2690 mc_count = netdev_hw_addr_list_count(mc_list); in __mwl8k_cmd_mac_multicast_adr() 2692 if (allmulti || mc_count > priv->num_mcaddrs) { in __mwl8k_cmd_mac_multicast_adr() 2694 mc_count = 0; in __mwl8k_cmd_mac_multicast_adr() 2697 size = sizeof(*cmd) + mc_count * ETH_ALEN; in __mwl8k_cmd_mac_multicast_adr() 2710 } else if (mc_count) { in __mwl8k_cmd_mac_multicast_adr() 2715 cmd->numaddr = cpu_to_le16(mc_count); in __mwl8k_cmd_mac_multicast_adr()
|
/kernel/linux/linux-5.10/drivers/staging/ks7010/ |
D | ks_hostif.c | 1896 int mc_count; in hostif_sme_multicast_set() local 1919 mc_count = netdev_mc_count(dev); in hostif_sme_multicast_set() 1927 ETH_ALEN * mc_count); in hostif_sme_multicast_set()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 3159 int mc_count = netdev_mc_count(netdev); in bnad_set_rx_mcast_fltr() local 3169 if (mc_count > bna_attr(&bnad->bna)->num_mcmac) in bnad_set_rx_mcast_fltr() 3172 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); in bnad_set_rx_mcast_fltr() 3181 ret = bna_rx_mcast_listset(bnad->rx_info[0].rx, mc_count + 1, mac_list); in bnad_set_rx_mcast_fltr()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/ |
D | be.h | 616 u32 mc_count; member
|