函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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
注解内核,赢得工具下载SCCTEnglish

函数名称:memblock_alloc_from

函数原型:static inline void *__init memblock_alloc_from(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr)

返回类型:void

参数:

类型参数名称
phys_addr_tsize
phys_addr_talign
phys_addr_tmin_addr
389  返回:memblock_alloc_try_nid(size, align, min_addr, MEMBLOCK_ALLOC_ACCESSIBLE, NUMA_NO_NODE)
调用者
名称描述
pcpu_alloc_bootmempcpu_alloc_bootmem - NUMA friendly alloc_bootmem wrapper for percpu*@cpu: cpu to allocate for*@size: size allocation in bytes*@align: alignment* Allocate @size bytes aligned at @align for cpu @cpu
setup_per_cpu_areasUP percpu area setup.* UP always uses km-based percpu allocator with identity mapping.* Static percpu variables are indistinguishable from the usual static* variables and don't require any special preparation.