Home
last modified time | relevance | path

Searched refs:hnode (Results 1 – 17 of 17) sorted by relevance

/drivers/misc/habanalabs/common/
Dmemory.c853 struct hl_vm_hash_node *hnode; in map_device_va() local
948 hnode = kzalloc(sizeof(*hnode), GFP_KERNEL); in map_device_va()
949 if (!hnode) { in map_device_va()
986 hnode->ptr = vm_type; in map_device_va()
987 hnode->vaddr = ret_vaddr; in map_device_va()
990 hash_add(ctx->mem_hash, &hnode->node, ret_vaddr); in map_device_va()
1008 kfree(hnode); in map_device_va()
1036 struct hl_vm_hash_node *hnode = NULL; in unmap_device_va() local
1045 hash_for_each_possible(ctx->mem_hash, hnode, node, (unsigned long)vaddr) in unmap_device_va()
1046 if (vaddr == hnode->vaddr) in unmap_device_va()
[all …]
Ddebugfs.c230 struct hl_vm_hash_node *hnode; in vm_show() local
253 hash_for_each(ctx->mem_hash, i, hnode, node) { in vm_show()
254 vm_type = hnode->ptr; in vm_show()
257 userptr = hnode->ptr; in vm_show()
260 hnode->vaddr, userptr->size); in vm_show()
262 phys_pg_pack = hnode->ptr; in vm_show()
265 hnode->vaddr, phys_pg_pack->total_size, in vm_show()
/drivers/platform/x86/intel_speed_select_if/
Disst_if_common.c68 struct hlist_node hnode; member
94 hash_add(isst_hash, &sst_cmd->hnode, sst_cmd->cmd); in isst_store_new_cmd()
105 hash_for_each_safe(isst_hash, i, tmp, sst_cmd, hnode) { in isst_delete_hash()
106 hash_del(&sst_cmd->hnode); in isst_delete_hash()
135 hash_for_each_possible(isst_hash, sst_cmd, hnode, full_cmd) { in isst_store_cmd()
178 hash_for_each(isst_hash, i, sst_cmd, hnode) { in isst_resume_common()
203 hash_for_each_possible(isst_hash, sst_cmd, hnode, in isst_restore_msr_local()
/drivers/s390/crypto/
Dap_card.c85 hash_for_each(ap_queues, bkt, aq, hnode) in request_count_store()
106 hash_for_each(ap_queues, bkt, aq, hnode) in requestq_count_show()
125 hash_for_each(ap_queues, bkt, aq, hnode) in pendingq_count_show()
Dap_bus.c442 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_tasklet_fn()
458 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_pending_requests()
700 hash_add(ap_queues, &to_ap_queue(dev)->hnode, in ap_device_probe()
710 hash_del(&to_ap_queue(dev)->hnode); in ap_device_probe()
741 hash_del(&to_ap_queue(dev)->hnode); in ap_device_remove()
755 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_get_qdev()
Dap_bus.h172 struct hlist_node hnode; /* Node for the ap_queues hashtable */ member
Dap_queue.c737 hash_del(&aq->hnode); in ap_queue_device_release()
/drivers/s390/net/
Dqeth_l3_main.c61 hash_for_each_possible(card->rx_mode_addrs, addr, hnode, key) in qeth_l3_find_addr_by_ip()
65 hash_for_each_possible(card->ip_htable, addr, hnode, key) in qeth_l3_find_addr_by_ip()
154 hash_del(&addr->hnode); in qeth_l3_delete_ip()
202 hash_add(card->ip_htable, &addr->hnode, in qeth_l3_add_ip()
215 hash_del(&addr->hnode); in qeth_l3_add_ip()
240 hash_for_each_safe(card->rx_mode_addrs, i, tmp, addr, hnode) { in qeth_l3_drain_rx_mode_cache()
241 hash_del(&addr->hnode); in qeth_l3_drain_rx_mode_cache()
256 hash_for_each_safe(card->ip_htable, i, tmp, addr, hnode) { in qeth_l3_clear_ip_htable()
258 hash_del(&addr->hnode); in qeth_l3_clear_ip_htable()
280 hash_for_each_safe(card->ip_htable, i, tmp, addr, hnode) { in qeth_l3_recover_ip()
[all …]
Dqeth_l2.h31 struct hlist_node hnode; member
Dqeth_l3.h23 struct hlist_node hnode; member
Dqeth_l2_main.c152 hash_for_each_safe(card->rx_mode_addrs, i, tmp, mac, hnode) { in qeth_l2_drain_rx_mode_cache()
153 hash_del(&mac->hnode); in qeth_l2_drain_rx_mode_cache()
438 hash_for_each_possible(card->rx_mode_addrs, mac, hnode, mac_hash) { in qeth_l2_add_mac()
452 hash_add(card->rx_mode_addrs, &mac->hnode, mac_hash); in qeth_l2_add_mac()
475 hash_for_each_safe(card->rx_mode_addrs, i, tmp, mac, hnode) { in qeth_l2_rx_mode_work()
479 hash_del(&mac->hnode); in qeth_l2_rx_mode_work()
485 hash_del(&mac->hnode); in qeth_l2_rx_mode_work()
Dqeth_core_main.c611 hash_for_each_safe(card->local_addrs4, i, tmp, addr, hnode) { in qeth_flush_local_addrs4()
612 hash_del_rcu(&addr->hnode); in qeth_flush_local_addrs4()
625 hash_for_each_safe(card->local_addrs6, i, tmp, addr, hnode) { in qeth_flush_local_addrs6()
626 hash_del_rcu(&addr->hnode); in qeth_flush_local_addrs6()
657 hash_for_each_possible(card->local_addrs4, addr, hnode, key) { in qeth_add_local_addrs4()
676 hash_add_rcu(card->local_addrs4, &addr->hnode, key); in qeth_add_local_addrs4()
700 hash_for_each_possible(card->local_addrs6, addr, hnode, key) { in qeth_add_local_addrs6()
719 hash_add_rcu(card->local_addrs6, &addr->hnode, key); in qeth_add_local_addrs6()
743 hash_for_each_possible(card->local_addrs4, tmp, hnode, key) { in qeth_del_local_addrs4()
745 hash_del_rcu(&tmp->hnode); in qeth_del_local_addrs4()
[all …]
Dqeth_l3_sys.c594 hash_for_each(card->ip_htable, i, ipaddr, hnode) { in qeth_l3_dev_ip_add_show()
Dqeth_core.h379 struct hlist_node hnode; member
/drivers/gpu/drm/i915/gvt/
Dkvmgt.c88 struct hlist_node hnode; member
392 hash_for_each_safe(info->ptable, i, tmp, p, hnode) { in kvmgt_protect_table_destroy()
393 hash_del(&p->hnode); in kvmgt_protect_table_destroy()
403 hash_for_each_possible(info->ptable, p, hnode, gfn) { in __kvmgt_protect_table_find()
434 hash_add(info->ptable, &p->hnode, gfn); in kvmgt_protect_table_add()
444 hash_del(&p->hnode); in kvmgt_protect_table_del()
/drivers/net/
Dvrf.c91 struct hlist_node hnode; member
232 hash_for_each_possible(vmap->ht, me, hnode, key) { in vrf_map_lookup_elem()
246 hash_add(vmap->ht, &me->hnode, key); in vrf_map_add_elem()
251 hash_del(&me->hnode); in vrf_map_del_elem()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c9239 u32 uhtid = TC_U32_USERHTID(cls->hnode.handle); in ixgbe_configure_clsu32_add_hnode()
9247 if (cls->hnode.divisor > 0) in ixgbe_configure_clsu32_add_hnode()
9257 u32 uhtid = TC_U32_USERHTID(cls->hnode.handle); in ixgbe_configure_clsu32_del_hnode()