Home
last modified time | relevance | path

Searched refs:hash_entry (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/freescale/fman/
A Dfman_mac.h187 struct eth_hash_entry *hash_entry = NULL; in dequeue_addr_from_hash_entry() local
190 hash_entry = ETH_HASH_ENTRY_OBJ(addr_lst->next); in dequeue_addr_from_hash_entry()
191 list_del_init(&hash_entry->node); in dequeue_addr_from_hash_entry()
193 return hash_entry; in dequeue_addr_from_hash_entry()
198 struct eth_hash_entry *hash_entry; in free_hash_table() local
204 hash_entry = in free_hash_table()
206 while (hash_entry) { in free_hash_table()
207 kfree(hash_entry); in free_hash_table()
208 hash_entry = in free_hash_table()
A Dfman_tgec.c490 struct eth_hash_entry *hash_entry; in tgec_add_hash_mac_address() local
508 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in tgec_add_hash_mac_address()
509 if (!hash_entry) in tgec_add_hash_mac_address()
511 hash_entry->addr = addr; in tgec_add_hash_mac_address()
512 INIT_LIST_HEAD(&hash_entry->node); in tgec_add_hash_mac_address()
514 list_add_tail(&hash_entry->node, in tgec_add_hash_mac_address()
562 struct eth_hash_entry *hash_entry = NULL; in tgec_del_hash_mac_address() local
576 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in tgec_del_hash_mac_address()
577 if (hash_entry && hash_entry->addr == addr) { in tgec_del_hash_mac_address()
578 list_del_init(&hash_entry->node); in tgec_del_hash_mac_address()
[all …]
A Dfman_dtsec.c1015 struct eth_hash_entry *hash_entry; in dtsec_add_hash_mac_address() local
1058 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in dtsec_add_hash_mac_address()
1059 if (!hash_entry) in dtsec_add_hash_mac_address()
1061 hash_entry->addr = addr; in dtsec_add_hash_mac_address()
1066 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()
1069 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()
1153 if (hash_entry && hash_entry->addr == addr) { in dtsec_del_hash_mac_address()
1155 kfree(hash_entry); in dtsec_del_hash_mac_address()
1166 if (hash_entry && hash_entry->addr == addr) { in dtsec_del_hash_mac_address()
1168 kfree(hash_entry); in dtsec_del_hash_mac_address()
[all …]
A Dfman_memac.c797 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local
811 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in memac_add_hash_mac_address()
812 if (!hash_entry) in memac_add_hash_mac_address()
814 hash_entry->addr = addr; in memac_add_hash_mac_address()
815 INIT_LIST_HEAD(&hash_entry->node); in memac_add_hash_mac_address()
817 list_add_tail(&hash_entry->node, in memac_add_hash_mac_address()
853 struct eth_hash_entry *hash_entry = NULL; in memac_del_hash_mac_address() local
863 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in memac_del_hash_mac_address()
864 if (hash_entry && hash_entry->addr == addr) { in memac_del_hash_mac_address()
865 list_del_init(&hash_entry->node); in memac_del_hash_mac_address()
[all …]
/drivers/infiniband/hw/bnxt_re/
A Dib_verbs.h81 struct hlist_node hash_entry; member
115 struct hlist_node hash_entry; member
A Dib_verbs.c1780 hash_del(&srq->hash_entry); in bnxt_re_destroy_srq()
1888 hash_add(rdev->srq_hash, &srq->hash_entry, srq->qplib_srq.id); in bnxt_re_create_srq()
3065 hash_del(&cq->hash_entry); in bnxt_re_destroy_cq()
3160 hash_add(rdev->cq_hash, &cq->hash_entry, cq->qplib_cq.id); in bnxt_re_create_cq()
4403 hash_for_each_possible(rdev->cq_hash, tmp_cq, hash_entry, cq_id) { in bnxt_re_search_for_cq()
4416 hash_for_each_possible(rdev->srq_hash, tmp_srq, hash_entry, srq_id) { in bnxt_re_search_for_srq()

Completed in 23 milliseconds