函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fs.h Create Date:2022-07-27 06:44:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:i_mmap_unlock_write

函数原型:static inline void i_mmap_unlock_write(struct address_space *mapping)

返回类型:void

参数:

类型参数名称
struct address_space *mapping
531  lease a write lock
调用者
名称描述
dup_mmap
add_vma_to_mmadd a VMA into a process's mm_struct in the appropriate place in the list* and tree and add to the address space's page tree also if not an anonymous* page* - should be called with mm->mmap_sem held writelocked
delete_vma_from_mmdelete a VMA from its owning mm_struct and address space
unmap_single_vma
unmap_mapping_pagesmap_mapping_pages() - Unmap pages from processes.*@mapping: The address space containing pages to be unmapped.*@start: Index of first page to be unmapped.*@nr: Number of pages to be unmapped. 0 to unmap to end of file.
unlink_file_vmaUnlink a file-based vm structure from its interval tree, to hide* vma from rmap and vmtruncate before freeing its page tables.
vma_link
__vma_adjustWe cannot adjust vm_start, vm_end, vm_pgoff fields of a vma that* is already present in an i_mmap tree without adjusting the tree.* The following helper function should be used when such adjustments* are necessary
vm_unlock_mapping
drop_rmap_locks
unmap_ref_privateThis is called when the original mapper is failing to COW a MAP_PRIVATE* mappping it owns the reserve page for. The intention is to unmap the page* from other VMAs and let the children be SIGKILLed if they are faulting the* same region.
hugetlb_change_protection