Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vm_lock_mapping

Proto:static void vm_lock_mapping(struct mm_struct *mm, struct address_space *mapping)

Type:void

Parameter:

TypeParameterName
struct mm_struct *mm
struct address_space *mapping
3473  If Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then
3483  If st_and_set_bit - Set a bit and return its old value*@nr: Bit to set*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier). Then BUG()
Caller
NameDescribe
mm_take_all_locksThis operation locks against the VM for all pte/vma/mm related* operations that could ever happen on a certain mm. This includes* vmtruncate, try_to_unmap, and all page faults.* The caller must take the mmap_sem in write mode before calling