Lines Matching refs:new_entry
381 struct hash_mac_addr *new_entry; in cxgb4_mac_sync() local
392 new_entry = kzalloc(sizeof(*new_entry), GFP_ATOMIC); in cxgb4_mac_sync()
393 if (!new_entry) in cxgb4_mac_sync()
395 ether_addr_copy(new_entry->addr, mac_addr); in cxgb4_mac_sync()
396 list_add_tail(&new_entry->list, &adap->mac_hlist); in cxgb4_mac_sync()
466 struct hash_mac_addr *entry, *new_entry; in cxgb4_change_mac() local
482 new_entry = kzalloc(sizeof(*new_entry), GFP_KERNEL); in cxgb4_change_mac()
483 if (!new_entry) in cxgb4_change_mac()
485 ether_addr_copy(new_entry->addr, addr); in cxgb4_change_mac()
486 new_entry->iface_mac = true; in cxgb4_change_mac()
487 list_add_tail(&new_entry->list, &adapter->mac_hlist); in cxgb4_change_mac()