函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_va_next_sibling

函数原型:static __always_inline struct list_head *get_va_next_sibling(struct rb_node *parent, struct rb_node **link)

返回类型:struct list_head

参数:

类型参数名称
struct rb_node *parent
struct rb_node **link
487  如果此条件成立可能性小(为编译器优化)(!parent)则返回:NULL
496  list = & ({
496  __mptr等于parent
496  循环
496  当0循环
496  __mptr__builtin_offsetof(structvmap_area, rb_node)
496  })->list
497  返回:如果rb_right恒等于link链表后项否则list
调用者
名称描述
merge_or_add_vmap_areaMerge de-allocated chunk of VA memory with previous* and next free blocks. If coalesce is not done a new* free area is inserted. If VA has been merged, it is* freed.