Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.4/drivers/misc/habanalabs/
Dmemory.c831 struct hl_vm_hash_node *hnode; in map_device_va() local
894 hnode = kzalloc(sizeof(*hnode), GFP_KERNEL); in map_device_va()
895 if (!hnode) { in map_device_va()
926 hnode->ptr = vm_type; in map_device_va()
927 hnode->vaddr = ret_vaddr; in map_device_va()
930 hash_add(ctx->mem_hash, &hnode->node, ret_vaddr); in map_device_va()
950 kfree(hnode); in map_device_va()
977 struct hl_vm_hash_node *hnode = NULL; in unmap_device_va() local
987 hash_for_each_possible(ctx->mem_hash, hnode, node, (unsigned long)vaddr) in unmap_device_va()
988 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()
/Linux-v5.4/drivers/platform/x86/intel_speed_select_if/
Disst_if_common.c65 struct hlist_node hnode; member
91 hash_add(isst_hash, &sst_cmd->hnode, sst_cmd->cmd); in isst_store_new_cmd()
102 hash_for_each_safe(isst_hash, i, tmp, sst_cmd, hnode) { in isst_delete_hash()
103 hash_del(&sst_cmd->hnode); in isst_delete_hash()
132 hash_for_each_possible(isst_hash, sst_cmd, hnode, full_cmd) { in isst_store_cmd()
175 hash_for_each(isst_hash, i, sst_cmd, hnode) { in isst_resume_common()
200 hash_for_each_possible(isst_hash, sst_cmd, hnode, in isst_restore_msr_local()
/Linux-v5.4/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()
Dnfnetlink_cthelper.c584 &nf_ct_helper_hash[cb->args[0]], hnode) { in nfnl_cthelper_dump_table()
/Linux-v5.4/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.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()
461 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()
1761 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()
1500 hlist_for_each_entry(cl, &q->clhash.hash[i], cl_common.hnode) { in hfsc_destroy_qdisc()
1507 cl_common.hnode) in hfsc_destroy_qdisc()
Dsch_htb.c956 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in htb_reset()
1235 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in htb_destroy()
1242 common.hnode) in htb_destroy()
1545 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in htb_walk()
Dsch_api.c679 hlist_for_each_entry_safe(cl, next, &ohash[i], hnode) { in qdisc_class_hash_grow()
681 hlist_add_head(&cl->hnode, &nhash[h]); in qdisc_class_hash_grow()
718 INIT_HLIST_NODE(&cl->hnode); in qdisc_class_hash_insert()
720 hlist_add_head(&cl->hnode, &clhash->hash[h]); in qdisc_class_hash_insert()
728 hlist_del(&cl->hnode); in qdisc_class_hash_remove()
Dsch_qfq.c662 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in qfq_walk()
1458 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in qfq_reset_qdisc()
1480 common.hnode) { in qfq_destroy_qdisc()
/Linux-v5.4/drivers/s390/net/
Dqeth_l3_main.c83 hash_for_each_possible(card->ip_mc_htable, addr, hnode, key) in qeth_l3_find_addr_by_ip()
87 hash_for_each_possible(card->ip_htable, addr, hnode, key) in qeth_l3_find_addr_by_ip()
180 hash_del(&addr->hnode); in qeth_l3_delete_ip()
231 hash_add(card->ip_htable, &addr->hnode, in qeth_l3_add_ip()
259 hash_del(&addr->hnode); in qeth_l3_add_ip()
263 hash_del(&addr->hnode); in qeth_l3_add_ip()
288 hash_for_each_safe(card->ip_mc_htable, i, tmp, addr, hnode) { in qeth_l3_drain_rx_mode_cache()
289 hash_del(&addr->hnode); in qeth_l3_drain_rx_mode_cache()
304 hash_for_each_safe(card->ip_htable, i, tmp, addr, hnode) { in qeth_l3_clear_ip_htable()
306 hash_del(&addr->hnode); in qeth_l3_clear_ip_htable()
[all …]
Dqeth_l2.h32 struct hlist_node hnode; member
Dqeth_l3.h25 struct hlist_node hnode; member
Dqeth_l2_main.c159 hash_for_each_safe(card->mac_htable, i, tmp, mac, hnode) { in qeth_l2_drain_rx_mode_cache()
160 hash_del(&mac->hnode); in qeth_l2_drain_rx_mode_cache()
489 hash_for_each_possible(card->mac_htable, mac, hnode, mac_hash) { in qeth_l2_add_mac()
503 hash_add(card->mac_htable, &mac->hnode, mac_hash); in qeth_l2_add_mac()
526 hash_for_each_safe(card->mac_htable, i, tmp, mac, hnode) { in qeth_l2_rx_mode_work()
530 hash_del(&mac->hnode); in qeth_l2_rx_mode_work()
536 hash_del(&mac->hnode); in qeth_l2_rx_mode_work()
Dqeth_l3_sys.c688 hash_for_each(card->ip_htable, i, ipaddr, hnode) { in qeth_l3_dev_ip_add_show()
/Linux-v5.4/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.4/drivers/gpu/drm/i915/gvt/
Dkvmgt.c88 struct hlist_node hnode; member
352 hash_for_each_safe(info->ptable, i, tmp, p, hnode) { in kvmgt_protect_table_destroy()
353 hash_del(&p->hnode); in kvmgt_protect_table_destroy()
363 hash_for_each_possible(info->ptable, p, hnode, gfn) { in __kvmgt_protect_table_find()
394 hash_add(info->ptable, &p->hnode, gfn); in kvmgt_protect_table_add()
404 hash_del(&p->hnode); in kvmgt_protect_table_del()
/Linux-v5.4/include/net/
Dsch_generic.h576 struct hlist_node hnode; member
603 hlist_for_each_entry(cl, &hash->hash[h], hnode) { in qdisc_class_find()
Dpkt_cls.h561 struct tc_cls_u32_hnode hnode; member
/Linux-v5.4/net/ipv4/
Dping.c174 struct hlist_nulls_node *hnode; in ping_lookup() local
189 ping_portaddr_for_each_entry(sk, hnode, hslot) { in ping_lookup()

12