函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\percpu.c Create Date:2022-07-27 15:50:03
Last Modify:2022-05-23 13:52:24 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pcpu_unit_page_offset

函数原型:static unsigned long pcpu_unit_page_offset(unsigned int cpu, int page_idx)

返回类型:unsigned long

参数:

类型参数名称
unsigned intcpu
intpage_idx
263  返回:pcpu_unit_offsets[cpu]加page_idx左移PAGE_SHIFT determines the page size 位的值
调用者
名称描述
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