Home
last modified time | relevance | path

Searched refs:new_memtier (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/
H A Dmemory-tiers.c166 struct memory_tier *memtier, *new_memtier; in find_create_memory_tier() local
196 if (!new_memtier) in find_create_memory_tier()
199 new_memtier->adistance_start = adistance; in find_create_memory_tier()
200 INIT_LIST_HEAD(&new_memtier->list); in find_create_memory_tier()
201 INIT_LIST_HEAD(&new_memtier->memory_types); in find_create_memory_tier()
208 new_memtier->dev.bus = &memory_tier_subsys; in find_create_memory_tier()
210 new_memtier->dev.groups = memtier_dev_groups; in find_create_memory_tier()
212 ret = device_register(&new_memtier->dev); in find_create_memory_tier()
214 list_del(&new_memtier->list); in find_create_memory_tier()
215 put_device(&new_memtier->dev); in find_create_memory_tier()
[all …]