Lines Matching refs:hash_entry
489 struct eth_hash_entry *hash_entry; in tgec_add_hash_mac_address() local
510 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in tgec_add_hash_mac_address()
511 if (!hash_entry) in tgec_add_hash_mac_address()
513 hash_entry->addr = addr; in tgec_add_hash_mac_address()
514 INIT_LIST_HEAD(&hash_entry->node); in tgec_add_hash_mac_address()
516 list_add_tail(&hash_entry->node, in tgec_add_hash_mac_address()
570 struct eth_hash_entry *hash_entry = NULL; in tgec_del_hash_mac_address() local
587 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in tgec_del_hash_mac_address()
588 if (hash_entry && hash_entry->addr == addr) { in tgec_del_hash_mac_address()
589 list_del_init(&hash_entry->node); in tgec_del_hash_mac_address()
590 kfree(hash_entry); in tgec_del_hash_mac_address()