Searched refs:gc (Results 1 – 3 of 3) sorted by relevance
206 gc = __atomic_load_n(&pool->gc, __ATOMIC_RELAXED); in mlx5_ipool_update_global_cache()207 if (gc && lc != gc) { in mlx5_ipool_update_global_cache()319 if (pool->gc && (lc != pool->gc || in mlx5_ipool_allocate_from_global()480 gc = pool->gc; in _mlx5_ipool_free_cache()487 memcpy(&gc->idx[gc->len], &ilc->idx[ilc->len], in _mlx5_ipool_free_cache()685 struct mlx5_indexed_cache *gc = pool->gc; in mlx5_ipool_destroy() local704 if (gc) { in mlx5_ipool_destroy()709 gc = NULL; in mlx5_ipool_destroy()719 if (gc) in mlx5_ipool_destroy()736 gc = pool->gc; in mlx5_ipool_flush_cache()[all …]
261 struct mlx5_indexed_cache *gc; member
19 struct mlx5_list_cache *gc) in mlx5_list_init() argument23 l_inconst->cache[MLX5_LIST_GLOBAL] = gc; in mlx5_list_init()38 struct mlx5_list_cache *gc = NULL; in mlx5_list_create() local46 sizeof(*list) + (lcores_share ? sizeof(*gc) : 0), in mlx5_list_create()63 gc = (struct mlx5_list_cache *)(list + 1); in mlx5_list_create()64 if (mlx5_list_init(&list->l_inconst, &list->l_const, gc) != 0) { in mlx5_list_create()396 struct mlx5_list_cache *gc; in mlx5_hlist_create() local438 gc = (struct mlx5_list_cache *)&h->buckets[act_size]; in mlx5_hlist_create()441 lcores_share ? &gc[i] : NULL) != 0) { in mlx5_hlist_create()