Home
last modified time | relevance | path

Searched refs:hn (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c79 struct mlx5e_l2_hash_node *hn; in mlx5e_add_l2_to_hash() local
83 hlist_for_each_entry(hn, &hash[ix], hlist) in mlx5e_add_l2_to_hash()
84 if (ether_addr_equal_64bits(hn->ai.addr, addr)) { in mlx5e_add_l2_to_hash()
90 hn->action = MLX5E_ACTION_NONE; in mlx5e_add_l2_to_hash()
94 hn = kzalloc(sizeof(*hn), GFP_ATOMIC); in mlx5e_add_l2_to_hash()
95 if (!hn) in mlx5e_add_l2_to_hash()
98 ether_addr_copy(hn->ai.addr, addr); in mlx5e_add_l2_to_hash()
99 hn->action = MLX5E_ACTION_ADD; in mlx5e_add_l2_to_hash()
101 hlist_add_head(&hn->hlist, &hash[ix]); in mlx5e_add_l2_to_hash()
104 static void mlx5e_del_l2_from_hash(struct mlx5e_l2_hash_node *hn) in mlx5e_del_l2_from_hash() argument
[all …]
Den_arfs.c67 #define mlx5e_for_each_arfs_rule(hn, tmp, arfs_tables, i, j) \ argument
69 mlx5e_for_each_hash_arfs_rule(hn, tmp, arfs_tables[i].rules_hash, j)
71 #define mlx5e_for_each_hash_arfs_rule(hn, tmp, hash, j) \ argument
73 hlist_for_each_entry_safe(hn, tmp, &hash[j], hlist)
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmpfs.h48 #define for_each_l2hash_node(hn, tmp, hash, i) \ argument
50 hlist_for_each_entry_safe(hn, tmp, &(hash)[i], hlist)
/Linux-v5.10/drivers/misc/sgi-gru/
Dgruhandles.h82 #define TYPE_IS(hn, h) ((h) >= GRU_##hn##_BASE && (h) < \ argument
83 GRU_##hn##_BASE + GRU_NUM_##hn * GRU_HANDLE_STRIDE && \
/Linux-v5.10/drivers/gpu/drm/sun4i/
Dsun8i_vi_layer.c79 u32 hn = 0, hm = 0; in sun8i_vi_layer_update_coord() local
167 hn = scanline; in sun8i_vi_layer_update_coord()
168 src_w = hn; in sun8i_vi_layer_update_coord()
185 SUN8I_MIXER_CHAN_VI_DS_N(hn) | in sun8i_vi_layer_update_coord()
189 SUN8I_MIXER_CHAN_VI_DS_N(hn) | in sun8i_vi_layer_update_coord()
/Linux-v5.10/samples/bpf/
Ddo_hbm_test.sh237 hn="::1"
240 hn=$server
244 ( ping6 -i 0.2 -c $m $hn > ping.out 2>&1 ) &
/Linux-v5.10/sound/firewire/digi00x/
Damdtp-dot.c92 const u8 hn = (idx >> 4) & 0xf; in dot_scrt() local
93 const u8 hr = (hn == 0x9) ? 0x9 : hir[(hio[hn] + off) % 15]; in dot_scrt()
/Linux-v5.10/net/sched/
Dcls_u32.c595 struct tc_u_hnode __rcu **hn; in u32_destroy_hnode() local
602 hn = &tp_c->hlist; in u32_destroy_hnode()
603 for (phn = rtnl_dereference(*hn); in u32_destroy_hnode()
605 hn = &phn->next, phn = rtnl_dereference(*hn)) { in u32_destroy_hnode()
610 RCU_INIT_POINTER(*hn, ht->next); in u32_destroy_hnode()