Lines Matching refs:memory_tier
11 struct memory_tier { struct
108 static inline struct memory_tier *to_memory_tier(struct device *device) in to_memory_tier()
110 return container_of(device, struct memory_tier, dev); in to_memory_tier()
113 static __always_inline nodemask_t get_memtier_nodemask(struct memory_tier *memtier) in get_memtier_nodemask()
126 struct memory_tier *tier = to_memory_tier(dev); in memory_tier_device_release()
162 static struct memory_tier *find_create_memory_tier(struct memory_dev_type *memtype) in find_create_memory_tier()
166 struct memory_tier *memtier, *new_memtier; in find_create_memory_tier()
195 new_memtier = kzalloc(sizeof(struct memory_tier), GFP_KERNEL); in find_create_memory_tier()
225 static struct memory_tier *__node_get_memory_tier(int node) in __node_get_memory_tier()
246 struct memory_tier *memtier; in node_is_toptier()
269 struct memory_tier *memtier; in node_get_allowed_targets()
332 struct memory_tier *memtier; in disable_all_demotion_targets()
361 struct memory_tier *memtier; in establish_demotion_targets()
475 static struct memory_tier *set_node_memory_tier(int node) in set_node_memory_tier()
477 struct memory_tier *memtier; in set_node_memory_tier()
497 static void destroy_memory_tier(struct memory_tier *memtier) in destroy_memory_tier()
507 struct memory_tier *memtier; in clear_node_memory_tier()
598 struct memory_tier *memtier; in memtier_hotplug_callback()
630 struct memory_tier *memtier; in memory_tier_init()