Searched refs:new_cache (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
D | mlx5hws_pat_arg.c | 79 struct mlx5hws_pattern_cache *new_cache; in mlx5hws_pat_init_pattern_cache() local 81 new_cache = kzalloc(sizeof(*new_cache), GFP_KERNEL); in mlx5hws_pat_init_pattern_cache() 82 if (!new_cache) in mlx5hws_pat_init_pattern_cache() 85 INIT_LIST_HEAD(&new_cache->ptrn_list); in mlx5hws_pat_init_pattern_cache() 86 mutex_init(&new_cache->lock); in mlx5hws_pat_init_pattern_cache() 88 *cache = new_cache; in mlx5hws_pat_init_pattern_cache()
|
D | mlx5hws_definer.c | 1956 struct mlx5hws_definer_cache *new_cache; in mlx5hws_definer_init_cache() local 1958 new_cache = kzalloc(sizeof(*new_cache), GFP_KERNEL); in mlx5hws_definer_init_cache() 1959 if (!new_cache) in mlx5hws_definer_init_cache() 1962 INIT_LIST_HEAD(&new_cache->list_head); in mlx5hws_definer_init_cache() 1963 *cache = new_cache; in mlx5hws_definer_init_cache()
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | cacheinfo.c | 155 static struct cache *new_cache(int type, int level, in new_cache() function 366 return new_cache(cache_is_unified_d(node), level, node, group_id); in cache_do_one_devnode_unified() 377 dcache = new_cache(CACHE_TYPE_DATA, level, node, group_id); in cache_do_one_devnode_split() 378 icache = new_cache(CACHE_TYPE_INSTRUCTION, level, node, group_id); in cache_do_one_devnode_split()
|
/linux-6.12.1/drivers/acpi/apei/ |
D | ghes.c | 929 struct ghes_estatus_cache *cache, *new_cache; in ghes_estatus_cache_add() local 933 new_cache = ghes_estatus_cache_alloc(generic, estatus); in ghes_estatus_cache_add() 934 if (!new_cache) in ghes_estatus_cache_add() 967 RCU_INITIALIZER(new_cache)); in ghes_estatus_cache_add()
|