Lines Matching refs:hash_entry
914 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local
931 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in memac_add_hash_mac_address()
932 if (!hash_entry) in memac_add_hash_mac_address()
934 hash_entry->addr = addr; in memac_add_hash_mac_address()
935 INIT_LIST_HEAD(&hash_entry->node); in memac_add_hash_mac_address()
937 list_add_tail(&hash_entry->node, in memac_add_hash_mac_address()
975 struct eth_hash_entry *hash_entry = NULL; in memac_del_hash_mac_address() local
988 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in memac_del_hash_mac_address()
989 if (hash_entry->addr == addr) { in memac_del_hash_mac_address()
990 list_del_init(&hash_entry->node); in memac_del_hash_mac_address()
991 kfree(hash_entry); in memac_del_hash_mac_address()