函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\interval_tree.c Create Date:2022-07-27 15:57:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__anon_vma_interval_tree_iter_first

函数原型:static inline struct anon_vma_chain *__anon_vma_interval_tree_iter_first(struct rb_root_cached *root, unsigned long start, unsigned long last)

返回类型:struct anon_vma_chain

参数:

类型参数名称
struct rb_root_cached *root
unsigned longstart
unsigned longlast
73  如果非rb_node则返回:NULL
73  node = ({
73  __mptr等于rb_node
73  循环
73  当0循环
73  __mptr__builtin_offsetof(structanon_vma_chain, rb)
73  })
73  如果rb_subtree_last小于start则返回:NULL
73  leftmost = ({
73  __mptr等于rb_leftmost
73  循环
73  当0循环
73  __mptr__builtin_offsetof(structanon_vma_chain, rb)
73  })
73  如果avc_start_pgoff(leftmost)大于last则返回:NULL
73  返回:__anon_vma_interval_tree_subtree_search(node, start, last)
调用者
名称描述
anon_vma_interval_tree_iter_first