函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pcpu_block_off_to_off

函数原型:static unsigned long pcpu_block_off_to_off(int index, int off)

返回类型:unsigned long

参数:

类型参数名称
intindex
intoff
322  返回:indexPCPU_BITMAP_BLOCK_BITSoff
调用者
名称描述
pcpu_next_md_free_regionpcpu_next_md_free_region - finds the next hint free area*@chunk: chunk of interest*@bit_off: chunk offset*@bits: size of free area* Helper function for pcpu_for_each_md_free_region
pcpu_next_fit_regionpcpu_next_fit_region - finds fit areas for a given allocation request*@chunk: chunk of interest*@alloc_bits: size of allocation*@align: alignment of area (max PAGE_SIZE)*@bit_off: chunk offset*@bits: size of free area* Finds the next free region that is
pcpu_block_update_hint_freepcpu_block_update_hint_free - updates the block hints on the free path*@chunk: chunk of interest*@bit_off: chunk offset*@bits: size of request* Updates metadata for the allocation path. This avoids a blind block