Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pcpu_unit_page_offset

Proto:static unsigned long pcpu_unit_page_offset(unsigned int cpu, int page_idx)

Type:unsigned long

Parameter:

TypeParameterName
unsigned intcpu
intpage_idx
263  Return pcpu_unit_offsets[cpu] + (page_idx << PAGE_SHIFT determines the page size )
Caller
NameDescribe
pcpu_chunk_addr
per_cpu_ptr_to_physper_cpu_ptr_to_phys - convert translated percpu address to physical address*@addr: the address to be converted to physical address* Given @addr which is dereferenceable address obtained via one of* percpu access macros, this function translates it into