| /OK3568_Linux_fs/kernel/net/hsr/ |
| H A D | hsr_framereg.c | 46 mac_list); in hsr_addr_is_self() 67 list_for_each_entry_rcu(node, node_db, mac_list) { in find_node_by_addr_A() 94 struct hsr_node, mac_list); in hsr_create_self_node() 96 list_replace_rcu(&oldnode->mac_list, &node->mac_list); in hsr_create_self_node() 100 list_add_tail_rcu(&node->mac_list, self_node_db); in hsr_create_self_node() 113 node = list_first_or_null_rcu(self_node_db, struct hsr_node, mac_list); in hsr_del_self_node() 115 list_del_rcu(&node->mac_list); in hsr_del_self_node() 126 list_for_each_entry_safe(node, tmp, node_db, mac_list) in hsr_del_nodes() 178 list_for_each_entry_rcu(node, node_db, mac_list, in hsr_add_node() 185 list_add_tail_rcu(&new_node->mac_list, node_db); in hsr_add_node() [all …]
|
| H A D | hsr_framereg.h | 71 struct list_head mac_list; member
|
| H A D | hsr_debugfs.c | 42 list_for_each_entry_rcu(node, &priv->node_db, mac_list) { in hsr_node_table_show()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_config.c | 143 dhd_conf_free_mac_list(wl_mac_list_ctrl_t *mac_list) in dhd_conf_free_mac_list() argument 148 if (mac_list->m_mac_list_head) { in dhd_conf_free_mac_list() 149 for (i=0; i<mac_list->count; i++) { in dhd_conf_free_mac_list() 150 if (mac_list->m_mac_list_head[i].mac) { in dhd_conf_free_mac_list() 151 CONFIG_TRACE("Free mac %p\n", mac_list->m_mac_list_head[i].mac); in dhd_conf_free_mac_list() 152 kfree(mac_list->m_mac_list_head[i].mac); in dhd_conf_free_mac_list() 155 CONFIG_TRACE("Free m_mac_list_head %p\n", mac_list->m_mac_list_head); in dhd_conf_free_mac_list() 156 kfree(mac_list->m_mac_list_head); in dhd_conf_free_mac_list() 158 mac_list->count = 0; in dhd_conf_free_mac_list() 266 wl_mac_list_t *mac_list; in dhd_conf_set_fw_name_by_mac() local [all …]
|
| H A D | dhd_rtt.h | 326 dhd_dev_rtt_cancel_cfg(struct net_device *dev, struct ether_addr *mac_list, int mac_cnt); 359 dhd_rtt_stop(dhd_pub_t *dhd, struct ether_addr *mac_list, int mac_cnt);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_config.c | 427 dhd_conf_free_mac_list(wl_mac_list_ctrl_t *mac_list) in dhd_conf_free_mac_list() argument 432 if (mac_list->m_mac_list_head) { in dhd_conf_free_mac_list() 433 for (i=0; i<mac_list->count; i++) { in dhd_conf_free_mac_list() 434 if (mac_list->m_mac_list_head[i].mac) { in dhd_conf_free_mac_list() 435 CONFIG_TRACE("Free mac %p\n", mac_list->m_mac_list_head[i].mac); in dhd_conf_free_mac_list() 436 kfree(mac_list->m_mac_list_head[i].mac); in dhd_conf_free_mac_list() 439 CONFIG_TRACE("Free m_mac_list_head %p\n", mac_list->m_mac_list_head); in dhd_conf_free_mac_list() 440 kfree(mac_list->m_mac_list_head); in dhd_conf_free_mac_list() 442 mac_list->count = 0; in dhd_conf_free_mac_list() 452 wl_mac_list_t *mac_list; in dhd_conf_set_fw_name_by_mac() local [all …]
|
| H A D | dhd_custom_cis.c | 1279 struct list_head mac_list; in dhd_check_module_mac() local 1289 INIT_LIST_HEAD(&mac_list); in dhd_check_module_mac() 1291 &tuple_len, &mac_list); in dhd_check_module_mac() 1294 tuple_entry_t *cur = list_entry((&mac_list)->next, in dhd_check_module_mac() 1299 idx = dhd_verify_macaddr(dhdp, &mac_list); in dhd_check_module_mac() 1324 dhd_free_tuple_entry(dhdp, &mac_list); in dhd_check_module_mac() 1336 dhd_free_tuple_entry(dhdp, &mac_list); in dhd_check_module_mac()
|
| H A D | dhd_rtt.h | 423 int dhd_dev_rtt_cancel_cfg(struct net_device *dev, struct ether_addr *mac_list, int mac_cnt); 506 int dhd_rtt_stop(dhd_pub_t *dhd, struct ether_addr *mac_list, int mac_cnt);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_config.c | 339 dhd_conf_free_mac_list(wl_mac_list_ctrl_t *mac_list) in dhd_conf_free_mac_list() argument 344 if (mac_list->m_mac_list_head) { in dhd_conf_free_mac_list() 345 for (i=0; i<mac_list->count; i++) { in dhd_conf_free_mac_list() 346 if (mac_list->m_mac_list_head[i].mac) { in dhd_conf_free_mac_list() 347 CONFIG_TRACE("Free mac %p\n", mac_list->m_mac_list_head[i].mac); in dhd_conf_free_mac_list() 348 kfree(mac_list->m_mac_list_head[i].mac); in dhd_conf_free_mac_list() 351 CONFIG_TRACE("Free m_mac_list_head %p\n", mac_list->m_mac_list_head); in dhd_conf_free_mac_list() 352 kfree(mac_list->m_mac_list_head); in dhd_conf_free_mac_list() 354 mac_list->count = 0; in dhd_conf_free_mac_list() 364 wl_mac_list_t *mac_list; in dhd_conf_set_fw_name_by_mac() local [all …]
|
| H A D | dhd_custom_cis.c | 1279 struct list_head mac_list; in dhd_check_module_mac() local 1289 INIT_LIST_HEAD(&mac_list); in dhd_check_module_mac() 1291 &tuple_len, &mac_list); in dhd_check_module_mac() 1294 tuple_entry_t *cur = list_entry((&mac_list)->next, in dhd_check_module_mac() 1299 idx = dhd_verify_macaddr(dhdp, &mac_list); in dhd_check_module_mac() 1324 dhd_free_tuple_entry(dhdp, &mac_list); in dhd_check_module_mac() 1336 dhd_free_tuple_entry(dhdp, &mac_list); in dhd_check_module_mac()
|
| H A D | dhd_rtt.h | 423 int dhd_dev_rtt_cancel_cfg(struct net_device *dev, struct ether_addr *mac_list, int mac_cnt); 506 int dhd_rtt_stop(dhd_pub_t *dhd, struct ether_addr *mac_list, int mac_cnt);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/ |
| H A D | ssv_cfgvendor.c | 984 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in wl_cfgvendor_rtt_cancel_config() local 992 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in wl_cfgvendor_rtt_cancel_config() 993 if (mac_list == NULL) { in wl_cfgvendor_rtt_cancel_config() 997 mac_addr = &mac_list[0]; in wl_cfgvendor_rtt_cancel_config() 1008 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in wl_cfgvendor_rtt_cancel_config() 1015 if (mac_list) in wl_cfgvendor_rtt_cancel_config() 1016 kfree(mac_list); in wl_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1063 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in wl_cfgvendor_rtt_cancel_config() local 1071 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in wl_cfgvendor_rtt_cancel_config() 1072 if (mac_list == NULL) { in wl_cfgvendor_rtt_cancel_config() 1076 mac_addr = &mac_list[0]; in wl_cfgvendor_rtt_cancel_config() 1087 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in wl_cfgvendor_rtt_cancel_config() 1094 if (mac_list) in wl_cfgvendor_rtt_cancel_config() 1095 kfree(mac_list); in wl_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1078 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in wl_cfgvendor_rtt_cancel_config() local 1086 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in wl_cfgvendor_rtt_cancel_config() 1087 if (mac_list == NULL) { in wl_cfgvendor_rtt_cancel_config() 1091 mac_addr = &mac_list[0]; in wl_cfgvendor_rtt_cancel_config() 1102 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in wl_cfgvendor_rtt_cancel_config() 1109 if (mac_list) in wl_cfgvendor_rtt_cancel_config() 1110 kfree(mac_list); in wl_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1068 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in wl_cfgvendor_rtt_cancel_config() local 1076 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in wl_cfgvendor_rtt_cancel_config() 1077 if (mac_list == NULL) { in wl_cfgvendor_rtt_cancel_config() 1081 mac_addr = &mac_list[0]; in wl_cfgvendor_rtt_cancel_config() 1092 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in wl_cfgvendor_rtt_cancel_config() 1099 if (mac_list) in wl_cfgvendor_rtt_cancel_config() 1100 kfree(mac_list); in wl_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | eswitch.c | 732 u8 (*mac_list)[ETH_ALEN]; in esw_update_vport_addr_list() local 745 mac_list = kcalloc(size, ETH_ALEN, GFP_KERNEL); in esw_update_vport_addr_list() 746 if (!mac_list) in esw_update_vport_addr_list() 760 mac_list, &size); in esw_update_vport_addr_list() 767 if (is_uc && !is_valid_ether_addr(mac_list[i])) in esw_update_vport_addr_list() 770 if (!is_uc && !is_multicast_ether_addr(mac_list[i])) in esw_update_vport_addr_list() 773 addr = l2addr_hash_find(hash, mac_list[i], struct vport_addr); in esw_update_vport_addr_list() 783 mac_list[i], in esw_update_vport_addr_list() 788 mac_list[i]); in esw_update_vport_addr_list() 797 addr = l2addr_hash_add(hash, mac_list[i], struct vport_addr, in esw_update_vport_addr_list() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1067 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in rtw_cfgvendor_rtt_cancel_config() local 1075 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1076 if (mac_list == NULL) { in rtw_cfgvendor_rtt_cancel_config() 1080 mac_addr = &mac_list[0]; in rtw_cfgvendor_rtt_cancel_config() 1091 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config() 1098 if (mac_list) in rtw_cfgvendor_rtt_cancel_config() 1099 kfree(mac_list); in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_rtt.h | 407 dhd_dev_rtt_cancel_cfg(struct net_device *dev, struct ether_addr *mac_list, int mac_cnt); 478 dhd_rtt_stop(dhd_pub_t *dhd, struct ether_addr *mac_list, int mac_cnt);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_rtt.h | 407 dhd_dev_rtt_cancel_cfg(struct net_device *dev, struct ether_addr *mac_list, int mac_cnt); 478 dhd_rtt_stop(dhd_pub_t *dhd, struct ether_addr *mac_list, int mac_cnt);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_rtt.h | 407 dhd_dev_rtt_cancel_cfg(struct net_device *dev, struct ether_addr *mac_list, int mac_cnt); 478 dhd_rtt_stop(dhd_pub_t *dhd, struct ether_addr *mac_list, int mac_cnt);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/p54/ |
| H A D | fwio.c | 752 memcpy(grp->mac_list, priv->mc_maclist, sizeof(grp->mac_list)); in p54_set_groupfilter() 756 memset(grp->mac_list, 0, sizeof(grp->mac_list)); in p54_set_groupfilter()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/prism54/ |
| H A D | islpci_dev.h | 44 struct list_head mac_list; /* a list of mac_entry */ member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1090 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in rtw_cfgvendor_rtt_cancel_config() local 1098 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1099 if (mac_list == NULL) { in rtw_cfgvendor_rtt_cancel_config() 1103 mac_addr = &mac_list[0]; in rtw_cfgvendor_rtt_cancel_config() 1114 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config() 1121 if (mac_list) in rtw_cfgvendor_rtt_cancel_config() 1122 kfree(mac_list); in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1090 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in rtw_cfgvendor_rtt_cancel_config() local 1098 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1099 if (mac_list == NULL) { in rtw_cfgvendor_rtt_cancel_config() 1103 mac_addr = &mac_list[0]; in rtw_cfgvendor_rtt_cancel_config() 1114 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config() 1121 if (mac_list) in rtw_cfgvendor_rtt_cancel_config() 1122 kfree(mac_list); in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1083 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in rtw_cfgvendor_rtt_cancel_config() local 1091 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1092 if (mac_list == NULL) { in rtw_cfgvendor_rtt_cancel_config() 1096 mac_addr = &mac_list[0]; in rtw_cfgvendor_rtt_cancel_config() 1107 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config() 1114 if (mac_list) in rtw_cfgvendor_rtt_cancel_config() 1115 kfree(mac_list); in rtw_cfgvendor_rtt_cancel_config()
|