| /linux/mm/ |
| H A D | mmu_notifier.c | 312 hlist_for_each_entry_rcu(subscription, &subscriptions->list, hlist, in mn_hlist_release() 326 struct mmu_notifier, hlist); in mn_hlist_release() 333 hlist_del_init_rcu(&subscription->hlist); in mn_hlist_release() 376 &mm->notifier_subscriptions->list, hlist, in __mmu_notifier_clear_flush_young() 396 &mm->notifier_subscriptions->list, hlist, in __mmu_notifier_clear_young() 415 &mm->notifier_subscriptions->list, hlist, in __mmu_notifier_test_young() 469 hlist_for_each_entry_rcu(subscription, &subscriptions->list, hlist, in mn_hlist_invalidate_range_start() 508 hlist, srcu_read_lock_held(&srcu)) { in mn_hlist_invalidate_range_start() 545 hlist_for_each_entry_rcu(subscription, &subscriptions->list, hlist, in mn_hlist_invalidate_end() 581 &mm->notifier_subscriptions->list, hlist, in __mmu_notifier_arch_invalidate_secondary_tlbs() [all …]
|
| H A D | ksm.c | 170 struct hlist_head hlist; member 218 struct hlist_node hlist; member 538 hlist_add_head(&dup->hlist_dup, &chain->hlist); in stable_node_chain_add_dup() 844 INIT_HLIST_HEAD(&chain->hlist); in alloc_stable_node_chain() 886 hlist_for_each_entry(rmap_item, &stable_node->hlist, hlist) { in remove_node_from_stable_tree() 887 if (rmap_item->hlist.next) { in remove_node_from_stable_tree() 1037 hlist_del(&rmap_item->hlist); in remove_rmap_item_from_tree() 1041 if (!hlist_empty(&stable_node->hlist)) in remove_rmap_item_from_tree() 1156 &stable_node->hlist, hlist_dup) { in remove_stable_node_chain() 1161 BUG_ON(!hlist_empty(&stable_node->hlist)); in remove_stable_node_chain() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_arfs.c | 89 struct hlist_node hlist; member 104 hlist_for_each_entry_safe(hn, tmp, &hash[j], hlist) 439 hlist_del_init(&arfs_rule->hlist); in arfs_may_expire_flow() 440 hlist_add_head(&arfs_rule->hlist, &del_list); in arfs_may_expire_flow() 446 hlist_for_each_entry_safe(arfs_rule, htmp, &del_list, hlist) { in arfs_may_expire_flow() 451 hlist_del(&arfs_rule->hlist); in arfs_may_expire_flow() 469 hlist_del_init(&rule->hlist); in arfs_del_rules() 470 hlist_add_head(&rule->hlist, &del_list); in arfs_del_rules() 474 hlist_for_each_entry_safe(rule, htmp, &del_list, hlist) { in arfs_del_rules() 478 hlist_del(&rule->hlist); in arfs_del_rules() [all …]
|
| /linux/drivers/infiniband/ulp/opa_vnic/ |
| H A D | opa_vnic_encap.c | 112 vnic_hash_for_each_safe(mactbl, bkt, tmp, node, hlist) { in opa_vnic_free_mac_tbl() 113 hash_del(&node->hlist); in opa_vnic_free_mac_tbl() 168 vnic_hash_for_each(mactbl, bkt, node, hlist) { in opa_vnic_query_mac_tbl() 255 vnic_hash_add(new_mactbl, &node->hlist, key); in opa_vnic_update_mac_tbl() 263 vnic_hash_for_each(old_mactbl, bkt, node, hlist) { in opa_vnic_update_mac_tbl() 277 vnic_hash_add(new_mactbl, &new_node->hlist, key); in opa_vnic_update_mac_tbl() 312 vnic_hash_for_each_possible(mactbl, node, hlist, key) { in opa_vnic_chk_mac_tbl()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | mod_hdr.c | 45 hash_init(tbl->hlist); in mlx5e_mod_hdr_tbl_init() 50 WARN_ON(!hash_empty(tbl->hlist)); in mlx5e_mod_hdr_tbl_destroy() 60 hash_for_each_possible(tbl->hlist, mh, mod_hdr_hlist, hash_key) { in mod_hdr_get() 115 hash_add(tbl->hlist, &mh->mod_hdr_hlist, hash_key); in mlx5e_mod_hdr_attach()
|
| /linux/kernel/trace/ |
| H A D | fprobe.c | 71 .head_offset = offsetof(struct fprobe_hlist_node, hlist), 85 return rhltable_insert(&fprobe_ip_table, &node->hlist, fprobe_rht_params); in insert_fprobe_node() 97 rhltable_remove(&fprobe_ip_table, &node->hlist, in delete_fprobe_node() 116 hlist_for_each_entry_rcu(fph, head, hlist, in is_fprobe_still_exist() 139 hlist_add_head_rcu(&fp->hlist_array->hlist, head); in add_fprobe_hash() 156 hlist_del_rcu(&fph->hlist); in del_fprobe_hash() 280 rhl_for_each_entry_rcu(node, pos, head, hlist) { in fprobe_ftrace_entry() 391 rhl_for_each_entry_rcu(node, pos, head, hlist) { in fprobe_fgraph_entry() 407 rhl_for_each_entry_rcu(node, pos, head, hlist) { in fprobe_fgraph_entry() 424 rhl_for_each_entry_rcu(node, pos, head, hlist) { in fprobe_fgraph_entry()
|
| H A D | ftrace.c | 1176 hlist_for_each_entry_rcu_notrace(entry, hhd, hlist) { in __ftrace_lookup_ip() 1210 hlist_add_head(&entry->hlist, hhd); in __add_hash_entry() 1233 hlist_del(&entry->hlist); in free_hash_entry() 1242 hlist_del_rcu(&entry->hlist); in remove_hash_entry() 1259 hlist_for_each_entry_safe(entry, tn, hhd, hlist) in ftrace_hash_clear() 1400 hlist_for_each_entry(entry, &hash->buckets[i], hlist) { in alloc_and_copy_ftrace_hash() 1453 hlist_for_each_entry_safe(entry, tn, hhd, hlist) { in __move_hash() 3285 hlist_for_each_entry(entry, &new_hash->buckets[i], hlist) { in append_hash() 3311 hlist_for_each_entry_safe(entry, tmp, &hash->buckets[i], hlist) { in remove_hash() 3345 hlist_for_each_entry(entry, &new_hash1->buckets[i], hlist) { in intersect_hash() [all...] |
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | sample.c | 35 struct hlist_node hlist; member 53 struct hlist_node hlist; member 181 hash_for_each_possible(tc_psample->hashtbl, sampler, hlist, hash_key) in sampler_get() 200 hash_add(tc_psample->hashtbl, &sampler->hlist, hash_key); in sampler_get() 219 hash_del(&sampler->hlist); in sampler_put() 272 hash_for_each_possible(tc_psample->restore_hashtbl, restore, hlist, obj_id) in sample_restore_get() 296 hash_add(tc_psample->restore_hashtbl, &restore->hlist, obj_id); in sample_restore_get() 316 hash_del(&restore->hlist); in sample_restore_put()
|
| H A D | meter.h | 33 struct hlist_node hlist; member
|
| /linux/drivers/net/vxlan/ |
| H A D | vxlan_vnifilter.c | 49 if (!hlist_unhashed(&v->hlist4.hlist)) in vxlan_vs_add_del_vninode() 50 hlist_del_init_rcu(&v->hlist4.hlist); in vxlan_vs_add_del_vninode() 52 if (!hlist_unhashed(&v->hlist6.hlist)) in vxlan_vs_add_del_vninode() 53 hlist_del_init_rcu(&v->hlist6.hlist); in vxlan_vs_add_del_vninode() 62 hlist_add_head_rcu(&node->hlist, vni_head(vs, v->vni)); in vxlan_vs_add_del_vninode() 68 hlist_add_head_rcu(&node->hlist, vni_head(vs, v->vni)); in vxlan_vs_add_del_vninode() 93 hlist_add_head_rcu(&node->hlist, vni_head(vs, v->vni)); in vxlan_vs_add_vnigrp() 108 hlist_del_init_rcu(&v->hlist4.hlist); in vxlan_vs_del_vnigrp() 110 hlist_del_init_rcu(&v->hlist6.hlist); in vxlan_vs_del_vnigrp() 911 hlist_del_init_rcu(&v->hlist4.hlist); in vxlan_vnigroup_uninit() [all …]
|
| /linux/fs/smb/server/ |
| H A D | connection.c | 36 hash_del(&conn->hlist); in ksmbd_conn_free() 102 hash_for_each(conn_list, bkt, t, hlist) { in ksmbd_conn_lookup_dialect() 166 hash_for_each(conn_list, bkt, conn, hlist) { in ksmbd_all_conn_set_status() 189 hash_for_each(conn_list, bkt, conn, hlist) { in ksmbd_conn_wait_idle_sess_id() 486 hash_for_each(conn_list, bkt, conn, hlist) { in stop_sessions()
|
| /linux/include/linux/ |
| H A D | fprobe.h | 30 struct rhlist_head hlist; member 45 struct hlist_node hlist; member
|
| H A D | if_team.h | 30 struct hlist_node hlist; /* node in enabled ports hash list */ member 254 hlist_for_each_entry(port, head, hlist) in team_get_port_by_index() 275 hlist_for_each_entry_rcu(port, head, hlist) in team_get_port_by_index_rcu()
|
| /linux/fs/smb/client/ |
| H A D | dfs_cache.c | 39 struct hlist_node hlist; member 130 hlist_del_init(&ce->hlist); in flush_cache_ent() 146 hlist_for_each_entry_safe(ce, n, l, hlist) { in flush_cache_ents() 147 if (!hlist_unhashed(&ce->hlist)) in flush_cache_ents() 168 hlist_for_each_entry(ce, l, hlist) { in dfscache_proc_show() 169 if (hlist_unhashed(&ce->hlist)) in dfscache_proc_show() 433 INIT_HLIST_NODE(&ce->hlist); in alloc_cache_entry() 456 hlist_for_each_entry_safe(ce, n, l, hlist) { in purge_cache() 457 if (hlist_unhashed(&ce->hlist)) in purge_cache() 499 hlist_add_head(&ce->hlist, &cache_htable[hash]); in add_cache_entry_locked() [all …]
|
| /linux/fs/smb/server/mgmt/ |
| H A D | share_config.c | 59 hash_del(&share->hlist); in ksmbd_share_config_del() 82 hash_for_each_possible(shares_table, share, hlist, key) { in __share_lookup() 214 hash_add(shares_table, &share->hlist, share_name_hash(name)); in share_config_request()
|
| H A D | share_config.h | 27 struct hlist_node hlist; member
|
| /linux/fs/dlm/ |
| H A D | midcomms.c | 194 struct hlist_node hlist; member 278 hlist_for_each_entry_rcu(node, &node_hash[r], hlist) { in __find_node() 368 hlist_add_head_rcu(&node->hlist, &node_hash[r]); in dlm_midcomms_addr() 1168 hlist_for_each_entry_rcu(node, &node_hash[i], hlist) { in dlm_midcomms_exit() 1172 hlist_del_rcu(&node->hlist); in dlm_midcomms_exit() 1328 hlist_for_each_entry_rcu(node, &node_hash[i], hlist) { in dlm_midcomms_version_wait() 1399 hlist_for_each_entry_rcu(node, &node_hash[i], hlist) { in dlm_midcomms_shutdown() 1407 hlist_for_each_entry_rcu(node, &node_hash[i], hlist) { in dlm_midcomms_shutdown() 1445 hlist_del_rcu(&node->hlist); in dlm_midcomms_close()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | indir_table.c | 30 struct hlist_node hlist; member 293 hash_add(esw->fdb_table.offloads.indir->table, &e->hlist, in mlx5_esw_indir_table_entry_create() 316 hash_for_each_possible(esw->fdb_table.offloads.indir->table, e, hlist, key) in mlx5_esw_indir_table_entry_lookup() 374 hash_del(&e->hlist); in mlx5_esw_indir_table_put()
|
| /linux/kernel/ |
| H A D | kprobes.c | 384 hlist_for_each_entry_rcu(p, head, hlist, in get_kprobe() 576 hlist_del_rcu(&op->kp.hlist); in do_unoptimize_kprobes() 898 hlist_for_each_entry(p, head, hlist) in optimize_all_kprobes() 922 hlist_for_each_entry(p, head, hlist) { in unoptimize_all_kprobes() 1277 INIT_HLIST_NODE(&ap->hlist); in init_aggr_kprobe() 1280 hlist_replace_rcu(&p->hlist, &ap->hlist); in init_aggr_kprobe() 1613 INIT_HLIST_NODE(&p->hlist); in __register_kprobe() 1614 hlist_add_head_rcu(&p->hlist, in __register_kprobe() 1620 hlist_del_rcu(&p->hlist); in __register_kprobe() 1750 hlist_del_rcu(&ap->hlist); in __unregister_kprobe_top() [all …]
|
| /linux/net/l2tp/ |
| H A D | l2tp_core.c | 261 if (session && !hash_hashed(&session->hlist) && in l2tp_v3_session_get() 275 hlist, key) { in l2tp_v3_session_get() 373 if (session && !hash_hashed(&session->hlist)) { in l2tp_v3_session_get_next() 391 if (session && hash_hashed(&session->hlist)) { in l2tp_v3_session_get_next() 396 hlist, hkey) { in l2tp_v3_session_get_next() 500 /* If existing session isn't already in the session hlist, add it. */ in l2tp_session_collision_add() 501 if (!hash_hashed(&session2->hlist)) in l2tp_session_collision_add() 502 hash_add_rcu(pn->l2tp_v3_session_htable, &session2->hlist, in l2tp_session_collision_add() 505 /* Add new session to the hlist and collision list */ in l2tp_session_collision_add() 506 hash_add_rcu(pn->l2tp_v3_session_htable, &session1->hlist, in l2tp_session_collision_add() [all...] |
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | ipsec.h | 18 struct hlist_node hlist; member
|
| /linux/net/netfilter/ |
| H A D | nfnetlink_log.c | 61 struct hlist_node hlist; /* global list of instances */ member 112 hlist_for_each_entry_rcu(inst, head, hlist) { in __instance_lookup() 194 INIT_HLIST_NODE(&inst->hlist); in instance_create() 212 hlist_add_head_rcu(&inst->hlist, in instance_create() 232 hlist_del_rcu(&inst->hlist); in __instance_destroy() 846 hlist_for_each_entry_safe(inst, t2, head, hlist) { in nfulnl_rcv_nl_event()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ipsec.h | 32 struct hlist_node hlist; member
|
| /linux/net/mctp/ |
| H A D | route.c | 200 hlist_for_each_entry(key, &net->mctp.keys, hlist) { in mctp_lookup_key() 279 hlist_for_each_entry(tmp, &net->mctp.keys, hlist) { in mctp_key_add() 296 hlist_add_head(&key->hlist, &net->mctp.keys); in mctp_key_add() 331 if (!hlist_unhashed(&key->hlist)) { in __mctp_key_done_in() 332 hlist_del_init(&key->hlist); in __mctp_key_done_in() 716 hlist_add_head_rcu(&key->hlist, &mns->keys); in mctp_reserve_tag() 752 hlist_for_each_entry(tmp, &mns->keys, hlist) { in mctp_alloc_local_tag() 823 hlist_for_each_entry(tmp, &mns->keys, hlist) { in mctp_lookup_prealloc_tag()
|
| /linux/Documentation/translations/zh_CN/mm/ |
| H A D | ksm.rst | 55 树副本排队进入稳定节点chain->hlist)和更高的数据去重系数,但代价是在交换、压
|