Lines Matching refs:hash_entry
1054 struct eth_hash_entry *hash_entry; in dtsec_add_hash_mac_address() local
1100 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in dtsec_add_hash_mac_address()
1101 if (!hash_entry) in dtsec_add_hash_mac_address()
1103 hash_entry->addr = addr; in dtsec_add_hash_mac_address()
1104 INIT_LIST_HEAD(&hash_entry->node); in dtsec_add_hash_mac_address()
1108 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()
1111 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()
1165 struct eth_hash_entry *hash_entry = NULL; in dtsec_del_hash_mac_address() local
1202 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in dtsec_del_hash_mac_address()
1203 if (hash_entry && hash_entry->addr == addr) { in dtsec_del_hash_mac_address()
1204 list_del_init(&hash_entry->node); in dtsec_del_hash_mac_address()
1205 kfree(hash_entry); in dtsec_del_hash_mac_address()
1215 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in dtsec_del_hash_mac_address()
1216 if (hash_entry && hash_entry->addr == addr) { in dtsec_del_hash_mac_address()
1217 list_del_init(&hash_entry->node); in dtsec_del_hash_mac_address()
1218 kfree(hash_entry); in dtsec_del_hash_mac_address()
1227 WARN_ON(!hash_entry); in dtsec_del_hash_mac_address()