Searched refs:ptrn_list (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ptrn.c | 19 struct list_head ptrn_list; member 59 list_for_each_entry_safe(cached_pattern, tmp, &mgr->ptrn_list, list) { in dr_ptrn_find_cached_pattern() 68 list_add(&cached_pattern->list, &mgr->ptrn_list); in dr_ptrn_find_cached_pattern() 111 list_add(&pattern->list, &mgr->ptrn_list); in dr_ptrn_alloc_pattern() 215 INIT_LIST_HEAD(&mgr->ptrn_list); in mlx5dr_ptrn_mgr_create() 233 WARN_ON(!list_empty(&mgr->ptrn_list)); in mlx5dr_ptrn_mgr_destroy() 235 list_for_each_entry_safe(pattern, tmp, &mgr->ptrn_list, list) { in mlx5dr_ptrn_mgr_destroy()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | mlx5hws_pat_arg.c | 85 INIT_LIST_HEAD(&new_cache->ptrn_list); in mlx5hws_pat_init_pattern_cache() 135 list_for_each_entry(cached_pat, &cache->ptrn_list, ptrn_list_node) { in mlx5hws_pat_find_cached_pattern() 157 list_add(&cached_pattern->ptrn_list_node, &cache->ptrn_list); in mlx5hws_pat_get_existing_cached_pattern() 183 list_add(&cached_pattern->ptrn_list_node, &cache->ptrn_list); in mlx5hws_pat_add_pattern_to_cache() 199 list_for_each_entry(cached_pattern, &cache->ptrn_list, ptrn_list_node) { in mlx5hws_pat_find_cached_pattern_by_id()
|
H A D | mlx5hws_pat_arg.h | 25 struct list_head ptrn_list; member
|