函数逻辑报告 |
Source Code:mm\swapfile.c |
Create Date:2022-07-27 16:47:06 |
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:It's possible scan_swap_map() uses a free cluster in the middle of free* cluster list. Avoiding such abuse to avoid list corruption.
函数原型:static bool scan_swap_map_ssd_cluster_conflict(struct swap_info_struct *si, unsigned long offset)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct swap_info_struct * | si | |
| unsigned long | offset |
| 582 | offset除等于SWAPFILE_CLUSTER |
| 583 | conflict等于非cluster_list_empty( & clusters list )且offset不等于cluster_list_first( & clusters list )且cluster_is_free( & cluster info. Only for SSD [offset]) |
| 587 | 如果非conflict则返回:false |
| 591 | cluster_set_null( & Current cluster index ) |
| 592 | 返回:true |
| 名称 | 描述 |
|---|---|
| scan_swap_map_slots |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |