Home
last modified time | relevance | path

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

12

/Linux-v5.15/kernel/trace/
Dtrace_boot.c219 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-v5.15/lib/
Dobjagg.c223 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-v5.15/drivers/misc/habanalabs/common/
Dmemory.c1057 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 …]
Ddebugfs.c235 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 …]
/Linux-v5.15/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()
/Linux-v5.15/fs/nfs/
Dnfs42xattr.c81 struct hlist_node hnode; member
241 INIT_HLIST_NODE(&entry->hnode); in nfs4_xattr_alloc_entry()
399 hlist_for_each_entry_safe(entry, n, &bucket->hlist, hnode) { in nfs4_xattr_discard_cache()
401 hlist_del_init(&entry->hnode); in nfs4_xattr_discard_cache()
518 hlist_for_each_entry(entry, &bucket->hlist, hnode) { in nfs4_xattr_get_entry()
546 hlist_del_init(&oldentry->hnode); in nfs4_xattr_hash_add()
552 hlist_add_head(&entry->hnode, &bucket->hlist); in nfs4_xattr_hash_add()
576 hlist_del_init(&entry->hnode); in nfs4_xattr_hash_remove()
917 hlist_del_init(&entry->hnode); in entry_lru_isolate()
/Linux-v5.15/net/netfilter/
Dnf_conntrack_expect.c57 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()
Dnf_conntrack_helper.c65 hlist_for_each_entry_rcu(helper, &nf_ct_helper_hash[h], hnode) { in __nf_ct_helper_find()
79 hlist_for_each_entry_rcu(h, &nf_ct_helper_hash[i], hnode) { in __nf_conntrack_helper_find()
413 hlist_for_each_entry(cur, &nf_ct_helper_hash[i], hnode) { in nf_conntrack_helper_register()
426 hlist_for_each_entry(cur, &nf_ct_helper_hash[h], hnode) { in nf_conntrack_helper_register()
435 hlist_add_head_rcu(&me->hnode, &nf_ct_helper_hash[h]); in nf_conntrack_helper_register()
460 hlist_del_rcu(&me->hnode); in nf_conntrack_helper_unregister()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dqos.c36 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()
709 hash_for_each(priv->htb.qos_tc2node, bkt, node, hnode) in mlx5e_sw_node_find_by_qid()
918 hash_for_each(priv->htb.qos_tc2node, bkt, child, hnode) { in mlx5e_qos_update_children()
/Linux-v5.15/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.c469 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()
Dap_bus.h174 struct hlist_node hnode; /* Node for the ap_queues hashtable */ member
/Linux-v5.15/net/sched/
Dcls_u32.c90 struct hlist_node hnode; member
343 hlist_for_each_entry(tc, tc_u_hash(key), hnode) { in tc_u_common_find()
373 INIT_HLIST_NODE(&tp_c->hnode); in u32_init()
376 hlist_add_head(&tp_c->hnode, tc_u_hash(key)); in u32_init()
479 cls_u32.hnode.divisor = h->divisor; in u32_clear_hw_hnode()
480 cls_u32.hnode.handle = h->handle; in u32_clear_hw_hnode()
481 cls_u32.hnode.prio = h->prio; in u32_clear_hw_hnode()
497 cls_u32.hnode.divisor = h->divisor; in u32_replace_hw_hnode()
498 cls_u32.hnode.handle = h->handle; in u32_replace_hw_hnode()
499 cls_u32.hnode.prio = h->prio; in u32_replace_hw_hnode()
[all …]
Dsch_drr.c289 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in drr_walk()
441 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in drr_reset_qdisc()
462 common.hnode) in drr_destroy_qdisc()
Dsch_cbq.c893 hlist_for_each_entry(cl, &q->clhash.hash[h], common.hnode) { in cbq_normalize_quanta()
936 common.hnode) { in cbq_sync_defmap()
1046 hlist_for_each_entry(cl, &q->clhash.hash[h], common.hnode) { in cbq_reset()
1463 hlist_for_each_entry(cl, &q->clhash.hash[h], common.hnode) { in cbq_destroy()
1470 common.hnode) in cbq_destroy()
1762 hlist_for_each_entry(cl, &q->clhash.hash[h], common.hnode) { in cbq_walk()
Dsch_hfsc.c1353 cl_common.hnode) { in hfsc_walk()
1483 hlist_for_each_entry(cl, &q->clhash.hash[i], cl_common.hnode) in hfsc_reset_qdisc()
1501 hlist_for_each_entry(cl, &q->clhash.hash[i], cl_common.hnode) { in hfsc_destroy_qdisc()
1508 cl_common.hnode) in hfsc_destroy_qdisc()
/Linux-v5.15/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()
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()
276 hash_for_each_safe(card->ip_htable, i, tmp, addr, hnode) { in qeth_l3_recover_ip()
[all …]
Dqeth_l2.h29 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()
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-v5.15/kernel/
Dkcov.c82 struct hlist_node hnode; member
106 hash_for_each_possible(kcov_remote_map, remote, hnode, handle) { in kcov_remote_find()
125 hash_add(kcov_remote_map, &remote->hnode, handle); in kcov_remote_add()
379 hash_for_each_safe(kcov_remote_map, bkt, tmp, remote, hnode) { in kcov_remote_reset()
382 hash_del(&remote->hnode); in kcov_remote_reset()
/Linux-v5.15/include/net/netfilter/
Dnf_conntrack_expect.h23 struct hlist_node hnode; member
Dnf_conntrack_helper.h33 struct hlist_node hnode; /* Internal use. */ member
/Linux-v5.15/arch/x86/kvm/svm/
Davic.c99 hash_for_each_possible(svm_vm_data_hash, kvm_svm, hnode, vm_id) { in avic_ga_log_notifier()
132 hash_del(&kvm_svm->hnode); in avic_vm_destroy()
172 hash_for_each_possible(svm_vm_data_hash, k2, hnode, vm_id) { in avic_vm_init()
178 hash_add(svm_vm_data_hash, &kvm_svm->hnode, kvm_svm->avic_vm_id); in avic_vm_init()
/Linux-v5.15/drivers/gpu/drm/i915/gvt/
Dkvmgt.c88 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()

12