函数逻辑报告 |
Source Code:mm\madvise.c |
Create Date:2022-07-27 16:42:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:madvise_free_single_vma
函数原型:static int madvise_free_single_vma(struct vm_area_struct *vma, unsigned long start_addr, unsigned long end_addr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | start_addr | |
unsigned long | end_addr |
701 | 如果非vma_is_anonymous(vma)则返回:负EINVAL |
705 | 如果start大于等于The first byte after our end addresswithin vm_mm. 则返回:负EINVAL |
708 | 如果end小于等于Our start address within vm_mm. 则返回:负EINVAL |
710 | mmu_notifier_range_init( & range, MMU_NOTIFY_CLEAR, 0, vma, mm, start, end) |
713 | lru_add_drain() |
715 | update_hiwater_rss(mm) |
718 | tlb_start_vma( & tlb, vma) |
721 | tlb_end_vma( & tlb, vma) |
725 | 返回:0 |
名称 | 描述 |
---|---|
madvise_dontneed_free |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |