Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/hungtask/
Dhungtask_base.c54 struct hashlist_node *hnode = NULL; in hashlist_find() local
60 hlist_for_each_entry(hnode, &head[tgid % count], list) { in hashlist_find()
61 if (hnode->pid == tgid) in hashlist_find()
71 struct hashlist_node *hnode = NULL; in hashlist_clear() local
74 hlist_for_each_entry_safe(hnode, n, &head[i], list) { in hashlist_clear()
75 hlist_del(&hnode->list); in hashlist_clear()
76 kfree(hnode); in hashlist_clear()
77 hnode = NULL; in hashlist_clear()
86 struct hashlist_node *hnode = NULL; in hashlist_insert() local
90 hnode = kmalloc(sizeof(struct hashlist_node), GFP_ATOMIC); in hashlist_insert()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_expect.c56 hlist_del_rcu(&exp->hnode); in nf_ct_unlink_expect_report()
128 hlist_for_each_entry_rcu(i, &nf_ct_expect_hash[h], hnode) { in __nf_ct_expect_find()
168 hlist_for_each_entry(i, &nf_ct_expect_hash[h], hnode) { in nf_ct_find_expectation()
391 hlist_add_head_rcu(&exp->hnode, &nf_ct_expect_hash[h]); in nf_ct_expect_insert()
431 hlist_for_each_entry_safe(i, next, &nf_ct_expect_hash[h], hnode) { in __nf_ct_expect_check()
502 hnode) { in nf_ct_expect_iterate_destroy()
528 hnode) { in nf_ct_expect_iterate_net()
613 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()
412 hlist_for_each_entry(cur, &nf_ct_helper_hash[i], hnode) { in nf_conntrack_helper_register()
425 hlist_for_each_entry(cur, &nf_ct_helper_hash[h], hnode) { in nf_conntrack_helper_register()
434 hlist_add_head_rcu(&me->hnode, &nf_ct_helper_hash[h]); in nf_conntrack_helper_register()
459 hlist_del_rcu(&me->hnode); in nf_conntrack_helper_unregister()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
483 cls_u32.hnode.divisor = h->divisor; in u32_clear_hw_hnode()
484 cls_u32.hnode.handle = h->handle; in u32_clear_hw_hnode()
485 cls_u32.hnode.prio = h->prio; in u32_clear_hw_hnode()
501 cls_u32.hnode.divisor = h->divisor; in u32_replace_hw_hnode()
502 cls_u32.hnode.handle = h->handle; in u32_replace_hw_hnode()
503 cls_u32.hnode.prio = h->prio; in u32_replace_hw_hnode()
[all …]
Dsch_drr.c288 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in drr_walk()
440 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in drr_reset_qdisc()
459 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()
1462 hlist_for_each_entry(cl, &q->clhash.hash[h], common.hnode) { in cbq_destroy()
1469 common.hnode) in cbq_destroy()
1760 hlist_for_each_entry(cl, &q->clhash.hash[h], common.hnode) { in cbq_walk()
Dsch_hfsc.c1352 cl_common.hnode) { in hfsc_walk()
1482 hlist_for_each_entry(cl, &q->clhash.hash[i], cl_common.hnode) in hfsc_reset_qdisc()
1498 hlist_for_each_entry(cl, &q->clhash.hash[i], cl_common.hnode) { in hfsc_destroy_qdisc()
1505 cl_common.hnode) in hfsc_destroy_qdisc()
Dsch_htb.c956 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in htb_reset()
1233 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in htb_destroy()
1240 common.hnode) in htb_destroy()
1543 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in htb_walk()
/kernel/linux/linux-5.10/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()
279 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_conntrack_expect.h23 struct hlist_node hnode; member
Dnf_conntrack_helper.h33 struct hlist_node hnode; /* Internal use. */ member
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Davic.c105 hash_for_each_possible(svm_vm_data_hash, kvm_svm, hnode, vm_id) { in avic_ga_log_notifier()
138 hash_del(&kvm_svm->hnode); in avic_vm_destroy()
178 hash_for_each_possible(svm_vm_data_hash, k2, hnode, vm_id) { in avic_vm_init()
184 hash_add(svm_vm_data_hash, &kvm_svm->hnode, kvm_svm->avic_vm_id); in avic_vm_init()
/kernel/linux/linux-5.10/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()

12