函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Close a vm structure and free it, returning the next.

函数原型:static struct vm_area_struct *remove_vma(struct vm_area_struct *vma)

返回类型:struct vm_area_struct

参数:

类型参数名称
struct vm_area_struct *vma
173  next等于linked list of VM areas per task, sorted by address
175  might_sleep()
176  如果Function pointers to deal with this struct. closeclose(vma)
178  如果File we map to (can be NULL). fput(File we map to (can be NULL). )
180  mpol_put(vma_policy(vma))
181  vm_area_free(vma)
182  返回:next
调用者
名称描述
remove_vma_listOk - we have the memory areas we should free on the vma list,* so release them, and do the vma updates.* Called with the mm semaphore held.
exit_mmapRelease all mmaps.