函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:anon_vma_chain_alloc

函数原型:static inline struct anon_vma_chain *anon_vma_chain_alloc(gfp_t gfp)

返回类型:struct anon_vma_chain

参数:

类型参数名称
gfp_tgfp
130  返回:分配高速缓存区
调用者
名称描述
__anon_vma_prepare__anon_vma_prepare - attach an anon_vma to a memory region*@vma: the memory region in question* This makes sure the memory mapping described by 'vma' has* an 'anon_vma' attached to it, so that we can associate the
anon_vma_cloneAttach the anon_vmas from src to dst
anon_vma_forkAttach vma to its own anon_vma, as well as to the anon_vmas that* the corresponding VMA in the parent process is attached to.* Returns 0 on success, non-zero on failure.