函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kprobes.c Create Date:2022-07-27 12:39:33
Last Modify:2022-05-22 18:14:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Return error if the kprobe is being re-registered

函数原型:static inline int check_kprobe_rereg(struct kprobe *p)

返回类型:int

参数:

类型参数名称
struct kprobe *p
1520  ret等于0
1522  mutex_lock( & This protects kprobe_table and optimizing_list )
1523  如果Check passed kprobe is valid and return kprobe in kprobe_table. ret等于负EINVAL
1525  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
1527  返回:ret
调用者
名称描述
register_kprobe