/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | mpfs.h | 44 struct hlist_node hlist; member 50 hlist_for_each_entry_safe(hn, tmp, &(hash)[i], hlist) 57 hlist_for_each_entry(ptr, &(hash)[ix], node.hlist) \ 74 hlist_add_head(&ptr->node.hlist, &(hash)[ix]);\ 80 hlist_del(&(ptr)->node.hlist); \
|
D | vxlan.c | 49 struct hlist_node hlist; member 82 hash_for_each_possible_rcu(vxlan->htable, vxlanp, hlist, port) in mlx5_vxlan_lookup_port() 96 hash_for_each_possible(vxlan->htable, vxlanp, hlist, port) in vxlan_lookup_port() 119 hash_add_rcu(vxlan->htable, &vxlanp->hlist, port); in mlx5_vxlan_add_port() 138 hash_del_rcu(&vxlanp->hlist); in mlx5_vxlan_del_port() 189 hash_for_each_safe(vxlan->htable, bkt, tmp, vxlanp, hlist) { in mlx5_vxlan_reset_to_default()
|
/Linux-v5.15/mm/ |
D | mmu_notifier.c | 310 hlist_for_each_entry_rcu(subscription, &subscriptions->list, hlist, in mn_hlist_release() 324 struct mmu_notifier, hlist); in mn_hlist_release() 331 hlist_del_init_rcu(&subscription->hlist); in mn_hlist_release() 374 &mm->notifier_subscriptions->list, hlist, in __mmu_notifier_clear_flush_young() 394 &mm->notifier_subscriptions->list, hlist, in __mmu_notifier_clear_young() 413 &mm->notifier_subscriptions->list, hlist, in __mmu_notifier_test_young() 435 &mm->notifier_subscriptions->list, hlist, in __mmu_notifier_change_pte() 484 hlist_for_each_entry_rcu(subscription, &subscriptions->list, hlist, in mn_hlist_invalidate_range_start() 523 hlist, srcu_read_lock_held(&srcu)) { in mn_hlist_invalidate_range_start() 560 hlist_for_each_entry_rcu(subscription, &subscriptions->list, hlist, in mn_hlist_invalidate_end() [all …]
|
D | ksm.c | 166 struct hlist_head hlist; member 210 struct hlist_node hlist; member 352 hlist_add_head(&dup->hlist_dup, &chain->hlist); in stable_node_chain_add_dup() 593 INIT_HLIST_HEAD(&chain->hlist); in alloc_stable_node_chain() 635 hlist_for_each_entry(rmap_item, &stable_node->hlist, hlist) { in remove_node_from_stable_tree() 636 if (rmap_item->hlist.next) in remove_node_from_stable_tree() 779 hlist_del(&rmap_item->hlist); in remove_rmap_item_from_tree() 783 if (!hlist_empty(&stable_node->hlist)) in remove_rmap_item_from_tree() 923 &stable_node->hlist, hlist_dup) { in remove_stable_node_chain() 928 BUG_ON(!hlist_empty(&stable_node->hlist)); in remove_stable_node_chain() [all …]
|
/Linux-v5.15/net/phonet/ |
D | socket.c | 44 struct hlist_head hlist[PN_HASHSIZE]; member 53 INIT_HLIST_HEAD(pnsocks.hlist + i); in pn_sock_init() 59 return pnsocks.hlist + (obj & PN_HASHMASK); in pn_hash_list() 72 struct hlist_head *hlist = pn_hash_list(obj); in pn_find_sock_by_sa() local 75 sk_for_each_rcu(sknode, hlist) { in pn_find_sock_by_sa() 106 struct hlist_head *hlist = pnsocks.hlist; in pn_deliver_sock_broadcast() local 113 sk_for_each(sknode, hlist) { in pn_deliver_sock_broadcast() 127 hlist++; in pn_deliver_sock_broadcast() 134 struct hlist_head *hlist = pn_hash_list(pn_sk(sk)->sobject); in pn_sock_hash() local 137 sk_add_node_rcu(sk, hlist); in pn_sock_hash() [all …]
|
/Linux-v5.15/fs/ksmbd/mgmt/ |
D | share_config.c | 57 hash_del(&share->hlist); in __ksmbd_share_config_put() 76 hash_for_each_possible(shares_table, share, hlist, key) { in __share_lookup() 177 hash_add(shares_table, &share->hlist, share_name_hash(name)); in share_config_request() 233 hash_for_each_safe(shares_table, i, tmp, share, hlist) { in ksmbd_share_configs_cleanup() 234 hash_del(&share->hlist); in ksmbd_share_configs_cleanup()
|
D | user_session.c | 158 hash_del(&sess->hlist); in ksmbd_session_destroy() 177 hash_for_each_possible(sessions_table, sess, hlist, id) { in __session_lookup() 340 hash_add(sessions_table, &sess->hlist, sess->id); in __session_create()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | vporttbl.c | 18 struct hlist_node hlist; member 65 hash_for_each_possible(esw->fdb_table.offloads.vports.table, e, hlist, key) in esw_vport_tbl_lookup() 110 hash_add(esw->fdb_table.offloads.vports.table, &e->hlist, hkey); in mlx5_esw_vporttbl_get() 135 hash_del(&e->hlist); in mlx5_esw_vporttbl_put()
|
D | indir_table.c | 35 struct hlist_node hlist; member 427 hash_add(esw->fdb_table.offloads.indir->table, &e->hlist, in mlx5_esw_indir_table_entry_create() 450 hash_for_each_possible(esw->fdb_table.offloads.indir->table, e, hlist, key) in mlx5_esw_indir_table_entry_lookup() 510 hash_del(&e->hlist); in mlx5_esw_indir_table_put()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_arfs.c | 84 struct hlist_node hlist; member 99 hlist_for_each_entry_safe(hn, tmp, &hash[j], hlist) 405 hlist_del_init(&arfs_rule->hlist); in arfs_may_expire_flow() 406 hlist_add_head(&arfs_rule->hlist, &del_list); in arfs_may_expire_flow() 412 hlist_for_each_entry_safe(arfs_rule, htmp, &del_list, hlist) { in arfs_may_expire_flow() 415 hlist_del(&arfs_rule->hlist); in arfs_may_expire_flow() 430 hlist_del_init(&rule->hlist); in arfs_del_rules() 431 hlist_add_head(&rule->hlist, &del_list); in arfs_del_rules() 435 hlist_for_each_entry_safe(rule, htmp, &del_list, hlist) { in arfs_del_rules() 439 hlist_del(&rule->hlist); in arfs_del_rules() [all …]
|
/Linux-v5.15/drivers/infiniband/ulp/opa_vnic/ |
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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | mod_hdr.c | 45 hash_init(tbl->hlist); in mlx5e_mod_hdr_tbl_init() 59 hash_for_each_possible(tbl->hlist, mh, mod_hdr_hlist, hash_key) { in mod_hdr_get() 114 hash_add(tbl->hlist, &mh->mod_hdr_hlist, hash_key); in mlx5e_mod_hdr_attach()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | sample.c | 33 struct hlist_node hlist; member 52 struct hlist_node hlist; member 180 hash_for_each_possible(tc_psample->hashtbl, sampler, hlist, hash_key) in sampler_get() 199 hash_add(tc_psample->hashtbl, &sampler->hlist, hash_key); in sampler_get() 218 hash_del(&sampler->hlist); in sampler_put() 294 hash_for_each_possible(tc_psample->restore_hashtbl, restore, hlist, hash_key) in sample_restore_get() 319 hash_add(tc_psample->restore_hashtbl, &restore->hlist, hash_key); in sample_restore_get() 339 hash_del(&restore->hlist); in sample_restore_put()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib_vlan.c | 40 struct hlist_node hlist; member 77 hlist_for_each_entry(node, h, hlist) { in mlx5i_find_qpn_to_netdev_node() 99 hlist_add_head(&new_node->hlist, &ht->buckets[key]); in mlx5i_pkey_add_qpn() 119 hlist_del_init(&node->hlist); in mlx5i_pkey_del_qpn()
|
/Linux-v5.15/fs/cifs/ |
D | dfs_cache.c | 39 struct hlist_node hlist; member 241 hlist_del_init(&ce->hlist); in flush_cache_ent() 257 hlist_for_each_entry_safe(ce, n, l, hlist) { in flush_cache_ents() 258 if (!hlist_unhashed(&ce->hlist)) in flush_cache_ents() 279 hlist_for_each_entry(ce, l, hlist) { in dfscache_proc_show() 280 if (hlist_unhashed(&ce->hlist)) in dfscache_proc_show() 539 INIT_HLIST_NODE(&ce->hlist); in alloc_cache_entry() 562 hlist_for_each_entry(ce, l, hlist) { in remove_oldest_entry_locked() 563 if (hlist_unhashed(&ce->hlist)) in remove_oldest_entry_locked() 613 hlist_add_head(&ce->hlist, &cache_htable[hash]); in add_cache_entry_locked() [all …]
|
/Linux-v5.15/include/linux/ |
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-v5.15/kernel/ |
D | kprobes.c | 371 hlist_for_each_entry_rcu(p, head, hlist, in get_kprobe() 567 hlist_del_rcu(&op->kp.hlist); in do_unoptimize_kprobes() 795 hlist_del_rcu(&op->kp.hlist); in kill_optimized_kprobe() 890 hlist_for_each_entry(p, head, hlist) in optimize_all_kprobes() 918 hlist_for_each_entry(p, head, hlist) { in unoptimize_all_kprobes() 1332 INIT_HLIST_NODE(&ap->hlist); in init_aggr_kprobe() 1335 hlist_replace_rcu(&p->hlist, &ap->hlist); in init_aggr_kprobe() 1645 INIT_HLIST_NODE(&p->hlist); in register_kprobe() 1646 hlist_add_head_rcu(&p->hlist, in register_kprobe() 1652 hlist_del_rcu(&p->hlist); in register_kprobe() [all …]
|
/Linux-v5.15/net/sched/ |
D | cls_u32.c | 86 struct tc_u_hnode __rcu *hlist; member 258 for (ht = rtnl_dereference(tp_c->hlist); in u32_lookup_ht() 367 tp_c = kzalloc(struct_size(tp_c, hlist->ht, 1), GFP_KERNEL); in u32_init() 380 RCU_INIT_POINTER(root_ht->next, tp_c->hlist); in u32_init() 381 rcu_assign_pointer(tp_c->hlist, root_ht); in u32_init() 602 hn = &tp_c->hlist; in u32_destroy_hnode() 635 while ((ht = rtnl_dereference(tp_c->hlist)) != NULL) { in u32_destroy() 637 RCU_INIT_POINTER(tp_c->hlist, ht->next); in u32_destroy() 967 RCU_INIT_POINTER(ht->next, tp_c->hlist); in u32_change() 968 rcu_assign_pointer(tp_c->hlist, ht); in u32_change() [all …]
|
/Linux-v5.15/drivers/md/persistent-data/ |
D | dm-transaction-manager.c | 78 struct hlist_node hlist; member 110 hlist_for_each_entry(si, tm->buckets + bucket, hlist) in is_shadow() 134 hlist_add_head(&si->hlist, tm->buckets + bucket); in insert_shadow() 149 hlist_for_each_entry_safe(si, tmp, bucket, hlist) in wipe_shadow_table()
|
/Linux-v5.15/fs/nfs/ |
D | nfs42xattr.c | 63 struct hlist_head hlist; member 111 INIT_HLIST_HEAD(&cache->buckets[i].hlist); in nfs4_xattr_hash_init() 276 if (WARN_ON(!hlist_empty(&cache->buckets[i].hlist))) in nfs4_xattr_free_cache_cb() 399 hlist_for_each_entry_safe(entry, n, &bucket->hlist, hnode) { in nfs4_xattr_discard_cache() 518 hlist_for_each_entry(entry, &bucket->hlist, hnode) { in nfs4_xattr_get_entry() 552 hlist_add_head(&entry->hnode, &bucket->hlist); in nfs4_xattr_hash_add()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec.c | 67 hash_for_each_possible_rcu(ipsec->sadb_rx, sa_entry, hlist, handle) in mlx5e_ipsec_sadb_rx_lookup() 86 hash_for_each_possible_rcu(ipsec->sadb_rx, _sa_entry, hlist, handle) in mlx5e_ipsec_sadb_rx_add() 95 hash_add_rcu(ipsec->sadb_rx, &sa_entry->hlist, sa_entry->handle); in mlx5e_ipsec_sadb_rx_add() 107 hash_del_rcu(&sa_entry->hlist); in mlx5e_ipsec_sadb_rx_del()
|
/Linux-v5.15/drivers/net/ |
D | macvlan.c | 58 struct hlist_node hlist; member 128 hlist_for_each_entry_rcu(vlan, &port->vlan_hash[idx], hlist, in macvlan_hash_lookup() 144 hlist_for_each_entry_rcu(entry, h, hlist) { in macvlan_hash_lookup_source() 170 hlist_add_head_rcu(&entry->hlist, h); in macvlan_hash_add_source() 182 hlist_add_head_rcu(&vlan->hlist, &port->vlan_hash[idx]); in macvlan_hash_add() 187 hlist_del_rcu(&entry->hlist); in macvlan_hash_del_source() 193 hlist_del_rcu(&vlan->hlist); in macvlan_hash_del() 275 hash_for_each_rcu(port->vlan_hash, i, vlan, hlist) { in macvlan_broadcast() 384 hash_for_each_safe(port->vlan_source_hash, i, next, entry, hlist) in macvlan_flush_sources() 426 hlist_for_each_entry_rcu(entry, h, hlist) { in macvlan_forward_source() [all …]
|
/Linux-v5.15/kernel/bpf/ |
D | trampoline.c | 69 hlist_for_each_entry(tr, head, hlist) { in bpf_trampoline_lookup() 80 INIT_HLIST_NODE(&tr->hlist); in bpf_trampoline_lookup() 81 hlist_add_head(&tr->hlist, head); in bpf_trampoline_lookup() 522 hlist_del(&tr->hlist); in bpf_trampoline_put()
|
/Linux-v5.15/net/decnet/ |
D | dn_table.c | 509 hlist_for_each_entry(tb, &dn_fib_table_hash[h], hlist) { in dn_fib_dump() 849 hlist_for_each_entry_rcu(t, &dn_fib_table_hash[h], hlist) { in dn_fib_get_table() 876 hlist_add_head_rcu(&t->hlist, &dn_fib_table_hash[h]); in dn_fib_get_table() 898 hlist_for_each_entry(tb, &dn_fib_table_hash[h], hlist) in dn_fib_flush() 923 hlist) { in dn_fib_table_cleanup() 924 hlist_del(&t->hlist); in dn_fib_table_cleanup()
|
/Linux-v5.15/drivers/net/ethernet/intel/ixgbevf/ |
D | ipsec.h | 18 struct hlist_node hlist; member
|