函数逻辑报告 |
Source Code:mm\page_idle.c |
Create Date:2022-07-27 18:09:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:page_idle_bitmap_write
函数原型:static ssize_t page_idle_bitmap_write(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t pos, size_t count)
返回类型:ssize_t
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct file * | file | |
| struct kobject * | kobj | |
| struct bin_attribute * | attr | |
| char * | buf | |
| loff_t | pos | |
| size_t | count |
| 175 | 如果pos取模BITMAP_CHUNK_SIZE或count取模BITMAP_CHUNK_SIZE则返回:负EINVAL |
| 178 | pfn等于pos乘BITS_PER_BYTE |
| 182 | end_pfn等于pfn加count乘BITS_PER_BYTE |
| 187 | bit等于pfn取模BITMAP_CHUNK_BITS |
| 189 | page等于Idle page tracking only considers user memory pages, for other types of* pages the idle flag is always unset and an attempt to set it is silently* ignored |
| 190 | 如果page则 |
| 196 | 如果bit恒等于BITMAP_CHUNK_BITS减1则in自加 |
| 198 | cond_resched() |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |