Searched refs:new_memtier (Results 1 – 1 of 1) sorted by relevance
201 struct memory_tier *memtier, *new_memtier; in find_create_memory_tier() local230 new_memtier = kzalloc(sizeof(struct memory_tier), GFP_KERNEL); in find_create_memory_tier()231 if (!new_memtier) in find_create_memory_tier()234 new_memtier->adistance_start = adistance; in find_create_memory_tier()235 INIT_LIST_HEAD(&new_memtier->list); in find_create_memory_tier()236 INIT_LIST_HEAD(&new_memtier->memory_types); in find_create_memory_tier()238 list_add_tail(&new_memtier->list, &memtier->list); in find_create_memory_tier()240 list_add_tail(&new_memtier->list, &memory_tiers); in find_create_memory_tier()242 new_memtier->dev.id = adistance >> MEMTIER_CHUNK_BITS; in find_create_memory_tier()243 new_memtier->dev.bus = &memory_tier_subsys; in find_create_memory_tier()[all …]