函数逻辑报告 |
Source Code:fs\ramfs\file-nommu.c |
Create Date:2022-07-29 11:11:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ramfs_nommu_get_unmapped_area
函数原型:static unsigned long ramfs_nommu_get_unmapped_area(struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
unsigned long | addr | |
unsigned long | len | |
unsigned long | pgoff | |
unsigned long | flags |
206 | inode等于file_inode(file) |
228 | 如果nr不等于lpages则转到:out_free_pages |
234 | page自加 |
237 | 转到:out_free_pages |
240 | ret等于page_address(pages[0]) |
242 | out_free_pages : |
244 | 以loop大于0循环Perform a free_page(), also freeing any swap cache associated with* this page if it is the last user of the page. |
246 | out_free : |
247 | 释放内存 |
248 | out : |
249 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |