Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmap.c Create Date:2022-07-28 14:47:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vma_compute_gap

Proto:static inline unsigned long vma_compute_gap(struct vm_area_struct *vma)

Type:unsigned long

Parameter:

TypeParameterName
struct vm_area_struct *vma
296  gap = vm_start_gap(vma)
297  If linked list of VM areas per task, sorted by address Then
298  prev_end = vm_end_gap(linked list of VM areas per task, sorted by address )
299  If gap > prev_end Then gap -= prev_end
301  Else gap = 0
304  Return gap
Caller
NameDescribe
vma_gap_callbacks_compute_max