/linux-6.6.21/kernel/trace/ |
D | trace_boot.c | 219 trace_boot_hist_add_array(struct xbc_node *hnode, char **bufp, in trace_boot_hist_add_array() argument 226 p = xbc_node_find_value(hnode, key, &anode); in trace_boot_hist_add_array() 247 trace_boot_hist_add_one_handler(struct xbc_node *hnode, char **bufp, in trace_boot_hist_add_one_handler() argument 256 p = xbc_node_find_value(hnode, param, NULL); in trace_boot_hist_add_one_handler() 259 xbc_node_get_data(hnode), param); in trace_boot_hist_add_one_handler() 265 knode = xbc_node_find_subkey(hnode, "trace"); in trace_boot_hist_add_one_handler() 267 knode = xbc_node_find_subkey(hnode, "save"); in trace_boot_hist_add_one_handler() 273 xbc_node_get_data(hnode), in trace_boot_hist_add_one_handler() 286 } else if (xbc_node_find_subkey(hnode, "snapshot")) { in trace_boot_hist_add_one_handler() 290 xbc_node_get_data(hnode)); in trace_boot_hist_add_one_handler() [all …]
|
/linux-6.6.21/lib/ |
D | objagg.c | 223 struct objagg_hints_node *hnode) in objagg_obj_root_id_alloc() argument 234 if (hnode) { in objagg_obj_root_id_alloc() 235 min = hnode->root_id; in objagg_obj_root_id_alloc() 236 max = hnode->root_id; in objagg_obj_root_id_alloc() 263 struct objagg_hints_node *hnode) in objagg_obj_root_create() argument 267 err = objagg_obj_root_id_alloc(objagg, objagg_obj, hnode); in objagg_obj_root_create() 299 struct objagg_hints_node *hnode; in objagg_obj_init_with_hints() local 303 hnode = objagg_hints_lookup(objagg->hints, objagg_obj->obj); in objagg_obj_init_with_hints() 304 if (!hnode) { in objagg_obj_init_with_hints() 310 if (!hnode->parent) in objagg_obj_init_with_hints() [all …]
|
/linux-6.6.21/drivers/accel/habanalabs/common/ |
D | memory.c | 1057 struct hl_vm_hash_node *hnode; in map_device_va() local 1156 hnode = kzalloc(sizeof(*hnode), GFP_KERNEL); in map_device_va() 1157 if (!hnode) { in map_device_va() 1214 hnode->ptr = vm_type; in map_device_va() 1215 hnode->vaddr = ret_vaddr; in map_device_va() 1216 hnode->handle = is_userptr ? MEM_HANDLE_INVALID : handle; in map_device_va() 1219 hash_add(ctx->mem_hash, &hnode->node, ret_vaddr); in map_device_va() 1237 kfree(hnode); in map_device_va() 1253 struct hl_vm_hash_node *hnode; in get_vm_hash_node_locked() local 1255 hash_for_each_possible(ctx->mem_hash, hnode, node, vaddr) in get_vm_hash_node_locked() [all …]
|
D | debugfs.c | 248 struct hl_vm_hash_node *hnode; in vm_show() local 270 hash_for_each(ctx->mem_hash, i, hnode, node) { in vm_show() 271 vm_type = hnode->ptr; in vm_show() 274 userptr = hnode->ptr; in vm_show() 277 hnode->vaddr, userptr->size); in vm_show() 279 phys_pg_pack = hnode->ptr; in vm_show() 282 hnode->vaddr, phys_pg_pack->total_size, in vm_show() 694 struct hl_vm_hash_node *hnode; in device_va_to_pa() local 710 hash_for_each(ctx->mem_hash, i, hnode, node) { in device_va_to_pa() 711 vm_type = hnode->ptr; in device_va_to_pa() [all …]
|
D | device.c | 2567 struct hl_vm_hash_node *hnode; in hl_capture_user_mappings() local 2584 hash_for_each(ctx->mem_hash, i, hnode, node) { in hl_capture_user_mappings() 2585 vm_type = hnode->ptr; in hl_capture_user_mappings() 2606 hash_for_each(ctx->mem_hash, i, hnode, node) { in hl_capture_user_mappings() 2607 vm_type = hnode->ptr; in hl_capture_user_mappings() 2609 userptr = hnode->ptr; in hl_capture_user_mappings() 2610 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; in hl_capture_user_mappings() 2614 phys_pg_pack = hnode->ptr; in hl_capture_user_mappings() 2615 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; in hl_capture_user_mappings()
|
/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_vmid.c | 52 hash_for_each_possible(vport->hash_table, vmp, hnode, hash) { in lpfc_get_vmid_from_hashtable() 72 hash_add(vport->hash_table, &vmp->hnode, hash); in lpfc_put_vmid_in_hashtable() 250 hash_del(&vmp->hnode); in lpfc_vmid_get_appid() 270 hash_del(&vmp->hnode); in lpfc_vmid_get_appid() 322 hash_for_each_safe(vport->hash_table, bucket, tmp, cur, hnode) in lpfc_reinit_vmid() 323 hash_del(&cur->hnode); in lpfc_reinit_vmid()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | htb.c | 10 struct hlist_node hnode; member 39 hash_for_each(htb->qos_tc2node, bkt, node, hnode) { in mlx5e_htb_enumerate_leaves() 85 hash_add_rcu(htb->qos_tc2node, &node->hnode, classid); in mlx5e_htb_node_create_leaf() 102 hash_add_rcu(htb->qos_tc2node, &node->hnode, node->classid); in mlx5e_htb_node_create_root() 111 hash_for_each_possible(htb->qos_tc2node, node, hnode, classid) { in mlx5e_htb_node_find() 123 hash_for_each_possible_rcu(htb->qos_tc2node, node, hnode, classid) { in mlx5e_htb_node_find_rcu() 133 hash_del_rcu(&node->hnode); in mlx5e_htb_node_delete() 436 hash_for_each(htb->qos_tc2node, bkt, node, hnode) in mlx5e_htb_node_find_by_qid() 629 hash_for_each(htb->qos_tc2node, bkt, child, hnode) { in mlx5e_htb_update_children()
|
/linux-6.6.21/fs/nfs/ |
D | nfs42xattr.c | 81 struct hlist_node hnode; member 241 INIT_HLIST_NODE(&entry->hnode); in nfs4_xattr_alloc_entry() 398 hlist_for_each_entry_safe(entry, n, &bucket->hlist, hnode) { in nfs4_xattr_discard_cache() 400 hlist_del_init(&entry->hnode); in nfs4_xattr_discard_cache() 517 hlist_for_each_entry(entry, &bucket->hlist, hnode) { in nfs4_xattr_get_entry() 545 hlist_del_init(&oldentry->hnode); in nfs4_xattr_hash_add() 551 hlist_add_head(&entry->hnode, &bucket->hlist); in nfs4_xattr_hash_add() 575 hlist_del_init(&entry->hnode); in nfs4_xattr_hash_remove() 916 hlist_del_init(&entry->hnode); in entry_lru_isolate()
|
/linux-6.6.21/drivers/platform/x86/intel/speed_select_if/ |
D | isst_if_common.c | 73 struct hlist_node hnode; member 101 hash_add(isst_hash, &sst_cmd->hnode, sst_cmd->cmd); in isst_store_new_cmd() 112 hash_for_each_safe(isst_hash, i, tmp, sst_cmd, hnode) { in isst_delete_hash() 113 hash_del(&sst_cmd->hnode); in isst_delete_hash() 143 hash_for_each_possible(isst_hash, sst_cmd, hnode, full_cmd) { in isst_store_cmd() 186 hash_for_each(isst_hash, i, sst_cmd, hnode) { in isst_resume_common() 211 hash_for_each_possible(isst_hash, sst_cmd, hnode, in isst_restore_msr_local()
|
/linux-6.6.21/net/netfilter/ |
D | nf_conntrack_expect.c | 57 hlist_del_rcu(&exp->hnode); in nf_ct_unlink_expect_report() 143 hlist_for_each_entry_rcu(i, &nf_ct_expect_hash[h], hnode) { in __nf_ct_expect_find() 184 hlist_for_each_entry(i, &nf_ct_expect_hash[h], hnode) { in nf_ct_find_expectation() 408 hlist_add_head_rcu(&exp->hnode, &nf_ct_expect_hash[h]); in nf_ct_expect_insert() 450 hlist_for_each_entry_safe(i, next, &nf_ct_expect_hash[h], hnode) { in __nf_ct_expect_check() 522 hnode) { in nf_ct_expect_iterate_destroy() 548 hnode) { in nf_ct_expect_iterate_net() 633 expect = hlist_entry(n, struct nf_conntrack_expect, hnode); in exp_seq_show()
|
D | nf_conntrack_helper.c | 58 hlist_for_each_entry_rcu(h, &nf_ct_helper_hash[i], hnode) { in __nf_conntrack_helper_find() 371 hlist_for_each_entry(cur, &nf_ct_helper_hash[i], hnode) { in nf_conntrack_helper_register() 384 hlist_for_each_entry(cur, &nf_ct_helper_hash[h], hnode) { in nf_conntrack_helper_register() 393 hlist_add_head_rcu(&me->hnode, &nf_ct_helper_hash[h]); in nf_conntrack_helper_register() 418 hlist_del_rcu(&me->hnode); in nf_conntrack_helper_unregister()
|
/linux-6.6.21/net/sched/ |
D | cls_u32.c | 91 struct hlist_node hnode; member 345 hlist_for_each_entry(tc, tc_u_hash(key), hnode) { in tc_u_common_find() 375 INIT_HLIST_NODE(&tp_c->hnode); in u32_init() 378 hlist_add_head(&tp_c->hnode, tc_u_hash(key)); in u32_init() 485 cls_u32.hnode.divisor = h->divisor; in u32_clear_hw_hnode() 486 cls_u32.hnode.handle = h->handle; in u32_clear_hw_hnode() 487 cls_u32.hnode.prio = h->prio; in u32_clear_hw_hnode() 503 cls_u32.hnode.divisor = h->divisor; in u32_replace_hw_hnode() 504 cls_u32.hnode.handle = h->handle; in u32_replace_hw_hnode() 505 cls_u32.hnode.prio = h->prio; in u32_replace_hw_hnode() [all …]
|
D | sch_drr.c | 287 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in drr_walk() 432 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in drr_reset_qdisc() 451 common.hnode) in drr_destroy_qdisc()
|
/linux-6.6.21/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 | 499 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_tasklet_fn() 515 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_pending_requests() 939 hash_add(ap_queues, &to_ap_queue(dev)->hnode, in ap_device_probe() 948 hash_del(&to_ap_queue(dev)->hnode); in ap_device_probe() 980 hash_del(&to_ap_queue(dev)->hnode); in ap_device_remove() 992 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_get_qdev()
|
D | ap_bus.h | 202 struct hlist_node hnode; /* Node for the ap_queues hashtable */ member
|
/linux-6.6.21/drivers/s390/net/ |
D | qeth_l3_main.c | 62 hash_for_each_possible(card->rx_mode_addrs, addr, hnode, key) in qeth_l3_find_addr_by_ip() 66 hash_for_each_possible(card->ip_htable, addr, hnode, key) in qeth_l3_find_addr_by_ip() 152 hash_del(&addr->hnode); in qeth_l3_delete_ip() 200 hash_add(card->ip_htable, &addr->hnode, in qeth_l3_add_ip() 213 hash_del(&addr->hnode); in qeth_l3_add_ip() 238 hash_for_each_safe(card->rx_mode_addrs, i, tmp, addr, hnode) { in qeth_l3_drain_rx_mode_cache() 239 hash_del(&addr->hnode); in qeth_l3_drain_rx_mode_cache() 254 hash_for_each_safe(card->ip_htable, i, tmp, addr, hnode) { in qeth_l3_clear_ip_htable() 256 hash_del(&addr->hnode); in qeth_l3_clear_ip_htable() 278 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()
|
/linux-6.6.21/kernel/ |
D | kcov.c | 83 struct hlist_node hnode; member 110 hash_for_each_possible(kcov_remote_map, remote, hnode, handle) { in kcov_remote_find() 129 hash_add(kcov_remote_map, &remote->hnode, handle); in kcov_remote_add() 400 hash_for_each_safe(kcov_remote_map, bkt, tmp, remote, hnode) { in kcov_remote_reset() 403 hash_del(&remote->hnode); in kcov_remote_reset()
|
/linux-6.6.21/include/net/netfilter/ |
D | nf_conntrack_expect.h | 23 struct hlist_node hnode; member
|
D | nf_conntrack_helper.h | 33 struct hlist_node hnode; /* Internal use. */ member
|
/linux-6.6.21/arch/x86/kvm/svm/ |
D | avic.c | 155 hash_for_each_possible(svm_vm_data_hash, kvm_svm, hnode, vm_id) { in avic_ga_log_notifier() 188 hash_del(&kvm_svm->hnode); in avic_vm_destroy() 228 hash_for_each_possible(svm_vm_data_hash, k2, hnode, vm_id) { in avic_vm_init() 234 hash_add(svm_vm_data_hash, &kvm_svm->hnode, kvm_svm->avic_vm_id); in avic_vm_init()
|
/linux-6.6.21/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 93 struct hlist_node hnode; member 342 hash_for_each_safe(info->ptable, i, tmp, p, hnode) { in kvmgt_protect_table_destroy() 343 hash_del(&p->hnode); in kvmgt_protect_table_destroy() 355 hash_for_each_possible(info->ptable, p, hnode, gfn) { in __kvmgt_protect_table_find() 385 hash_add(info->ptable, &p->hnode, gfn); in kvmgt_protect_table_add() 394 hash_del(&p->hnode); in kvmgt_protect_table_del()
|