Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\fixmap.h Create Date:2022-07-28 05:48:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:'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.

Proto:static __always_inline unsigned long fix_to_virt(const unsigned int idx)

Type:unsigned long

Parameter:

TypeParameterName
const unsigned intidx
32  BUILD_BUG_ON - break compile if a condition is true(idx >= __end_of_fixed_addresses)
33  Return __fix_to_virt(idx)
Caller
NameDescribe
tboot_probe
early_iounmap