函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vma_compute_gap

函数原型:static inline unsigned long vma_compute_gap(struct vm_area_struct *vma)

返回类型:unsigned long

参数:

类型参数名称
struct vm_area_struct *vma
296  gap等于vm_start_gap(vma)
297  如果linked list of VM areas per task, sorted by address
298  prev_end等于vm_end_gap(linked list of VM areas per task, sorted by address )
299  如果gap大于prev_endgap减等于prev_end
301  否则gap等于0
304  返回:gap
调用者
名称描述
vma_gap_callbacks_compute_max