Lines Matching refs:hash_entry
913 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local
930 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in memac_add_hash_mac_address()
931 if (!hash_entry) in memac_add_hash_mac_address()
933 hash_entry->addr = addr; in memac_add_hash_mac_address()
934 INIT_LIST_HEAD(&hash_entry->node); in memac_add_hash_mac_address()
936 list_add_tail(&hash_entry->node, in memac_add_hash_mac_address()
974 struct eth_hash_entry *hash_entry = NULL; in memac_del_hash_mac_address() local
987 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in memac_del_hash_mac_address()
988 if (hash_entry && hash_entry->addr == addr) { in memac_del_hash_mac_address()
989 list_del_init(&hash_entry->node); in memac_del_hash_mac_address()
990 kfree(hash_entry); in memac_del_hash_mac_address()