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_KERNEL); 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()
942 struct eth_hash_entry *hash_entry = NULL; in memac_del_hash_mac_address() local
955 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in memac_del_hash_mac_address()
956 if (hash_entry->addr == addr) { in memac_del_hash_mac_address()
957 list_del_init(&hash_entry->node); in memac_del_hash_mac_address()
958 kfree(hash_entry); in memac_del_hash_mac_address()