Searched refs:pattern_cache (Results 1 – 3 of 3) sorted by relevance
218 struct mlx5hws_pattern_cache *cache = ctx->pattern_cache; in mlx5hws_pat_put_pattern()248 mutex_lock(&ctx->pattern_cache->lock); in mlx5hws_pat_get_pattern()250 cached_pattern = mlx5hws_pat_get_existing_cached_pattern(ctx->pattern_cache, in mlx5hws_pat_get_pattern()267 cached_pattern = mlx5hws_pat_add_pattern_to_cache(ctx->pattern_cache, in mlx5hws_pat_get_pattern()277 mutex_unlock(&ctx->pattern_cache->lock); in mlx5hws_pat_get_pattern()285 mutex_unlock(&ctx->pattern_cache->lock); in mlx5hws_pat_get_pattern()
28 ret = mlx5hws_pat_init_pattern_cache(&ctx->pattern_cache); in hws_context_pools_init()61 mlx5hws_pat_uninit_pattern_cache(ctx->pattern_cache); in hws_context_pools_init()75 mlx5hws_pat_uninit_pattern_cache(ctx->pattern_cache); in hws_context_pools_uninit()
42 struct mlx5hws_pattern_cache *pattern_cache; member