Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_flow_table.c72 struct mlx5e_eth_addr_hash_node *hn; in mlx5e_add_eth_addr_to_hash() local
76 hlist_for_each_entry(hn, &hash[ix], hlist) in mlx5e_add_eth_addr_to_hash()
77 if (ether_addr_equal_64bits(hn->ai.addr, addr)) { in mlx5e_add_eth_addr_to_hash()
83 hn->action = MLX5E_ACTION_NONE; in mlx5e_add_eth_addr_to_hash()
87 hn = kzalloc(sizeof(*hn), GFP_ATOMIC); in mlx5e_add_eth_addr_to_hash()
88 if (!hn) in mlx5e_add_eth_addr_to_hash()
91 ether_addr_copy(hn->ai.addr, addr); in mlx5e_add_eth_addr_to_hash()
92 hn->action = MLX5E_ACTION_ADD; in mlx5e_add_eth_addr_to_hash()
94 hlist_add_head(&hn->hlist, &hash[ix]); in mlx5e_add_eth_addr_to_hash()
97 static void mlx5e_del_eth_addr_from_hash(struct mlx5e_eth_addr_hash_node *hn) in mlx5e_del_eth_addr_from_hash() argument
[all …]
/linux-4.4.14/drivers/misc/sgi-gru/
Dgruhandles.h95 #define TYPE_IS(hn, h) ((h) >= GRU_##hn##_BASE && (h) < \ argument
96 GRU_##hn##_BASE + GRU_NUM_##hn * GRU_HANDLE_STRIDE && \
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dcl_object.c566 static void *cl_env_hops_obj(struct hlist_node *hn) in cl_env_hops_obj() argument
568 struct cl_env *cle = hlist_entry(hn, struct cl_env, ce_node); in cl_env_hops_obj()
574 static int cl_env_hops_keycmp(const void *key, struct hlist_node *hn) in cl_env_hops_keycmp() argument
576 struct cl_env *cle = cl_env_hops_obj(hn); in cl_env_hops_keycmp()
582 static void cl_env_hops_noop(struct cfs_hash *hs, struct hlist_node *hn) in cl_env_hops_noop() argument
584 struct cl_env *cle = hlist_entry(hn, struct cl_env, ce_node); in cl_env_hops_noop()
/linux-4.4.14/sound/firewire/digi00x/
Damdtp-dot.c96 const u8 hn = (idx >> 4) & 0xf; in dot_scrt() local
97 const u8 hr = (hn == 0x9) ? 0x9 : hir[(hio[hn] + off) % 15]; in dot_scrt()
/linux-4.4.14/net/sched/
Dcls_u32.c445 struct tc_u_hnode __rcu **hn; in u32_destroy_hnode() local
452 hn = &tp_c->hlist; in u32_destroy_hnode()
453 for (phn = rtnl_dereference(*hn); in u32_destroy_hnode()
455 hn = &phn->next, phn = rtnl_dereference(*hn)) { in u32_destroy_hnode()
457 RCU_INIT_POINTER(*hn, ht->next); in u32_destroy_hnode()