Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\internal.h Create Date:2022-07-28 06:11:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vma_address

Proto:static inline unsigned long vma_address(struct page *page, struct vm_area_struct *vma)

Type:unsigned long

Parameter:

TypeParameterName
struct page *page
struct vm_area_struct *vma
360  start = At what user virtual address is page expected in @vma?
361  end = start + PAGE_SIZE * (hpage_nr_pages(page) - 1)
364  VM_BUG_ON_VMA(end < Our start address within vm_mm. || start >= The first byte after our end addresswithin vm_mm. , vma)
366  Return max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(start, Our start address within vm_mm. )
Caller
NameDescribe
rmap_walk_anonmap_walk_anon - do something to anonymous page using the object-based* rmap method*@page: the page to be handled*@rwc: control variable according to each walk type* Find all the mappings of a page using the mapping pointer and the vma chains
rmap_walk_filemap_walk_file - do something to file page using the object-based rmap method*@page: the page to be handled*@rwc: control variable according to each walk type* Find all the mappings of a page using the mapping pointer and the vma chains
dev_pagemap_mapping_shift