Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sys.c Create Date:2022-07-28 09:21:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:SYSCALL_DEFINE3

Proto:SYSCALL_DEFINE3(getcpu, unsigned __user *, cpup, unsigned __user *, nodep, struct getcpu_cache __user *, unused)

Type:

Parameter:Nothing

2501  err = 0
2502  cpu = These macros fold the SMP functionality into a single CPU system()
2504  If cpup Then err |= Write a simple value into user space(cpu, cpup)
2506  If nodep Then err |= Write a simple value into user space(cpu_to_node(cpu), nodep)
2508  Return If err Then -EFAULT Else 0