函数逻辑报告 |
Source Code:mm\swapfile.c |
Create Date:2022-07-27 16:46:55 |
Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:cluster_list_del_first
函数原型:static unsigned int cluster_list_del_first(struct swap_cluster_list *list, struct swap_cluster_info *ci)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct swap_cluster_list * | list | |
struct swap_cluster_info * | ci |
428 | idx等于cluster_next( & head) |
429 | 如果cluster_next( & tail)恒等于idx则 |
430 | cluster_set_null( & head) |
431 | cluster_set_null( & tail) |
432 | 否则cluster_set_next_flag( & head, cluster_next( & ci[idx]), 0) |
436 | 返回:idx |
名称 | 描述 |
---|---|
swap_do_scheduled_discard | Doing discard actually. After a cluster discard is finished, the cluster* will be added to free cluster list. caller should hold si->lock. |
alloc_cluster |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |