函数逻辑报告 |
Source Code:mm\swapfile.c |
Create Date:2022-07-27 16:47:34 |
Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:swap_free_cluster
函数原型:static void swap_free_cluster(struct swap_info_struct *si, unsigned long idx)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct swap_info_struct * | si | |
unsigned long | idx |
966 | offset等于idx乘SWAPFILE_CLUSTER |
969 | ci等于lock_cluster(si, offset) |
971 | cluster_set_count_flag(ci, 0, 0) |
972 | free_cluster(si, idx) |
973 | unlock_cluster(ci) |
974 | swap_range_free(si, offset, SWAPFILE_CLUSTER) |
名称 | 描述 |
---|---|
put_swap_page | Called after dropping swapcache to decrease refcnt to swap entries. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |