函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:free_pgtables

函数原型:void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *vma, unsigned long floor, unsigned long ceiling)

返回类型:void

参数:

类型参数名称
struct mmu_gather *tlb
struct vm_area_struct *vma
unsigned longfloor
unsigned longceiling
391 vma循环
392  next等于linked list of VM areas per task, sorted by address
393  addr等于Our start address within vm_mm.
399  unlink_anon_vmas(vma)
400  unlink_file_vma(vma)
402  如果is_vm_hugetlb_page(vma)则
405  否则
419  vma等于next
调用者
名称描述
unmap_region
exit_mmapRelease all mmaps.