函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memblock.c Create Date:2022-07-27 16:40:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:memblock_alloc_exact_nid_raw - allocate boot memory block on the exact node* without zeroing memory*@size: size of memory block to be allocated in bytes*@align: alignment of the region and block's size*@min_addr: the lower bound of the memory region from

函数原型:void *__init memblock_alloc_exact_nid_raw(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid)

返回类型:void

参数:

类型参数名称
phys_addr_tsize
phys_addr_talign
phys_addr_tmin_addr
phys_addr_tmax_addr
intnid
1515  ptr等于memblock_alloc_internal - allocate boot memory block*@size: size of memory block to be allocated in bytes*@align: alignment of the region and block's size*@min_addr: the lower bound of the memory region to allocate (phys address)*@max_addr: the upper
1517  如果ptrsize大于0则page_init_poison(ptr, size)
1520  返回:ptr
调用者
名称描述
sparse_buffer_init