函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\process.c Create Date:2022-07-27 08:48:54
Last Modify:2020-03-16 17:03:44 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:do_arch_prctl_common

函数原型:long do_arch_prctl_common(struct task_struct *task, int option, unsigned long cpuid_enabled)

返回类型:long

参数:

类型参数名称
struct task_struct *task
intoption
unsigned longcpuid_enabled
989  :option恒等于ARCH_GET_CPUID
990  返回:get_cpuid_mode()
991  :option恒等于ARCH_SET_CPUID
992  返回:set_cpuid_mode(task, cpuid_enabled)
995  返回:负EINVAL