函数逻辑报告 |
Source Code:include\linux\memblock.h |
Create Date:2022-07-27 07:13:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:memblock_alloc
函数原型:static inline void *__init memblock_alloc(phys_addr_t size, phys_addr_t align)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
phys_addr_t | size | |
phys_addr_t | align |
373 | 返回:memblock_alloc_try_nid(size, align, We are using top down, so it is safe to use 0 here , MEMBLOCK_ALLOC_ACCESSIBLE, NUMA_NO_NODE) |
名称 | 描述 |
---|---|
e820__reserve_resources | |
ioapic_setup_resources | |
io_apic_init_mappings | |
__register_nosave_region | gister_nosave_region - Register a region of unsaveable memory.* Register a range of page frames the contents of which should not be saved* during hibernation (to be used in the early initialization code). |
setup_log_buf | 日志缓冲设置 |
swiotlb_init_with_tbl | |
setup_command_line | 保存未改变的comand_line到字符数组static_command_line中 |
pcpu_alloc_first_chunk | pcpu_alloc_first_chunk - creates chunks that serve the first chunk*@tmp_addr: the start of the region served*@map_size: size of the region served* This is responsible for creating the chunks that serve the first chunk |
pcpu_alloc_alloc_info | pcpu_alloc_alloc_info - allocate percpu allocation info*@nr_groups: the number of groups*@nr_units: the number of units* Allocate ai which is large enough for @nr_groups groups containing*@nr_units units |
pcpu_setup_first_chunk | pcpu_setup_first_chunk - initialize the first percpu chunk*@ai: pcpu_alloc_info describing how to percpu area is shaped*@base_addr: mapped address* Initialize the first percpu chunk which contains the kernel static* percpu area |
alloc_large_system_hash | allocate a large system hash table from bootmem* - it is assumed that the hash table must contain an exact power-of-2* quantity of entries* - limit is the number of hash buckets, not the total allocation size |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |