/drivers/misc/habanalabs/common/ |
D | memory.c | 1057 struct hl_vm_hash_node *hnode; in map_device_va() local 1155 hnode = kzalloc(sizeof(*hnode), GFP_KERNEL); in map_device_va() 1156 if (!hnode) { in map_device_va() 1209 hnode->ptr = vm_type; in map_device_va() 1210 hnode->vaddr = ret_vaddr; in map_device_va() 1213 hash_add(ctx->mem_hash, &hnode->node, ret_vaddr); in map_device_va() 1231 kfree(hnode); in map_device_va() 1259 struct hl_vm_hash_node *hnode = NULL; in unmap_device_va() local 1272 hash_for_each_possible(ctx->mem_hash, hnode, node, (unsigned long)vaddr) in unmap_device_va() 1273 if (vaddr == hnode->vaddr) in unmap_device_va() [all …]
|
D | debugfs.c | 235 struct hl_vm_hash_node *hnode; in vm_show() local 258 hash_for_each(ctx->mem_hash, i, hnode, node) { in vm_show() 259 vm_type = hnode->ptr; in vm_show() 262 userptr = hnode->ptr; in vm_show() 265 hnode->vaddr, userptr->size); in vm_show() 267 phys_pg_pack = hnode->ptr; in vm_show() 270 hnode->vaddr, phys_pg_pack->total_size, in vm_show() 564 struct hl_vm_hash_node *hnode; in device_va_to_pa() local 578 hash_for_each(ctx->mem_hash, i, hnode, node) { in device_va_to_pa() 579 vm_type = hnode->ptr; in device_va_to_pa() [all …]
|
/drivers/platform/x86/intel/speed_select_if/ |
D | isst_if_common.c | 68 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/net/ethernet/mellanox/mlx5/core/en/ |
D | qos.c | 36 struct hlist_node hnode; member 66 hash_add_rcu(priv->htb.qos_tc2node, &node->hnode, classid); in mlx5e_sw_node_create_leaf() 83 hash_add_rcu(priv->htb.qos_tc2node, &node->hnode, node->classid); in mlx5e_sw_node_create_root() 92 hash_for_each_possible(priv->htb.qos_tc2node, node, hnode, classid) { in mlx5e_sw_node_find() 104 hash_for_each_possible_rcu(priv->htb.qos_tc2node, node, hnode, classid) { in mlx5e_sw_node_find_rcu() 114 hash_del_rcu(&node->hnode); in mlx5e_sw_node_delete() 393 hash_for_each(priv->htb.qos_tc2node, bkt, node, hnode) { in mlx5e_qos_open_queues() 411 hash_for_each(priv->htb.qos_tc2node, bkt, node, hnode) { in mlx5e_qos_activate_queues() 710 hash_for_each(priv->htb.qos_tc2node, bkt, node, hnode) in mlx5e_sw_node_find_by_qid() 919 hash_for_each(priv->htb.qos_tc2node, bkt, child, hnode) { in mlx5e_qos_update_children()
|
/drivers/s390/crypto/ |
D | ap_card.c | 85 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()
|
D | ap_bus.c | 469 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_tasklet_fn() 485 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_pending_requests() 873 hash_add(ap_queues, &to_ap_queue(dev)->hnode, in ap_device_probe() 882 hash_del(&to_ap_queue(dev)->hnode); in ap_device_probe() 913 hash_del(&to_ap_queue(dev)->hnode); in ap_device_remove() 925 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_get_qdev()
|
D | ap_bus.h | 174 struct hlist_node hnode; /* Node for the ap_queues hashtable */ member
|
D | ap_queue.c | 757 hash_del(&aq->hnode); in ap_queue_device_release()
|
/drivers/s390/net/ |
D | qeth_l3_main.c | 61 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() 151 hash_del(&addr->hnode); in qeth_l3_delete_ip() 199 hash_add(card->ip_htable, &addr->hnode, in qeth_l3_add_ip() 212 hash_del(&addr->hnode); in qeth_l3_add_ip() 237 hash_for_each_safe(card->rx_mode_addrs, i, tmp, addr, hnode) { in qeth_l3_drain_rx_mode_cache() 238 hash_del(&addr->hnode); in qeth_l3_drain_rx_mode_cache() 253 hash_for_each_safe(card->ip_htable, i, tmp, addr, hnode) { in qeth_l3_clear_ip_htable() 255 hash_del(&addr->hnode); in qeth_l3_clear_ip_htable() 277 hash_for_each_safe(card->ip_htable, i, tmp, addr, hnode) { in qeth_l3_recover_ip() [all …]
|
D | qeth_l2.h | 29 struct hlist_node hnode; member
|
D | qeth_l3.h | 23 struct hlist_node hnode; member
|
D | qeth_l2_main.c | 152 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() 437 hash_for_each_possible(card->rx_mode_addrs, mac, hnode, mac_hash) { in qeth_l2_add_mac() 451 hash_add(card->rx_mode_addrs, &mac->hnode, mac_hash); in qeth_l2_add_mac() 474 hash_for_each_safe(card->rx_mode_addrs, i, tmp, mac, hnode) { in qeth_l2_rx_mode_work() 478 hash_del(&mac->hnode); in qeth_l2_rx_mode_work() 484 hash_del(&mac->hnode); in qeth_l2_rx_mode_work()
|
D | qeth_core_main.c | 511 hash_for_each_safe(card->local_addrs4, i, tmp, addr, hnode) { in qeth_flush_local_addrs4() 512 hash_del_rcu(&addr->hnode); in qeth_flush_local_addrs4() 525 hash_for_each_safe(card->local_addrs6, i, tmp, addr, hnode) { in qeth_flush_local_addrs6() 526 hash_del_rcu(&addr->hnode); in qeth_flush_local_addrs6() 557 hash_for_each_possible(card->local_addrs4, addr, hnode, key) { in qeth_add_local_addrs4() 576 hash_add_rcu(card->local_addrs4, &addr->hnode, key); in qeth_add_local_addrs4() 600 hash_for_each_possible(card->local_addrs6, addr, hnode, key) { in qeth_add_local_addrs6() 619 hash_add_rcu(card->local_addrs6, &addr->hnode, key); in qeth_add_local_addrs6() 643 hash_for_each_possible(card->local_addrs4, tmp, hnode, key) { in qeth_del_local_addrs4() 645 hash_del_rcu(&tmp->hnode); in qeth_del_local_addrs4() [all …]
|
D | qeth_l3_sys.c | 594 hash_for_each(card->ip_htable, i, ipaddr, hnode) { in qeth_l3_dev_ip_add_show()
|
D | qeth_core.h | 366 struct hlist_node hnode; member
|
/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 88 struct hlist_node hnode; member 490 hash_for_each_safe(info->ptable, i, tmp, p, hnode) { in kvmgt_protect_table_destroy() 491 hash_del(&p->hnode); in kvmgt_protect_table_destroy() 501 hash_for_each_possible(info->ptable, p, hnode, gfn) { in __kvmgt_protect_table_find() 532 hash_add(info->ptable, &p->hnode, gfn); in kvmgt_protect_table_add() 542 hash_del(&p->hnode); in kvmgt_protect_table_del()
|
/drivers/net/ |
D | vrf.c | 92 struct hlist_node hnode; member 233 hash_for_each_possible(vmap->ht, me, hnode, key) { in vrf_map_lookup_elem() 247 hash_add(vmap->ht, &me->hnode, key); in vrf_map_add_elem() 252 hash_del(&me->hnode); in vrf_map_del_elem()
|
/drivers/scsi/lpfc/ |
D | lpfc_scsi.c | 5315 hash_for_each_possible(vport->hash_table, vmp, hnode, hash) { in lpfc_get_vmid_from_hashtable() 5335 hash_add(vport->hash_table, &vmp->hnode, hash); in lpfc_put_vmid_in_hashtable() 5511 hash_del(&vmp->hnode); in lpfc_vmid_get_appid() 5531 hash_del(&vmp->hnode); in lpfc_vmid_get_appid() 5850 hash_for_each(vport->hash_table, bucket, cur, hnode) in lpfc_vmid_vport_cleanup() 5851 hash_del(&cur->hnode); in lpfc_vmid_vport_cleanup()
|
D | lpfc.h | 335 struct hlist_node hnode; member
|
D | lpfc_ct.c | 3886 hash_for_each(vport->hash_table, bucket, cur, hnode) in lpfc_cmpl_ct_cmd_vmid() 3887 hash_del(&cur->hnode); in lpfc_cmpl_ct_cmd_vmid()
|
D | lpfc_hbadisc.c | 265 hash_for_each(vport->hash_table, bucket, vmp, hnode) { in lpfc_check_inactive_vmid_one() 306 hash_del(&ht->hnode); in lpfc_check_inactive_vmid_one()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 9228 u32 uhtid = TC_U32_USERHTID(cls->hnode.handle); in ixgbe_configure_clsu32_add_hnode() 9236 if (cls->hnode.divisor > 0) in ixgbe_configure_clsu32_add_hnode() 9246 u32 uhtid = TC_U32_USERHTID(cls->hnode.handle); in ixgbe_configure_clsu32_del_hnode()
|