Searched refs:new_cache (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/md/dm-pcache/ |
| H A D | cache.c | 195 bool new_cache = !(cache->cache_info.flags & PCACHE_CACHE_FLAGS_INIT_DONE); in cache_tail_init() local 197 if (new_cache) { in cache_tail_init() 219 bool new_cache, u32 *seg_id) in get_seg_id() argument 225 if (new_cache) { in get_seg_id() 259 bool new_cache = !(cache->cache_info.flags & PCACHE_CACHE_FLAGS_INIT_DONE); in cache_segs_init() local 265 ret = get_seg_id(cache, prev_cache_seg, new_cache, &seg_id); in cache_segs_init() 269 ret = cache_seg_init(cache, seg_id, i, new_cache); in cache_segs_init()
|
| H A D | cache_segment.c | 183 bool new_cache) in cache_seg_init() argument 206 if (new_cache) { in cache_seg_init()
|
| H A D | cache.h | 336 bool new_cache);
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | 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()
|
| /linux/arch/powerpc/kernel/ |
| H A 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/drivers/acpi/apei/ |
| H A D | ghes.c | 1095 struct ghes_estatus_cache *cache, *new_cache; in ghes_estatus_cache_add() local 1099 new_cache = ghes_estatus_cache_alloc(generic, estatus); in ghes_estatus_cache_add() 1100 if (!new_cache) in ghes_estatus_cache_add() 1133 RCU_INITIALIZER(new_cache)); in ghes_estatus_cache_add()
|