Lines Matching refs:mac_list
3114 u8 *mac_list; in bnad_set_rx_ucast_fltr() local
3126 mac_list = kcalloc(ETH_ALEN, uc_count, GFP_ATOMIC); in bnad_set_rx_ucast_fltr()
3127 if (mac_list == NULL) in bnad_set_rx_ucast_fltr()
3132 ether_addr_copy(&mac_list[entry * ETH_ALEN], &ha->addr[0]); in bnad_set_rx_ucast_fltr()
3136 ret = bna_rx_ucast_listset(bnad->rx_info[0].rx, entry, mac_list); in bnad_set_rx_ucast_fltr()
3137 kfree(mac_list); in bnad_set_rx_ucast_fltr()
3156 u8 *mac_list; in bnad_set_rx_mcast_fltr() local
3167 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); in bnad_set_rx_mcast_fltr()
3169 if (mac_list == NULL) in bnad_set_rx_mcast_fltr()
3172 ether_addr_copy(&mac_list[0], &bnad_bcast_addr[0]); in bnad_set_rx_mcast_fltr()
3175 bnad_netdev_mc_list_get(netdev, mac_list); in bnad_set_rx_mcast_fltr()
3176 ret = bna_rx_mcast_listset(bnad->rx_info[0].rx, mc_count + 1, mac_list); in bnad_set_rx_mcast_fltr()
3177 kfree(mac_list); in bnad_set_rx_mcast_fltr()