函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-27 15:06:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:For uprobe @uprobe, delete the consumer @uc.* Return true if the @uc is deleted successfully* or return false.

函数原型:static bool consumer_del(struct uprobe *uprobe, struct uprobe_consumer *uc)

返回类型:bool

参数:

类型参数名称
struct uprobe *uprobe
struct uprobe_consumer *uc
782  bool ret = false
784  lock for writing
785 con循环
786  如果con恒等于uc
787  con等于next
788  ret = true
789  退出
792  lease a write lock
794  返回:ret
调用者
名称描述
__uprobe_unregister