Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fs.h Create Date:2022-07-28 05:42:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:i_mmap_unlock_write

Proto:static inline void i_mmap_unlock_write(struct address_space *mapping)

Type:void

Parameter:

TypeParameterName
struct address_space *mapping
531  lease a write lock
Caller
NameDescribe
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