Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dmemory-tiers.c38 static struct node_memory_type_map node_memory_types[MAX_NUMNODES]; variable
459 if (!node_memory_types[node].memtype) in __init_node_memory_type()
460 node_memory_types[node].memtype = memtype; in __init_node_memory_type()
469 if (node_memory_types[node].memtype == memtype) { in __init_node_memory_type()
470 if (!node_memory_types[node].map_count++) in __init_node_memory_type()
489 memtype = node_memory_types[node].memtype; in set_node_memory_tier()
527 memtype = node_memory_types[node].memtype; in clear_node_memory_tier()
581 if (node_memory_types[node].memtype == memtype) in clear_node_memory_type()
582 node_memory_types[node].map_count--; in clear_node_memory_type()
587 if (!node_memory_types[node].map_count) { in clear_node_memory_type()
[all …]