函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:madvise_pageout

函数原型:static long madvise_pageout(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start_addr, unsigned long end_addr)

返回类型:long

参数:

类型参数名称
struct vm_area_struct *vma
struct vm_area_struct **prev
unsigned longstart_addr
unsigned longend_addr
538  mm等于The address space we belong to.
541  prev等于vma
542  如果非can_madv_lru_vma(vma)则返回:负EINVAL
545  如果非can_do_pageout(vma)则返回:0
548  lru_add_drain()
549  lb_gather_mmu - initialize an mmu_gather structure for page-table tear-down*@tlb: the mmu_gather structure to initialize*@mm: the mm_struct of the target address space*@start: start of the region that will be removed from the page-table*@end: end of the
550  madvise_pageout_page_range( & tlb, vma, start_addr, end_addr)
551  lb_finish_mmu - finish an mmu_gather structure*@tlb: the mmu_gather structure to finish*@start: start of the region that will be removed from the page-table*@end: end of the region that will be removed from the page-table* Called at the end of the
553  返回:0
调用者
名称描述
madvise_vma