Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c308 struct fs_chain *chain_s = NULL; in mlx5_chains_create_chain() local
311 chain_s = kvzalloc(sizeof(*chain_s), GFP_KERNEL); in mlx5_chains_create_chain()
312 if (!chain_s) in mlx5_chains_create_chain()
315 chain_s->chains = chains; in mlx5_chains_create_chain()
316 chain_s->chain = chain; in mlx5_chains_create_chain()
317 INIT_LIST_HEAD(&chain_s->prios_list); in mlx5_chains_create_chain()
319 err = create_chain_restore(chain_s); in mlx5_chains_create_chain()
323 err = rhashtable_insert_fast(&chains_ht(chains), &chain_s->node, in mlx5_chains_create_chain()
328 return chain_s; in mlx5_chains_create_chain()
331 destroy_chain_restore(chain_s); in mlx5_chains_create_chain()
[all …]