Searched refs:online_type (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/base/
H A Dmemory.c198 zone = zone_for_pfn_range(mem->online_type, mem->nid, mem->group,
356 * When called via device_online() without configuring the online_type,
359 if (mem->online_type == MMOP_OFFLINE)
360 mem->online_type = MMOP_ONLINE;
363 mem->online_type = MMOP_OFFLINE;
381 const int online_type = mhp_online_type_from_str(buf); local
385 if (online_type < 0)
392 switch (online_type) {
396 /* mem->online_type is protected by device_hotplug_lock */
397 mem->online_type
435 print_allowed_zone(char *buf, int len, int nid, struct memory_group *group, unsigned long start_pfn, unsigned long nr_pages, int online_type, struct zone *default_zone) argument
522 const int online_type = mhp_online_type_from_str(buf); local
[all...]
/linux-master/include/linux/
H A Dmemory.h70 int online_type; /* for passing data to online routine */ member in struct:memory_block
H A Dmemory_hotplug.h195 /* Default online_type (MMOP_*) when new memory blocks are added. */
375 extern struct zone *zone_for_pfn_range(int online_type, int nid,
/linux-master/mm/
H A Dmemory_hotplug.c230 const int online_type = mhp_online_type_from_str(str); local
232 if (online_type >= 0)
233 mhp_default_online_type = online_type;
1048 struct zone *zone_for_pfn_range(int online_type, int nid, argument
1052 if (online_type == MMOP_ONLINE_KERNEL)
1055 if (online_type == MMOP_ONLINE_MOVABLE)
1324 mem->online_type = mhp_default_online_type;
2337 uint8_t online_type = MMOP_ONLINE_KERNEL; local
2343 * Sense the online_type via the zone of the memory block. Offlining
2349 online_type
[all...]

Completed in 258 milliseconds