Lines Matching refs:hash_entry
535 struct eth_hash_entry *hash_entry; in tgec_add_hash_mac_address() local
556 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in tgec_add_hash_mac_address()
557 if (!hash_entry) in tgec_add_hash_mac_address()
559 hash_entry->addr = addr; in tgec_add_hash_mac_address()
560 INIT_LIST_HEAD(&hash_entry->node); in tgec_add_hash_mac_address()
562 list_add_tail(&hash_entry->node, in tgec_add_hash_mac_address()
615 struct eth_hash_entry *hash_entry = NULL; in tgec_del_hash_mac_address() local
632 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in tgec_del_hash_mac_address()
633 if (hash_entry->addr == addr) { in tgec_del_hash_mac_address()
634 list_del_init(&hash_entry->node); in tgec_del_hash_mac_address()
635 kfree(hash_entry); in tgec_del_hash_mac_address()