Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fei_kprobe_handler

Proto:static int fei_kprobe_handler(struct kprobe *kp, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
struct kprobe *kp
struct pt_regs *regs
174  attr = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(kp, structfei_attr, kp)
176  If This code is stolen from failmalloc-1.0* http://www.nongnu.org/failmalloc/ Then
177  regs_set_return_value(regs, retval)
178  override_function_with_return(regs)
179  Return 1
182  Return 0