函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vma_gap_callbacks_rotate

函数原型:static void vma_gap_callbacks_rotate(struct rb_node *rb_old, struct rb_node *rb_new)

返回类型:void

参数:

类型参数名称
struct rb_node *rb_old
struct rb_node *rb_new
433  struct vm_area_struct * old = ({
433  __mptr等于rb_old
433  循环
433  当0循环
433  __mptr__builtin_offsetof(structvm_area_struct, vm_rb)
433  })
433  struct vm_area_struct * new = ({
433  __mptr等于rb_new
433  循环
433  当0循环
433  __mptr__builtin_offsetof(structvm_area_struct, vm_rb)
433  })
433  Largest free memory gap in bytes to the left of this VMA.* Either between this VMA and vma->vm_prev, or between one of the* VMAs below us in the VMA rbtree and its ->vm_prev. This helps* get_unmapped_area find a free area of the right size.等于Largest free memory gap in bytes to the left of this VMA.* Either between this VMA and vma->vm_prev, or between one of the* VMAs below us in the VMA rbtree and its ->vm_prev. This helps* get_unmapped_area find a free area of the right size.
433  vma_gap_callbacks_compute_max(old, false)