Searched refs:pool_pattern (Results 1 – 1 of 1) sorted by relevance
328 struct mlx5hws_action_mh_pattern *pool_pattern; in mlx5_fs_hws_mh_pool_init() local330 pool_pattern = kzalloc(sizeof(*pool_pattern), GFP_KERNEL); in mlx5_fs_hws_mh_pool_init()331 if (!pool_pattern) in mlx5_fs_hws_mh_pool_init()333 pool_pattern->data = kmemdup(pattern->data, pattern->sz, GFP_KERNEL); in mlx5_fs_hws_mh_pool_init()334 if (!pool_pattern->data) { in mlx5_fs_hws_mh_pool_init()335 kfree(pool_pattern); in mlx5_fs_hws_mh_pool_init()338 pool_pattern->sz = pattern->sz; in mlx5_fs_hws_mh_pool_init()340 pool_pattern); in mlx5_fs_hws_mh_pool_init()346 struct mlx5hws_action_mh_pattern *pool_pattern; in mlx5_fs_hws_mh_pool_cleanup() local349 pool_pattern = fs_hws_mh_pool->pool_ctx; in mlx5_fs_hws_mh_pool_cleanup()[all …]