Lines Matching refs:hash_entry
972 struct eth_hash_entry *hash_entry; in dtsec_add_hash_mac_address() local
1018 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in dtsec_add_hash_mac_address()
1019 if (!hash_entry) in dtsec_add_hash_mac_address()
1021 hash_entry->addr = addr; in dtsec_add_hash_mac_address()
1022 INIT_LIST_HEAD(&hash_entry->node); in dtsec_add_hash_mac_address()
1026 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()
1029 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()
1084 struct eth_hash_entry *hash_entry = NULL; in dtsec_del_hash_mac_address() local
1121 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in dtsec_del_hash_mac_address()
1122 if (hash_entry && hash_entry->addr == addr) { in dtsec_del_hash_mac_address()
1123 list_del_init(&hash_entry->node); in dtsec_del_hash_mac_address()
1124 kfree(hash_entry); in dtsec_del_hash_mac_address()
1134 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in dtsec_del_hash_mac_address()
1135 if (hash_entry && hash_entry->addr == addr) { in dtsec_del_hash_mac_address()
1136 list_del_init(&hash_entry->node); in dtsec_del_hash_mac_address()
1137 kfree(hash_entry); in dtsec_del_hash_mac_address()
1146 WARN_ON(!hash_entry); in dtsec_del_hash_mac_address()