函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\fixmap.h Create Date:2022-07-27 06:49:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:'index to address' translation. If anyone tries to use the idx* directly without translation, we catch the bug with a NULL-deference* kernel oops. Illegal ranges of incoming indices are caught too.

函数原型:static __always_inline unsigned long fix_to_virt(const unsigned int idx)

返回类型:unsigned long

参数:

类型参数名称
const unsigned intidx
32  BUILD_BUG_ON - break compile if a condition is true(idx >= __end_of_fixed_addresses)
33  返回:__fix_to_virt(idx)
调用者
名称描述
tboot_probe
early_iounmap