Searched refs:online_type (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/base/ |
D | memory.c | 198 zone = zone_for_pfn_range(mem->online_type, mem->nid, mem->group, in memory_block_online() 359 if (mem->online_type == MMOP_OFFLINE) in memory_subsys_online() 360 mem->online_type = MMOP_ONLINE; in memory_subsys_online() 363 mem->online_type = MMOP_OFFLINE; in memory_subsys_online() 381 const int online_type = mhp_online_type_from_str(buf); in state_store() local 385 if (online_type < 0) in state_store() 392 switch (online_type) { in state_store() 397 mem->online_type = online_type; in state_store() 438 int online_type, struct zone *default_zone) in print_allowed_zone() argument 442 zone = zone_for_pfn_range(online_type, nid, group, start_pfn, nr_pages); in print_allowed_zone() [all …]
|
/linux-6.12.1/mm/ |
D | memory_hotplug.c | 230 const int online_type = mhp_online_type_from_str(str); in setup_memhp_default_state() local 232 if (online_type >= 0) in setup_memhp_default_state() 233 mhp_default_online_type = online_type; in setup_memhp_default_state() 1043 struct zone *zone_for_pfn_range(int online_type, int nid, in zone_for_pfn_range() argument 1047 if (online_type == MMOP_ONLINE_KERNEL) in zone_for_pfn_range() 1050 if (online_type == MMOP_ONLINE_MOVABLE) in zone_for_pfn_range() 1323 mem->online_type = mhp_default_online_type; in online_memory_block() 2327 uint8_t online_type = MMOP_ONLINE_KERNEL; in try_offline_memory_block() local 2339 online_type = MMOP_ONLINE_MOVABLE; in try_offline_memory_block() 2347 **online_types = online_type; in try_offline_memory_block() [all …]
|
/linux-6.12.1/Documentation/translations/zh_CN/core-api/ |
D | memory-hotplug.rst | 115 sysfs进行的操作正确同步。建议持有device_hotplug_lock(例如,保护online_type)。
|
/linux-6.12.1/include/linux/ |
D | memory.h | 70 int online_type; /* for passing data to online routine */ member
|
D | memory_hotplug.h | 327 extern struct zone *zone_for_pfn_range(int online_type, int nid,
|
/linux-6.12.1/Documentation/core-api/ |
D | memory-hotplug.rst | 112 via sysfs. Holding device_hotplug_lock is advised (to e.g. protect online_type)
|