Lines Matching refs:hash_entry
490 struct eth_hash_entry *hash_entry; in tgec_add_hash_mac_address() local
508 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in tgec_add_hash_mac_address()
509 if (!hash_entry) in tgec_add_hash_mac_address()
511 hash_entry->addr = addr; in tgec_add_hash_mac_address()
512 INIT_LIST_HEAD(&hash_entry->node); in tgec_add_hash_mac_address()
514 list_add_tail(&hash_entry->node, in tgec_add_hash_mac_address()
562 struct eth_hash_entry *hash_entry = NULL; in tgec_del_hash_mac_address() local
576 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in tgec_del_hash_mac_address()
577 if (hash_entry && hash_entry->addr == addr) { in tgec_del_hash_mac_address()
578 list_del_init(&hash_entry->node); in tgec_del_hash_mac_address()
579 kfree(hash_entry); in tgec_del_hash_mac_address()