Function report |
Source Code:mm\swapfile.c |
Create Date:2022-07-28 15:16:33 |
| 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_add_tail
Proto:static void cluster_list_add_tail(struct swap_cluster_list *list, struct swap_cluster_info *ci, unsigned int idx)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct swap_cluster_list * | list | |
| struct swap_cluster_info * | ci | |
| unsigned int | idx |
| 404 | If cluster_list_empty(list) Then |
| 405 | cluster_set_next_flag( & head, idx, 0) |
| 406 | cluster_set_next_flag( & tail, idx, 0) |
| 407 | Else |
| 409 | tail = cluster_next( & tail) |
| 417 | cluster_set_next(ci_tail, idx) |
| 418 | spin_unlock( & Protect swap_cluster_info fields* and swap_info_struct->swap_map* elements correspond to the swap* cluster) |
| 419 | cluster_set_next_flag( & tail, idx, 0) |
| Name | Describe |
|---|---|
| swap_cluster_schedule_discard | Add a cluster to discard list and schedule it to do discard |
| __free_cluster | |
| 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 |