函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sys.c Create Date:2022-07-27 10:21:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:SYSCALL_DEFINE3

函数原型:SYSCALL_DEFINE3(getcpu, unsigned __user *, cpup, unsigned __user *, nodep, struct getcpu_cache __user *, unused)

返回类型:

参数:

2501  err等于0
2502  cpu等于These macros fold the SMP functionality into a single CPU system()
2504  如果cpuperr或等于put_user - Write a simple value into user space(cpu, cpup)
2506  如果nodeperr或等于put_user - Write a simple value into user space(cpu_to_node(cpu), nodep)
2508  返回:如果err则负EFAULT否则0