Searched refs:online_type (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/base/ |
D | memory.c | 178 int online_type, int nid) in memory_block_action() argument 188 ret = online_pages(start_pfn, nr_pages, online_type, nid); in memory_block_action() 214 mem->online_type, mem->nid); in memory_block_change_state() 234 if (mem->online_type == MMOP_OFFLINE) in memory_subsys_online() 235 mem->online_type = MMOP_ONLINE; in memory_subsys_online() 238 mem->online_type = MMOP_OFFLINE; in memory_subsys_online() 256 const int online_type = memhp_online_type_from_str(buf); in state_store() local 260 if (online_type < 0) in state_store() 267 switch (online_type) { in state_store() 272 mem->online_type = online_type; in state_store() [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | memory_hotplug.c | 78 const int online_type = memhp_online_type_from_str(str); in setup_memhp_default_state() local 80 if (online_type >= 0) in setup_memhp_default_state() 81 memhp_default_online_type = online_type; in setup_memhp_default_state() 769 struct zone *zone_for_pfn_range(int online_type, int nid, in zone_for_pfn_range() argument 772 if (online_type == MMOP_ONLINE_KERNEL) in zone_for_pfn_range() 775 if (online_type == MMOP_ONLINE_MOVABLE) in zone_for_pfn_range() 782 int online_type, int nid) in online_pages() argument 798 zone = zone_for_pfn_range(online_type, nid, pfn, nr_pages); in online_pages() 1015 mem->online_type = memhp_default_online_type; in online_memory_block()
|
/kernel/linux/linux-5.10/include/linux/ |
D | memory.h | 29 int online_type; /* for passing data to online routine */ member
|
D | memory_hotplug.h | 116 int online_type, int nid); 362 extern struct zone *zone_for_pfn_range(int online_type, int nid,
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | memory-hotplug.rst | 115 via sysfs. Holding device_hotplug_lock is advised (to e.g. protect online_type)
|
/kernel/linux/linux-5.10/Documentation/admin-guide/mm/ |
D | memory-hotplug.rst | 422 via sysfs. Holding device_hotplug_lock is advised (to e.g. protect online_type)
|