Home
last modified time | relevance | path

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

123

/linux/kernel/trace/
H A 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/lib/
H A Dobjagg.c226 struct objagg_hints_node *hnode) in objagg_obj_root_id_alloc() argument
237 if (hnode) { in objagg_obj_root_id_alloc()
238 min = hnode->root_id; in objagg_obj_root_id_alloc()
239 max = hnode->root_id; in objagg_obj_root_id_alloc()
266 struct objagg_hints_node *hnode) in objagg_obj_root_create() argument
270 err = objagg_obj_root_id_alloc(objagg, objagg_obj, hnode); in objagg_obj_root_create()
302 struct objagg_hints_node *hnode; in objagg_obj_init_with_hints() local
306 hnode = objagg_hints_lookup(objagg->hints, objagg_obj->obj); in objagg_obj_init_with_hints()
307 if (!hnode) { in objagg_obj_init_with_hints()
313 if (!hnode->parent) in objagg_obj_init_with_hints()
[all …]
/linux/net/netfilter/
H A Dnf_flow_table_xdp.c17 struct hlist_node hnode; member
32 hash_for_each_possible_rcu(nf_xdp_hashtable, iter, hnode, key) { in nf_flowtable_by_dev()
65 hash_for_each_possible(nf_xdp_hashtable, iter, hnode, key) { in nf_flowtable_by_dev_insert()
79 hash_add_rcu(nf_xdp_hashtable, &elem->hnode, key); in nf_flowtable_by_dev_insert()
102 hash_for_each_possible(nf_xdp_hashtable, iter, hnode, key) { in nf_flowtable_by_dev_remove()
120 hash_del_rcu(&elem->hnode); in nf_flowtable_by_dev_remove()
H A Dnf_conntrack_expect.c58 hlist_del_rcu(&exp->hnode); in nf_ct_unlink_expect_report()
146 hlist_for_each_entry_rcu(i, &nf_ct_expect_hash[h], hnode) { in __nf_ct_expect_find()
189 hlist_for_each_entry(i, &nf_ct_expect_hash[h], hnode) { in nf_ct_find_expectation()
430 hlist_add_head_rcu(&exp->hnode, &nf_ct_expect_hash[h]);
474 hlist_for_each_entry_safe(i, next, &nf_ct_expect_hash[h], hnode) { in __nf_ct_expect_check()
547 hnode) { in nf_ct_expect_iterate_net()
573 hnode) { in ct_expect_get_first()
659 expect = hlist_entry(n, struct nf_conntrack_expect, hnode); in exp_seq_show()
H A Dnf_conntrack_helper.c58 hlist_for_each_entry_rcu(h, &nf_ct_helper_hash[i], hnode) { in __nf_conntrack_helper_find()
366 hlist_for_each_entry(cur, &nf_ct_helper_hash[i], hnode) { in nf_conntrack_helper_register()
379 hlist_for_each_entry(cur, &nf_ct_helper_hash[h], hnode) { in nf_conntrack_helper_register()
388 hlist_add_head_rcu(&me->hnode, &nf_ct_helper_hash[h]); in nf_conntrack_helper_register()
409 hlist_del_rcu(&me->hnode);
/linux/drivers/accel/habanalabs/common/
H A Dmemory.c1056 struct hl_vm_hash_node *hnode; in map_device_va() local
1155 hnode = kzalloc_obj(*hnode); in map_device_va()
1156 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 …]
H A Ddebugfs.c242 struct hl_vm_hash_node *hnode; in vm_show() local
264 hash_for_each(ctx->mem_hash, i, hnode, node) { in vm_show()
265 vm_type = hnode->ptr; in vm_show()
268 userptr = hnode->ptr; in vm_show()
271 hnode->vaddr, userptr->size); in vm_show()
273 phys_pg_pack = hnode->ptr; in vm_show()
276 hnode->vaddr, phys_pg_pack->total_size, in vm_show()
880 struct hl_vm_hash_node *hnode; in device_va_to_pa() local
896 hash_for_each(ctx->mem_hash, i, hnode, node) { in device_va_to_pa()
897 vm_type = hnode->ptr; in device_va_to_pa()
[all …]
H A Ddevice.c2721 struct hl_vm_hash_node *hnode; in hl_capture_user_mappings() local
2738 hash_for_each(ctx->mem_hash, i, hnode, node) { in hl_capture_user_mappings()
2739 vm_type = hnode->ptr; in hl_capture_user_mappings()
2760 hash_for_each(ctx->mem_hash, i, hnode, node) { in hl_capture_user_mappings()
2761 vm_type = hnode->ptr; in hl_capture_user_mappings()
2763 userptr = hnode->ptr; in hl_capture_user_mappings()
2764 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; in hl_capture_user_mappings()
2768 phys_pg_pack = hnode->ptr; in hl_capture_user_mappings()
2769 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; in hl_capture_user_mappings()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dhtb.c10 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/drivers/platform/x86/intel/
H A Dtpmi_power_domains.c60 struct hlist_node hnode; member
107 hash_for_each_possible(tpmi_cpu_hash, info, hnode, punit_core_id) { in tpmi_get_linux_cpu_number()
201 hash_add(tpmi_cpu_hash, &info->hnode, info->punit_core_id); in tpmi_cpu_online()
/linux/net/sched/
H A Dcls_u32.c91 struct hlist_node hnode; member
354 hlist_for_each_entry(tc, tc_u_hash(key), hnode) { in tc_u_common_find()
385 INIT_HLIST_NODE(&tp_c->hnode); in u32_init()
388 hlist_add_head(&tp_c->hnode, tc_u_hash(key)); in u32_init()
496 cls_u32.hnode.divisor = h->divisor; in u32_clear_hw_hnode()
497 cls_u32.hnode.handle = h->handle; in u32_clear_hw_hnode()
498 cls_u32.hnode.prio = h->prio; in u32_clear_hw_hnode()
514 cls_u32.hnode.divisor = h->divisor; in u32_replace_hw_hnode()
515 cls_u32.hnode.handle = h->handle; in u32_replace_hw_hnode()
516 cls_u32.hnode.prio = h->prio; in u32_replace_hw_hnode()
[all …]
H A Dsch_drr.c293 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in drr_walk()
436 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in drr_reset_qdisc()
455 common.hnode) in drr_destroy_qdisc()
/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_if_common.c74 struct hlist_node hnode; member
102 hash_add(isst_hash, &sst_cmd->hnode, sst_cmd->cmd); in isst_store_new_cmd()
113 hash_for_each_safe(isst_hash, i, tmp, sst_cmd, hnode) { in isst_delete_hash()
114 hash_del(&sst_cmd->hnode); in isst_delete_hash()
144 hash_for_each_possible(isst_hash, sst_cmd, hnode, full_cmd) { in isst_store_cmd()
187 hash_for_each(isst_hash, i, sst_cmd, hnode) { in isst_resume_common()
/linux/drivers/s390/net/
H A Dqeth_l3_main.c62 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 …]
H A Dqeth_l2.h29 struct hlist_node hnode; member
H A Dqeth_l3.h23 struct hlist_node hnode; member
/linux/drivers/s390/crypto/
H A Dap_card.c84 hash_for_each(ap_queues, bkt, aq, hnode) in request_count_store()
105 hash_for_each(ap_queues, bkt, aq, hnode) in requestq_count_show()
124 hash_for_each(ap_queues, bkt, aq, hnode) in pendingq_count_show()
/linux/kernel/
H A Dkcov.c84 struct hlist_node hnode; member
111 hash_for_each_possible(kcov_remote_map, remote, hnode, handle) { in kcov_remote_find()
130 hash_add(kcov_remote_map, &remote->hnode, handle); in kcov_remote_add()
412 hash_for_each_safe(kcov_remote_map, bkt, tmp, remote, hnode) { in kcov_remote_reset()
415 hash_del(&remote->hnode); in kcov_remote_reset()
/linux/scripts/genksyms/
H A Dgenksyms.c157 hash_for_each_possible(symbol_hashtable, sym, hnode, crc32(name)) { in find_symbol()
242 hash_for_each_possible(symbol_hashtable, sym, hnode, h) { in __add_symbol()
274 hash_del(&sym->hnode); in __add_symbol()
290 hash_add(symbol_hashtable, &sym->hnode, h); in __add_symbol()
H A Dgenksyms.h37 struct hlist_node hnode; member
/linux/tools/lib/perf/include/internal/
H A Devsel.h19 struct hlist_node hnode; member
/linux/include/net/netfilter/
H A Dnf_conntrack_expect.h23 struct hlist_node hnode; member
H A Dnf_conntrack_helper.h33 struct hlist_node hnode; /* Internal use. */ member
/linux/arch/x86/kvm/svm/
H A Davic.c260 hash_for_each_possible(svm_vm_data_hash, kvm_svm, hnode, vm_id) { in avic_ga_log_notifier()
316 hash_del(&kvm_svm->hnode); in avic_vm_destroy()
344 hash_for_each_possible(svm_vm_data_hash, k2, hnode, vm_id) { in avic_vm_init()
350 hash_add(svm_vm_data_hash, &kvm_svm->hnode, kvm_svm->avic_vm_id); in avic_vm_init()
/linux/lib/zstd/compress/
H A Dhuf_compress.c82 static size_t showHNodeSymbols(const nodeElt* hnode, size_t size) in showHNodeSymbols() argument
86 RAWLOG(6, " %u", hnode[u].byte); (void)hnode; in showHNodeSymbols()
92 static size_t showHNodeBits(const nodeElt* hnode, size_t size) in showHNodeBits() argument
96 RAWLOG(6, " %u", hnode[u].nbBits); (void)hnode; in showHNodeBits()

123