Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmap.c Create Date:2022-07-28 14:47:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Unlink a file-based vm structure from its interval tree, to hide* vma from rmap and vmtruncate before freeing its page tables.

Proto:void unlink_file_vma(struct vm_area_struct *vma)

Type:void

Parameter:

TypeParameterName
struct vm_area_struct *vma
158  file = File we map to (can be NULL).
160  If file Then
161  mapping = f_mapping
162  i_mmap_lock_write(mapping)
163  Requires inode->i_mapping->i_mmap_rwsem
164  i_mmap_unlock_write(mapping)
Caller
NameDescribe
free_pgtables