Function report | 
Source Code:mm\swapfile.c | 
Create Date:2022-07-28 15:18:42 | 
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Free all of a swapdev's extent information
Proto:static void destroy_swap_extents(struct swap_info_struct *sis)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct swap_info_struct * | sis | 
| 2286 | When Not RB_EMPTY_ROOT( & of the swap extent rbtree ) cycle | 
| 2288 | se = rb_entry(rb, structswap_extent, rb_node) | 
| 2290 | rb_erase(rb, & of the swap extent rbtree ) | 
| 2294 | If SWP_USED etc: see above & SWP_ACTIVATED Then | 
| 2295 | swap_file = seldom referenced | 
| 2298 | SWP_USED etc: see above &= ~SWP_ACTIVATED | 
| 2299 | If swap_deactivate Then swap_deactivate(swap_file) | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE1 | |
| SYSCALL_DEFINE2 | 
| 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  |