函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Given @asid, compute kPCID

函数原型:static inline u16 kern_pcid(u16 asid)

返回类型:u16

参数:

类型参数名称
u16asid
77  VM_WARN_ON_ONCE(asid > ASIDs are zero-based: 0->MAX_AVAIL_ASID are valid. -1 below to account* for them being zero-based. Another -1 is because PCID 0 is reserved for* use by non-PCID-aware users.)
105  返回:asid加1
调用者
名称描述
user_pcidGiven @asid, compute uPCID
build_cr3
build_cr3_noflush
invalidate_user_asidGiven an ASID, flush the corresponding user ASID. We can delay this* until the next time we switch to it.* See SWITCH_TO_USER_CR3.