Home
last modified time | relevance | path

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

/linux/drivers/base/
A Dmemory.c307 if (mem->online_type == MMOP_OFFLINE) in memory_subsys_online()
308 mem->online_type = MMOP_ONLINE; in memory_subsys_online()
311 mem->online_type = MMOP_OFFLINE; in memory_subsys_online()
329 const int online_type = mhp_online_type_from_str(buf); in state_store() local
333 if (online_type < 0) in state_store()
340 switch (online_type) { in state_store()
345 mem->online_type = online_type; in state_store()
386 int online_type, struct zone *default_zone) in print_allowed_zone() argument
471 const int online_type = mhp_online_type_from_str(buf); in auto_online_blocks_store() local
473 if (online_type < 0) in auto_online_blocks_store()
[all …]
/linux/mm/
A Dmemory_hotplug.c154 const int online_type = mhp_online_type_from_str(str); in setup_memhp_default_state() local
156 if (online_type >= 0) in setup_memhp_default_state()
157 mhp_default_online_type = online_type; in setup_memhp_default_state()
977 struct zone *zone_for_pfn_range(int online_type, int nid, in zone_for_pfn_range() argument
981 if (online_type == MMOP_ONLINE_KERNEL) in zone_for_pfn_range()
984 if (online_type == MMOP_ONLINE_MOVABLE) in zone_for_pfn_range()
1293 mem->online_type = mhp_default_online_type; in online_memory_block()
2232 uint8_t online_type = MMOP_ONLINE_KERNEL; in try_offline_memory_block() local
2244 online_type = MMOP_ONLINE_MOVABLE; in try_offline_memory_block()
2252 **online_types = online_type; in try_offline_memory_block()
[all …]
/linux/Documentation/translations/zh_CN/core-api/
A Dmemory-hotplug.rst115 sysfs进行的操作正确同步。建议持有device_hotplug_lock(例如,保护online_type)。
/linux/include/linux/
A Dmemory.h71 int online_type; /* for passing data to online routine */ member
A Dmemory_hotplug.h348 extern struct zone *zone_for_pfn_range(int online_type, int nid,
/linux/Documentation/core-api/
A Dmemory-hotplug.rst112 via sysfs. Holding device_hotplug_lock is advised (to e.g. protect online_type)

Completed in 13 milliseconds