函数逻辑报告 |
Source Code:mm\swapfile.c |
Create Date:2022-07-27 16:48:54 |
Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:unuse_mm
函数原型:static int unuse_mm(struct mm_struct *mm, unsigned int type, bool frontswap, unsigned long *fs_pages_to_unuse)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm | |
unsigned int | type | |
bool | frontswap | |
unsigned long * | fs_pages_to_unuse |
2071 | ret等于0 |
2073 | lock for reading |
2075 | 如果Serialized by page_table_lock 则 |
2081 | cond_resched() |
2083 | lease a read lock |
2084 | 返回:ret |
名称 | 描述 |
---|---|
try_to_unuse | If the boolean frontswap is true, only unuse pages_to_unuse pages;* pages_to_unuse==0 means all pages; ignored if frontswap is false |
io_sq_thread | |
__io_worker_unuse | Note: drops the wqe->lock if returning true! The caller must re-acquire* the lock in that case. Some callers need to restart handling if this* happens, so we can't just re-acquire the lock on behalf of the caller. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |