/Linux-v4.19/net/hsr/ |
D | hsr_framereg.c | 27 struct list_head mac_list; member 65 mac_list); in hsr_addr_is_self() 86 list_for_each_entry_rcu(node, node_db, mac_list) { in find_node_by_AddrA() 113 struct hsr_node, mac_list); in hsr_create_self_node() 115 list_replace_rcu(&oldnode->mac_list, &node->mac_list); in hsr_create_self_node() 121 list_add_tail_rcu(&node->mac_list, self_node_db); in hsr_create_self_node() 154 list_add_tail_rcu(&node->mac_list, node_db); in hsr_add_node() 174 list_for_each_entry_rcu(node, node_db, mac_list) { in hsr_get_node() 253 list_del_rcu(&node_curr->mac_list); in hsr_handle_sup_frame() 377 list_for_each_entry_rcu(node, &hsr->node_db, mac_list) { in hsr_prune_nodes() [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.c | 605 u8 (*mac_list)[ETH_ALEN]; in esw_update_vport_addr_list() local 618 mac_list = kcalloc(size, ETH_ALEN, GFP_KERNEL); in esw_update_vport_addr_list() 619 if (!mac_list) in esw_update_vport_addr_list() 633 mac_list, &size); in esw_update_vport_addr_list() 640 if (is_uc && !is_valid_ether_addr(mac_list[i])) in esw_update_vport_addr_list() 643 if (!is_uc && !is_multicast_ether_addr(mac_list[i])) in esw_update_vport_addr_list() 646 addr = l2addr_hash_find(hash, mac_list[i], struct vport_addr); in esw_update_vport_addr_list() 656 mac_list[i], in esw_update_vport_addr_list() 661 mac_list[i]); in esw_update_vport_addr_list() 670 addr = l2addr_hash_add(hash, mac_list[i], struct vport_addr, in esw_update_vport_addr_list() [all …]
|
/Linux-v4.19/drivers/net/wireless/intersil/prism54/ |
D | islpci_dev.h | 56 struct list_head mac_list; /* a list of mac_entry */ member
|
D | isl_ioctl.c | 1786 INIT_LIST_HEAD(&acl->mac_list); in prism54_acl_init() 1804 for (ptr = acl->mac_list.next, next = ptr->next; in prism54_clear_mac() 1805 ptr != &acl->mac_list; ptr = next, next = ptr->next) { in prism54_clear_mac() 1842 list_add_tail(&entry->_list, &acl->mac_list); in prism54_add_mac() 1863 list_for_each_entry(entry, &acl->mac_list, _list) { in prism54_del_mac() 1890 list_for_each_entry(entry, &acl->mac_list, _list) { in prism54_get_mac() 1968 list_for_each_entry(entry, &acl->mac_list, _list) { in prism54_mac_accept()
|
/Linux-v4.19/drivers/net/wireless/intersil/p54/ |
D | fwio.c | 755 memcpy(grp->mac_list, priv->mc_maclist, sizeof(grp->mac_list)); in p54_set_groupfilter() 759 memset(grp->mac_list, 0, sizeof(grp->mac_list)); in p54_set_groupfilter()
|
D | lmac.h | 490 u8 mac_list[MC_FILTER_ADDRESS_NUM][ETH_ALEN]; member
|
D | main.c | 374 ARRAY_SIZE(((struct p54_group_address_table *)NULL)->mac_list)); in p54_prepare_multicast()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 468 list_for_each(head, &adapter->mac_list) { in qlcnic_nic_del_mac() 490 list_for_each(head, &adapter->mac_list) { in qlcnic_nic_add_mac() 512 list_add_tail(&cur->list, &adapter->mac_list); in qlcnic_nic_add_mac() 521 list_for_each_safe(head, tmp, &adapter->mac_list) { in qlcnic_flush_mcast_mac() 622 struct list_head *head = &adapter->mac_list; in qlcnic_82xx_free_mac_list()
|
D | qlcnic_main.c | 325 list_for_each(head, &adapter->mac_list) { in qlcnic_delete_adapter_mac() 2554 INIT_LIST_HEAD(&adapter->mac_list); in qlcnic_probe()
|
D | qlcnic.h | 1165 struct list_head mac_list; member
|
D | qlcnic_sriov_common.c | 2103 struct list_head *head = &adapter->mac_list; in qlcnic_sriov_vf_free_mac_list()
|
/Linux-v4.19/drivers/net/wireless/intersil/hostap/ |
D | hostap_ap.h | 146 struct list_head mac_list; member
|
D | hostap_ap.c | 357 return seq_list_start_head(&ap->mac_restrictions.mac_list, *_pos); in ap_control_proc_start() 363 return seq_list_next(v, &ap->mac_restrictions.mac_list, _pos); in ap_control_proc_next() 390 list_add_tail(&entry->list, &mac_restrictions->mac_list); in ap_control_add_mac() 404 for (ptr = mac_restrictions->mac_list.next; in ap_control_del_mac() 405 ptr != &mac_restrictions->mac_list; ptr = ptr->next) { in ap_control_del_mac() 431 list_for_each_entry(entry, &mac_restrictions->mac_list, list) { in ap_control_mac_deny() 455 for (ptr = mac_restrictions->mac_list.next, n = ptr->next; in ap_control_flush_macs() 456 ptr != &mac_restrictions->mac_list; in ap_control_flush_macs() 835 INIT_LIST_HEAD(&ap->mac_restrictions.mac_list); in hostap_init_data()
|
/Linux-v4.19/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 3132 u8 *mac_list; in bnad_set_rx_ucast_fltr() local 3144 mac_list = kcalloc(ETH_ALEN, uc_count, GFP_ATOMIC); in bnad_set_rx_ucast_fltr() 3145 if (mac_list == NULL) in bnad_set_rx_ucast_fltr() 3150 ether_addr_copy(&mac_list[entry * ETH_ALEN], &ha->addr[0]); in bnad_set_rx_ucast_fltr() 3154 ret = bna_rx_ucast_listset(bnad->rx_info[0].rx, entry, mac_list); in bnad_set_rx_ucast_fltr() 3155 kfree(mac_list); in bnad_set_rx_ucast_fltr() 3174 u8 *mac_list; in bnad_set_rx_mcast_fltr() local 3185 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); in bnad_set_rx_mcast_fltr() 3187 if (mac_list == NULL) in bnad_set_rx_mcast_fltr() 3190 ether_addr_copy(&mac_list[0], &bnad_bcast_addr[0]); in bnad_set_rx_mcast_fltr() [all …]
|
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/ |
D | ioctl.h | 44 u8 mac_list[MWIFIEX_MAX_MULTICAST_LIST_SIZE][ETH_ALEN]; member
|
D | sta_ioctl.c | 46 memcpy(&mlist->mac_list[i++], ha->addr, ETH_ALEN); in mwifiex_copy_mcast_addr()
|
D | sta_cmd.c | 474 memcpy(mcast_addr->mac_list, mcast_list->mac_list, in mwifiex_cmd_mac_multicast_adr()
|
D | fw.h | 1123 u8 mac_list[MWIFIEX_MAX_MULTICAST_LIST_SIZE][ETH_ALEN]; member
|
/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_hw.c | 648 list_move_tail(head, &adapter->mac_list); in nx_p3_nic_add_mac() 658 list_add_tail(&cur->list, &adapter->mac_list); in nx_p3_nic_add_mac() 678 list_splice_tail_init(&adapter->mac_list, &del_list); in netxen_p3_nic_set_multi() 734 struct list_head *head = &adapter->mac_list; in netxen_p3_free_mac_list()
|
D | netxen_nic.h | 1605 struct list_head mac_list; member
|
D | netxen_nic_main.c | 1512 INIT_LIST_HEAD(&adapter->mac_list); in netxen_nic_probe()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 2000 struct list_head *mac_list = in mac_find_smac_ix_in_slave() local 2004 list_for_each_entry_safe(res, tmp, mac_list, list) { in mac_find_smac_ix_in_slave() 2017 struct list_head *mac_list = in mac_add_to_slave() local 2021 list_for_each_entry_safe(res, tmp, mac_list, list) { in mac_add_to_slave() 2050 struct list_head *mac_list = in mac_del_from_slave() local 2054 list_for_each_entry_safe(res, tmp, mac_list, list) { in mac_del_from_slave() 2070 struct list_head *mac_list = in rem_slave_macs() local 2075 list_for_each_entry_safe(res, tmp, mac_list, list) { in rem_slave_macs()
|
/Linux-v4.19/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 3542 struct vf_mac_filter *mac_list; in igb_enable_sriov() local 3583 mac_list = adapter->vf_mac_list; in igb_enable_sriov() 3589 mac_list->vf = -1; in igb_enable_sriov() 3590 mac_list->free = true; in igb_enable_sriov() 3591 list_add(&mac_list->l, &adapter->vf_macs.l); in igb_enable_sriov() 3592 mac_list++; in igb_enable_sriov()
|