函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\bugs.c Create Date:2022-07-27 08:56:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:arch_prctl_spec_ctrl_get

函数原型:int arch_prctl_spec_ctrl_get(struct task_struct *task, unsigned long which)

返回类型:int

参数:

类型参数名称
struct task_struct *task
unsigned longwhich
1264  :which恒等于Speculation control variants
1265  返回:ssb_prctl_get(task)
1266  :which恒等于PR_SPEC_INDIRECT_BRANCH
1267  返回:ib_prctl_get(task)
1268  默认
1269  返回:负ENODEV