Lines Matching defs:mac_list
3113 u8 *mac_list;
3125 mac_list = kcalloc(ETH_ALEN, uc_count, GFP_ATOMIC);
3126 if (mac_list == NULL)
3131 ether_addr_copy(&mac_list[entry * ETH_ALEN], &ha->addr[0]);
3135 ret = bna_rx_ucast_listset(bnad->rx_info[0].rx, entry, mac_list);
3136 kfree(mac_list);
3155 u8 *mac_list;
3166 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC);
3168 if (mac_list == NULL)
3171 ether_addr_copy(&mac_list[0], &bnad_bcast_addr[0]);
3174 bnad_netdev_mc_list_get(netdev, mac_list);
3175 ret = bna_rx_mcast_listset(bnad->rx_info[0].rx, mc_count + 1, mac_list);
3176 kfree(mac_list);