函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mm/percpu-vm.c - vmalloc area based chunk allocation* Copyright (C) 2010 SUSE Linux Products GmbH* Copyright (C) 2010 Tejun Heo <tj@kernel.org>* Chunks are mapped into vmalloc areas and populated page by page.* This is the default chunk allocator.

函数原型:static struct page *pcpu_chunk_page(struct pcpu_chunk *chunk, unsigned int cpu, int page_idx)

返回类型:struct page

参数:

类型参数名称
struct pcpu_chunk *chunk
unsigned intcpu
intpage_idx
16  WARN_ON( no [de]population allowed )
18  返回:Support for virtually mapped pages
调用者
名称描述
pcpu_unmap_pagespcpu_unmap_pages - unmap pages out of a pcpu_chunk*@chunk: chunk of interest*@pages: pages array which can be used to pass information to free*@page_start: page index of the first page to unmap*@page_end: page index of the last page to unmap + 1