Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vma_interval_tree_subtree_search

Proto:static struct vm_area_struct *vma_interval_tree_subtree_search(struct vm_area_struct *node, unsigned long start, unsigned long last)

Type:struct vm_area_struct

Parameter:

TypeParameterName
struct vm_area_struct *node
unsigned longstart
unsigned longlast
25  When (true) cycle
25  If rb_left Then
25  struct vm_area_struct * left = ({
25  __mptr = rb_left
25  Do
25  When 0 cycle
25  })
25  If start <= rb_subtree_last Then
25  node = left
25  Continue
25  If vma_start_pgoff(node) <= last Then
25  If start <= vma_last_pgoff(node) Then Return node
25  If rb_right Then
25  node = ({
25  __mptr = rb_right
25  Do
25  When 0 cycle
25  })
25  If start <= rb_subtree_last Then Continue
25  Return NULL
Caller
NameDescribe
vma_interval_tree_iter_first
vma_interval_tree_iter_next