函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\percpu-vm.c Create Date:2022-07-27 15:51:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__pcpu_map_pages

函数原型:static int __pcpu_map_pages(unsigned long addr, struct page **pages, int nr_pages)

返回类型:int

参数:

类型参数名称
unsigned longaddr
struct page **pages
intnr_pages
195  返回:map_kernel_range_noflush(addr, nr_pages << PAGE_SHIFT determines the page size , PAGE_KERNEL, pages)
调用者
名称描述
pcpu_map_pagespcpu_map_pages - map pages into a pcpu_chunk*@chunk: chunk of interest*@pages: pages array containing pages to be mapped*@page_start: page index of the first page to map*@page_end: page index of the last page to map + 1