函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:do_munmap

函数原型:int do_munmap(struct mm_struct *mm, unsigned long start, size_t len, struct list_head *uf)

返回类型:int

参数:

类型参数名称
struct mm_struct *mm
unsigned longstart
size_tlen
struct list_head *uf
2824  返回:Munmap is split into 2 main parts -- this part which finds* what needs doing, and the areas themselves, which do the* work. This now handles partial unmappings.* Jeremy Fitzhardinge
调用者
名称描述
mmap_region
do_brk_flagshis is really a simplified "do_mmap". it only handles* anonymous maps. eventually we may be able to do some* brk-specific accounting here.
move_vma
mremap_to
ksys_shmdtdetach and kill segment if marked destroyed.* The work is done in shm_close.