函数逻辑报告 |
Source Code:mm\swapfile.c |
Create Date:2022-07-27 16:46:54 |
Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:cluster_list_add_tail
函数原型:static void cluster_list_add_tail(struct swap_cluster_list *list, struct swap_cluster_info *ci, unsigned int idx)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct swap_cluster_list * | list | |
struct swap_cluster_info * | ci | |
unsigned int | idx |
404 | 如果cluster_list_empty(list)则 |
405 | cluster_set_next_flag( & head, idx, 0) |
406 | cluster_set_next_flag( & tail, idx, 0) |
407 | 否则 |
409 | tail等于cluster_next( & tail) |
417 | cluster_set_next(ci_tail, idx) |
418 | 自旋锁解锁 |
419 | cluster_set_next_flag( & tail, idx, 0) |
名称 | 描述 |
---|---|
swap_cluster_schedule_discard | Add a cluster to discard list and schedule it to do discard |
__free_cluster | |
setup_swap_map_and_extents |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |