Function report |
Source Code:mm\swapfile.c |
Create Date:2022-07-28 15:16:25 |
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cluster_count
Proto:static inline unsigned int cluster_count(struct swap_cluster_info *info)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct swap_cluster_info * | info |
| 276 | Return data |
| Name | Describe |
|---|---|
| free_cluster | |
| inc_cluster_info_page | The cluster corresponding to page_nr will be used. The cluster will be* removed from free cluster list and its usage counter will be increased. |
| dec_cluster_info_page | The cluster corresponding to page_nr decreases one usage. If the usage* counter becomes 0, which means no page in the cluster is in using, we can* optionally discard the cluster and add it to free cluster list. |
| setup_swap_map_and_extents |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |