/linux-6.1.9/drivers/net/wireless/marvell/libertas_tf/ |
D | main.c | 360 int mc_count = netdev_hw_addr_list_count(mc_list); in lbtf_op_prepare_multicast() local 362 if (!mc_count || mc_count > MRVDRV_MAX_MULTICAST_LIST_SIZE) in lbtf_op_prepare_multicast() 363 return mc_count; in lbtf_op_prepare_multicast() 365 priv->nr_of_multicastmacaddr = mc_count; in lbtf_op_prepare_multicast() 370 return mc_count; in lbtf_op_prepare_multicast()
|
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/ |
D | hw.c | 681 priv->mc_count = 0; in orinoco_hw_program_rids() 1073 int mc_count, int promisc) in __orinoco_hw_set_multicast_list() argument 1092 if (!promisc && (mc_count || priv->mc_count)) { in __orinoco_hw_set_multicast_list() 1098 if (i == mc_count) in __orinoco_hw_set_multicast_list() 1105 HERMES_BYTES_TO_RECLEN(mc_count * ETH_ALEN), in __orinoco_hw_set_multicast_list() 1111 priv->mc_count = mc_count; in __orinoco_hw_set_multicast_list()
|
D | hw.h | 47 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()
|
/linux-6.1.9/drivers/net/ethernet/3com/ |
D | 3c509.c | 975 int mc_count = netdev_mc_count(dev); in set_multicast_list() local 979 if (old != mc_count) { in set_multicast_list() 980 old = mc_count; in set_multicast_list() 982 dev->name, mc_count); in set_multicast_list() 990 else if (mc_count || (dev->flags&IFF_ALLMULTI)) { in set_multicast_list()
|
/linux-6.1.9/drivers/net/fddi/ |
D | defxx.c | 1484 bp->mc_count = 0; in dfx_open() 2301 bp->mc_count = 0; /* Don't add mc addrs to CAM */ in dfx_ctl_set_multicast_list() 2306 bp->mc_count = netdev_mc_count(dev); /* Add mc addrs to CAM */ in dfx_ctl_set_multicast_list() 2322 …DBG_printk("%s: Multicast address table updated! Added %d addresses.\n", dev->name, bp->mc_count); in dfx_ctl_set_multicast_list() 2398 if ((bp->uc_count + bp->mc_count) > PI_CMD_ADDR_FILTER_K_SIZE) in dfx_ctl_set_mac_address() 2401 bp->mc_count = 0; /* Don't add mc addrs to CAM */ in dfx_ctl_set_mac_address() 2497 for (i=0; i < (int)bp->mc_count; i++) in dfx_ctl_update_cam()
|
/linux-6.1.9/drivers/net/ethernet/cisco/enic/ |
D | enic.h | 149 unsigned int mc_count; member
|
D | enic_main.c | 909 if (enic->mc_count == ENIC_MULTICAST_PERFECT_FILTERS) { in enic_mc_sync() 910 unsigned int mc_count = netdev_mc_count(netdev); in enic_mc_sync() local 913 ENIC_MULTICAST_PERFECT_FILTERS, mc_count); in enic_mc_sync() 919 enic->mc_count++; in enic_mc_sync() 929 enic->mc_count--; in enic_mc_unsync() 970 enic->mc_count = 0; in enic_reset_addr_lists()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 1133 int rc = 0, mc_count; in qede_configure_mcast_filtering() local 1156 mc_count = netdev_mc_count(ndev); in qede_configure_mcast_filtering() 1157 if (mc_count <= 64) { in qede_configure_mcast_filtering() 1167 if ((ndev->flags & IFF_ALLMULTI) || (mc_count > 64)) { in qede_configure_mcast_filtering() 1173 mc_macs, mc_count); in qede_configure_mcast_filtering()
|
/linux-6.1.9/drivers/net/wireless/ |
D | rndis_wlan.c | 1571 int mc_count; in set_multicast_list() local 1591 mc_count = netdev_mc_count(usbdev->net); in set_multicast_list() 1592 if (mc_count > priv->multicast_size) { in set_multicast_list() 1594 } else if (mc_count) { in set_multicast_list() 1597 mc_addrs = kmalloc_array(mc_count, ETH_ALEN, GFP_ATOMIC); in set_multicast_list() 1612 if (mc_count) { in set_multicast_list() 1615 mc_addrs, mc_count * ETH_ALEN); in set_multicast_list() 1623 mc_count, priv->multicast_size, ret); in set_multicast_list()
|
/linux-6.1.9/include/linux/ |
D | inetdevice.h | 36 int mc_count; /* Number of installed mcasts */ member
|
/linux-6.1.9/drivers/net/ethernet/asix/ |
D | ax88796c_main.c | 94 int mc_count = netdev_mc_count(ndev); in ax88796c_set_hw_multicast() local 104 } else if (ndev->flags & IFF_ALLMULTI || mc_count > AX_MAX_MCAST) { in ax88796c_set_hw_multicast() 107 } else if (mc_count == 0) { in ax88796c_set_hw_multicast()
|
/linux-6.1.9/net/mac80211/ |
D | trace.h | 523 TP_PROTO(struct ieee80211_local *local, int mc_count), 525 TP_ARGS(local, mc_count), 529 __field(int, mc_count) 534 __entry->mc_count = mc_count; 539 LOCAL_PR_ARG, __entry->mc_count
|
/linux-6.1.9/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 1039 int mc_count = netdev_mc_count(dev); in dmfe_set_filter_mode() local 1052 if (dev->flags & IFF_ALLMULTI || mc_count > DMFE_MAX_MULTICAST) { in dmfe_set_filter_mode() 1053 DMFE_DBUG(0, "Pass all multicast address", mc_count); in dmfe_set_filter_mode() 1060 DMFE_DBUG(0, "Set multicast address", mc_count); in dmfe_set_filter_mode()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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 | 1961 int mc_count = min(netdev_mc_count(netdev), MAX_OCTEON_MULTICAST_ADDR); in liquidio_set_mcast_list() local 1969 nctrl.ncmd.s.param2 = mc_count; in liquidio_set_mcast_list() 1970 nctrl.ncmd.s.more = mc_count; in liquidio_set_mcast_list() 1982 if (++mc > &nctrl.udd[mc_count]) in liquidio_set_mcast_list()
|
/linux-6.1.9/net/ipv4/ |
D | igmp.c | 1399 if (in_dev->mc_count < 4) in ip_mc_hash_add() 1467 in_dev->mc_count++; in ____ip_mc_inc_group() 1687 in_dev->mc_count--; in __ip_mc_dec_group() 1817 in_dev->mc_count--; in ip_mc_destroy_dev() 2868 state->dev->ifindex, state->dev->name, state->in_dev->mc_count, querier); in igmp_mc_seq_show()
|
/linux-6.1.9/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 2068 int mc_count, i; in pch_gbe_set_multi() local 2083 mc_count = netdev_mc_count(netdev); in pch_gbe_set_multi() 2084 if ((netdev->flags & IFF_ALLMULTI) || mc_count >= PCH_GBE_MAR_ENTRIES) in pch_gbe_set_multi() 2116 ioread32(&hw->reg->RX_MODE), mc_count); in pch_gbe_set_multi()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/net/wireless/marvell/ |
D | mwl8k.c | 2691 int mc_count = 0; in __mwl8k_cmd_mac_multicast_adr() local 2694 mc_count = netdev_hw_addr_list_count(mc_list); in __mwl8k_cmd_mac_multicast_adr() 2696 if (allmulti || mc_count > priv->num_mcaddrs) { in __mwl8k_cmd_mac_multicast_adr() 2698 mc_count = 0; in __mwl8k_cmd_mac_multicast_adr() 2701 size = sizeof(*cmd) + mc_count * ETH_ALEN; in __mwl8k_cmd_mac_multicast_adr() 2714 } else if (mc_count) { in __mwl8k_cmd_mac_multicast_adr() 2719 cmd->numaddr = cpu_to_le16(mc_count); in __mwl8k_cmd_mac_multicast_adr()
|
/linux-6.1.9/drivers/net/ |
D | virtio_net.c | 2172 int mc_count; in virtnet_set_rx_mode() local 2198 mc_count = netdev_mc_count(dev); in virtnet_set_rx_mode() 2200 buf = kzalloc(((uc_count + mc_count) * ETH_ALEN) + in virtnet_set_rx_mode() 2220 mac_data->entries = cpu_to_virtio32(vi->vdev, mc_count); in virtnet_set_rx_mode() 2226 sizeof(mac_data->entries) + (mc_count * ETH_ALEN)); in virtnet_set_rx_mode()
|
/linux-6.1.9/drivers/staging/ks7010/ |
D | ks_hostif.c | 1888 int mc_count; in hostif_sme_multicast_set() local 1911 mc_count = netdev_mc_count(dev); in hostif_sme_multicast_set() 1919 ETH_ALEN * mc_count); in hostif_sme_multicast_set()
|
/linux-6.1.9/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 3156 int mc_count = netdev_mc_count(netdev); in bnad_set_rx_mcast_fltr() local 3166 if (mc_count > bna_attr(&bnad->bna)->num_mcmac) in bnad_set_rx_mcast_fltr() 3169 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); in bnad_set_rx_mcast_fltr() 3178 ret = bna_rx_mcast_listset(bnad->rx_info[0].rx, mc_count + 1, mac_list); in bnad_set_rx_mcast_fltr()
|