函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vma_address

函数原型:static inline unsigned long vma_address(struct page *page, struct vm_area_struct *vma)

返回类型:unsigned long

参数:

类型参数名称
struct page *page
struct vm_area_struct *vma
360  start等于At what user virtual address is page expected in @vma?
361  end等于startPAGE_SIZEhpage_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  返回:两数取大(start, Our start address within vm_mm. )
调用者
名称描述
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