Searched refs:hash_entry (Results 1 – 4 of 4) sorted by relevance
215 struct eth_hash_entry *hash_entry = NULL; in dequeue_addr_from_hash_entry() local218 hash_entry = ETH_HASH_ENTRY_OBJ(addr_lst->next); in dequeue_addr_from_hash_entry()219 list_del_init(&hash_entry->node); in dequeue_addr_from_hash_entry()221 return hash_entry; in dequeue_addr_from_hash_entry()226 struct eth_hash_entry *hash_entry; in free_hash_table() local232 hash_entry = in free_hash_table()234 while (hash_entry) { in free_hash_table()235 kfree(hash_entry); in free_hash_table()236 hash_entry = in free_hash_table()
533 struct eth_hash_entry *hash_entry; in tgec_add_hash_mac_address() local554 hash_entry = kmalloc(sizeof(*hash_entry), GFP_KERNEL); in tgec_add_hash_mac_address()555 if (!hash_entry) in tgec_add_hash_mac_address()557 hash_entry->addr = addr; in tgec_add_hash_mac_address()558 INIT_LIST_HEAD(&hash_entry->node); in tgec_add_hash_mac_address()560 list_add_tail(&hash_entry->node, in tgec_add_hash_mac_address()570 struct eth_hash_entry *hash_entry = NULL; in tgec_del_hash_mac_address() local587 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in tgec_del_hash_mac_address()588 if (hash_entry->addr == addr) { in tgec_del_hash_mac_address()589 list_del_init(&hash_entry->node); in tgec_del_hash_mac_address()[all …]
993 struct eth_hash_entry *hash_entry; in dtsec_add_hash_mac_address() local1039 hash_entry = kmalloc(sizeof(*hash_entry), GFP_KERNEL); in dtsec_add_hash_mac_address()1040 if (!hash_entry) in dtsec_add_hash_mac_address()1042 hash_entry->addr = addr; in dtsec_add_hash_mac_address()1043 INIT_LIST_HEAD(&hash_entry->node); in dtsec_add_hash_mac_address()1047 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()1050 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()1060 struct eth_hash_entry *hash_entry = NULL; in dtsec_del_hash_mac_address() local1097 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in dtsec_del_hash_mac_address()1098 if (hash_entry->addr == addr) { in dtsec_del_hash_mac_address()[all …]
909 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local926 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() local955 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()[all …]