Lines Matching refs:mac_list
3116 u8 *mac_list; in bnad_set_rx_ucast_fltr() local
3128 mac_list = kcalloc(ETH_ALEN, uc_count, GFP_ATOMIC); in bnad_set_rx_ucast_fltr()
3129 if (mac_list == NULL) in bnad_set_rx_ucast_fltr()
3134 ether_addr_copy(&mac_list[entry * ETH_ALEN], &ha->addr[0]); in bnad_set_rx_ucast_fltr()
3138 ret = bna_rx_ucast_listset(bnad->rx_info[0].rx, entry, mac_list); in bnad_set_rx_ucast_fltr()
3139 kfree(mac_list); in bnad_set_rx_ucast_fltr()
3158 u8 *mac_list; in bnad_set_rx_mcast_fltr() local
3169 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); in bnad_set_rx_mcast_fltr()
3171 if (mac_list == NULL) in bnad_set_rx_mcast_fltr()
3174 ether_addr_copy(&mac_list[0], &bnad_bcast_addr[0]); in bnad_set_rx_mcast_fltr()
3177 bnad_netdev_mc_list_get(netdev, mac_list); 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()
3179 kfree(mac_list); in bnad_set_rx_mcast_fltr()