Lines Matching refs:hash_entry
866 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local
883 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in memac_add_hash_mac_address()
884 if (!hash_entry) in memac_add_hash_mac_address()
886 hash_entry->addr = addr; in memac_add_hash_mac_address()
887 INIT_LIST_HEAD(&hash_entry->node); in memac_add_hash_mac_address()
889 list_add_tail(&hash_entry->node, in memac_add_hash_mac_address()
928 struct eth_hash_entry *hash_entry = NULL; in memac_del_hash_mac_address() local
941 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in memac_del_hash_mac_address()
942 if (hash_entry && hash_entry->addr == addr) { in memac_del_hash_mac_address()
943 list_del_init(&hash_entry->node); in memac_del_hash_mac_address()
944 kfree(hash_entry); in memac_del_hash_mac_address()