Function report |
Source Code:mm\swapfile.c |
Create Date:2022-07-28 15:16:34 |
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cluster_list_del_first
Proto:static unsigned int cluster_list_del_first(struct swap_cluster_list *list, struct swap_cluster_info *ci)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct swap_cluster_list * | list | |
| struct swap_cluster_info * | ci |
| 428 | idx = cluster_next( & head) |
| 429 | If cluster_next( & tail) == idx Then |
| 430 | cluster_set_null( & head) |
| 431 | cluster_set_null( & tail) |
| 432 | Else cluster_set_next_flag( & head, cluster_next( & ci[idx]), 0) |
| 436 | Return idx |
| Name | Describe |
|---|---|
| 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 |
| 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 |