函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-27 09:57:04
Last Modify:2020-03-17 11:04:53 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:vm_area_alloc

函数原型:struct vm_area_struct *vm_area_alloc(struct mm_struct *mm)

返回类型:struct vm_area_struct

参数:

类型参数名称
struct mm_struct *mm
351  vma等于kmem_cache_alloc(SLAB cache for vm_area_struct structures , GFP_KERNEL)
352  如果vmavma_init(vma, mm)
354  返回:vma
调用者
名称描述
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.
__install_special_mapping
do_mmaphandle mapping creation for uClinux
__bprm_mm_init