Lines Matching refs:hash_entry
909 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local
926 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in memac_add_hash_mac_address()
927 if (!hash_entry) in memac_add_hash_mac_address()
929 hash_entry->addr = addr; in memac_add_hash_mac_address()
930 INIT_LIST_HEAD(&hash_entry->node); in memac_add_hash_mac_address()
932 list_add_tail(&hash_entry->node, in memac_add_hash_mac_address()
970 struct eth_hash_entry *hash_entry = NULL; in memac_del_hash_mac_address() local
983 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in memac_del_hash_mac_address()
984 if (hash_entry && hash_entry->addr == addr) { in memac_del_hash_mac_address()
985 list_del_init(&hash_entry->node); in memac_del_hash_mac_address()
986 kfree(hash_entry); in memac_del_hash_mac_address()