函数逻辑报告

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_free

函数原型:static inline void anon_vma_free(struct anon_vma *anon_vma)

返回类型:void

参数:

类型参数名称
struct anon_vma *anon_vma
100  VM_BUG_ON(atomic_read( & The refcount is taken on an anon_vma when there is no* guarantee that the vma of page tables will exist for* the duration of the operation. A caller that takes* the reference is responsible for clearing up the* anon_vma if they are the last user on release))
119  might_sleep()
120  如果In all implementations count != 0 means locked
121  anon_vma_lock_write(anon_vma)
122  anon_vma_unlock_write(anon_vma)
125  kmem_cache_free(anon_vma_cachep, anon_vma)
调用者
名称描述
__put_anon_vma