函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:wp_clean_pre_vma - The pagewalk pre_vma callback.* The pre_vma callback performs the cache flush, stages the tlb flush* and calls the necessary mmu notifiers.

函数原型:static int wp_clean_pre_vma(unsigned long start, unsigned long end, struct mm_walk *walk)

返回类型:int

参数:

类型参数名称
unsigned longstart
unsigned longend
struct mm_walk *walk
149  wpwalk等于private
151  tlbflush_start等于end
152  tlbflush_end等于start
154  mmu_notifier_range_init( & range, MMU_NOTIFY_PROTECTION_PAGE, 0, vma, mm, start, end)
156  mmu_notifier_invalidate_range_start( & range)
157  flush_cache_range(vma, start, end)
164  inc_tlb_flush_pending(mm)
166  返回:0