Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:wp_shared_mapping_range - Write-protect all ptes in an address space range*@mapping: The address_space we want to write protect*@first_index: The first page offset in the range*@nr: Number of incremental page offsets to cover* Note: This function

Proto:unsigned long wp_shared_mapping_range(struct address_space *mapping, unsigned long first_index, unsigned long nr)

Type:unsigned long

Parameter:

TypeParameterName
struct address_space *mapping
unsigned longfirst_index
unsigned longnr
243  struct wp_walk wpwalk = {total = 0}
245  i_mmap_lock_read(mapping)
246  WARN_ON(walk_page_mapping - walk all memory areas mapped into a struct address_space)
248  i_mmap_unlock_read(mapping)
250  Return total