Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-28 13:45:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__find_uprobe

Proto:static struct uprobe *__find_uprobe(struct inode *inode, loff_t offset)

Type:struct uprobe

Parameter:

TypeParameterName
struct inode *inode
loff_toffset
641  struct uprobe u = { Also hold a ref to inode = inode, offset = offset}
642  n = rb_node
646  When n cycle
647  uprobe = rb_entry(n, structuprobe, rb_node)
648  match = match_uprobe( & u, uprobe)
649  If Not match Then Return get_uprobe(uprobe)
652  If match < 0 Then n = rb_left
654  Else n = rb_right
657  Return NULL
Caller
NameDescribe
find_uprobeFind a uprobe corresponding to a given inode:offset* Acquires uprobes_treelock