Lines Matching refs:hash_entry
531 struct eth_hash_entry *hash_entry; in tgec_add_hash_mac_address() local
552 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in tgec_add_hash_mac_address()
553 if (!hash_entry) in tgec_add_hash_mac_address()
555 hash_entry->addr = addr; in tgec_add_hash_mac_address()
556 INIT_LIST_HEAD(&hash_entry->node); in tgec_add_hash_mac_address()
558 list_add_tail(&hash_entry->node, in tgec_add_hash_mac_address()
611 struct eth_hash_entry *hash_entry = NULL; in tgec_del_hash_mac_address() local
628 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in tgec_del_hash_mac_address()
629 if (hash_entry && hash_entry->addr == addr) { in tgec_del_hash_mac_address()
630 list_del_init(&hash_entry->node); in tgec_del_hash_mac_address()
631 kfree(hash_entry); in tgec_del_hash_mac_address()