Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\interval_tree.c Create Date:2022-07-28 14:31:45
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_first

Proto:struct vm_area_struct *vma_interval_tree_iter_first(struct rb_root_cached *root, unsigned long start, unsigned long last)

Type:struct vm_area_struct

Parameter:

TypeParameterName
struct rb_root_cached *root
unsigned longstart
unsigned longlast
25  If Not rb_node Then Return NULL
25  node = ({
25  __mptr = rb_node
25  Do
25  When 0 cycle
25  __mptr - __builtin_offsetof(structvm_area_struct, rb)
25  })
25  If rb_subtree_last < start Then Return NULL
25  leftmost = ({
25  __mptr = rb_leftmost
25  Do
25  When 0 cycle
25  __mptr - __builtin_offsetof(structvm_area_struct, rb)
25  })
25  If vma_start_pgoff(leftmost) > last Then Return NULL
25  Return vma_interval_tree_subtree_search(node, start, last)