Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vma_interval_tree_iter_next

Proto:struct vm_area_struct *vma_interval_tree_iter_next(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  rb = rb_right
25  When (true) cycle
25  If rb Then
25  struct vm_area_struct * right = ({
25  __mptr = rb
25  Do
25  When 0 cycle
25  })
25  Do
25  rb = __rb_parent_color & ~3
25  If Not rb Then Return NULL
25  prev = rb
25  node = ({
25  __mptr = rb
25  Do
25  When 0 cycle
25  })
25  rb = rb_right
25  When prev == rb cycle
25  If last < vma_start_pgoff(node) Then Return NULL
25  Else if start <= vma_last_pgoff(node) Then Return node