Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\percpu.c Create Date:2022-07-28 14:27:21
Last Modify:2022-05-23 13:52:24 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__alloc_percpu_gfp - allocate dynamic percpu area*@size: size of area to allocate in bytes*@align: alignment of area (max PAGE_SIZE)*@gfp: allocation flags* Allocate zero-filled percpu area of @size bytes aligned at @align

Proto:void __percpu *__alloc_percpu_gfp(size_t size, size_t align, gfp_t gfp)

Type:void

Parameter:

TypeParameterName
size_tsize
size_talign
gfp_tgfp
1783  Return pcpu_alloc - the percpu allocator*@size: size of area to allocate in bytes*@align: alignment of area (max PAGE_SIZE)*@reserved: allocate from the reserved chunk if available*@gfp: allocation flags* Allocate percpu area of @size bytes aligned at @align
Caller
NameDescribe
alloc_extra_elems
alloc_htab_elem
bpf_array_alloc_percpu
bpf_cgroup_storage_alloc
__dev_map_alloc_node
__cpu_map_entry_alloc