函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rseq_ip_fixup

函数原型:static int rseq_ip_fixup(struct pt_regs *regs)

返回类型:int

参数:

类型参数名称
struct pt_regs *regs
223  ip等于instruction_pointer(regs)
224  t等于当前进程
228  ret等于rseq_get_rseq_cs(t, & rseq_cs)
229  如果ret则返回:ret
237  如果非Unsigned comparison will be true when ip >= start_ip, and when* ip < start_ip + post_commit_offset.则返回:clear_rseq_cs(t)
239  ret等于rseq_need_restart(t, um rseq_cs_flags )
240  如果ret小于等于0则返回:ret
242  ret等于clear_rseq_cs(t)
243  如果ret则返回:ret
245  trace_rseq_ip_fixup(ip, start_ip, Offset from start_ip. , abort_ip)
247  instruction_pointer_set(regs, (unsignedlong)abort_ip)
248  返回:0
调用者
名称描述
__rseq_handle_notify_resumeThis resume handler must always be executed between any of:* - preemption,* - signal delivery,* and return to user-space