Function report |
Source Code:mm\memory_hotplug.c |
Create Date:2022-07-28 15:56:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_hotplug_memory_range
Proto:static int check_hotplug_memory_range(u64 start, u64 size)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
u64 | start | |
u64 | size |
1013 | If Not size || Not IS_ALIGNED(start, memory_block_size_bytes()) || Not IS_ALIGNED(size, memory_block_size_bytes()) Then |
1015 | pr_err("Block size [%#lx] unaligned hotplug range: start %#llx, size %#llx", memory_block_size_bytes(), start, size) |
1017 | Return -EINVAL |
1020 | Return 0 |
Name | Describe |
---|---|
add_memory_resource | NOTE: The caller must call lock_device_hotplug() to serialize hotplug* and online/offline operations (triggered e.g. by sysfs).* we are OK calling __meminit stuff here - we have CONFIG_MEMORY_HOTPLUG |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |