函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rseq.c Create Date:2022-07-27 15:12:34
Last Modify:2022-05-20 08:09:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Restartable sequences are a lightweight interface that allows* user-level code to be executed atomically relative to scheduler* preemption and signal delivery

函数原型:static int rseq_update_cpu_id(struct task_struct *t)

返回类型:int

参数:

类型参数名称
struct task_struct *t
86  cpu_id等于These macros fold the SMP functionality into a single CPU system()
88  如果put_user - Write a simple value into user space(cpu_id, & cpu_id_start)则返回:负EFAULT
90  如果put_user - Write a simple value into user space(cpu_id, & cpu_id)则返回:负EFAULT
92  trace_rseq_update(t)
93  返回:0
调用者
名称描述
__rseq_handle_notify_resumeThis resume handler must always be executed between any of:* - preemption,* - signal delivery,* and return to user-space