函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\setup_percpu.c Create Date:2022-07-27 09:25:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pcpu_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

函数原型:static void *__init pcpu_alloc_bootmem(unsigned int cpu, unsigned long size, unsigned long align)

返回类型:void

参数:

类型参数名称
unsigned intcpu
unsigned longsize
unsigned longalign
103  goal等于__pa(The maximum address that we can perform a DMA transfer to on this platform )
124  返回:memblock_alloc_from(size, align, goal)
调用者
名称描述
pcpu_fc_allocHelpers for first chunk memory allocation