Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vma_has_uprobes

Proto:static bool vma_has_uprobes(struct vm_area_struct *vma, unsigned long start, unsigned long end)

Type:bool

Parameter:

TypeParameterName
struct vm_area_struct *vma
unsigned longstart
unsigned longend
1411  inode = file_inode(File we map to (can be NULL). )
1413  min = vaddr_to_offset(vma, start)
1414  max = min + end - start - 1
1416  spin_lock( & uprobes_treelock)
1417  n = find_node_in_range(inode, min, max)
1418  spin_unlock( & uprobes_treelock)
1420  Return Not Not n
Caller
NameDescribe
uprobe_munmapCalled in context of a munmap of a vma.
mmf_recalc_uprobes