函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:arch_prctl_spec_ctrl_set

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

返回类型:int

参数:

类型参数名称
struct task_struct *task
unsigned longwhich
unsigned longctrl
1198  :which恒等于Speculation control variants
1199  返回:ssb_prctl_set(task, ctrl)
1200  :which恒等于PR_SPEC_INDIRECT_BRANCH
1201  返回:ib_prctl_set(task, ctrl)
1202  默认
1203  返回:负ENODEV