函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pcpu_nr_pages_to_map_bits - converts the pages to size of bitmap*@pages: number of physical pages* This conversion is from physical pages to the number of bits* required in the bitmap.

函数原型:static inline int pcpu_nr_pages_to_map_bits(int pages)

返回类型:int

参数:

类型参数名称
intpages
94  返回:pagesPAGE_SIZEPCPU_MIN_ALLOC_SIZE
调用者
名称描述
pcpu_chunk_map_bitspcpu_chunk_map_bits - helper to convert nr_pages to size of bitmap*@chunk: chunk of interest* This conversion is from the number of physical pages that the chunk* serves to the number of bits in the bitmap.