| Function report | 
| Source Code: mm\swapfile.c | Create Date:2022-07-28 15:18:51 | 
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:setup_swap_info
Proto:static void setup_swap_info(struct swap_info_struct *p, int prio, unsigned char *swap_map, struct swap_cluster_info *cluster_info)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct swap_info_struct * | p | |
| int | prio | |
| unsigned char * | swap_map | |
| struct swap_cluster_info * | cluster_info | 
| 2427 | If prio >= 0 Then swap priority of this type = prio | 
| 2429 | Else swap priority of this type = --least_priority | 
| 2436 | for_each_node(i) | 
| 2437 | If swap priority of this type >= 0 Then prio = -swap priority of this type | 
| 2439 | Else | 
| Name | Describe | 
|---|---|
| enable_swap_info | |
| reinsert_swap_info | 
| 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 |