Function report | 
Source Code:mm\swapfile.c | 
Create Date:2022-07-28 15:19:17 | 
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:swap_show
Proto:static int swap_show(struct seq_file *swap, void *v)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct seq_file * | swap | |
| void * | v | 
| 2761 | If si == SEQ_START_TOKEN Then | 
| 2766 | file = seldom referenced | 
| 2767 | len = seq_file_path(swap, file, " \t\n\\") | 
| 2768 | seq_printf(swap, "%*s%s\t%u\t%u\t%d\n", len < 40 ? 40 - len : 1, " ", S_ISBLK(i_mode) ? "partition" : "file\t", al of usable pages of swap << (PAGE_SHIFT determines the page size - 10), umber of those currently in use << (PAGE_SHIFT determines the page size - 10), swap priority of this type ) | 
| 2775 | Return 0 | 
| 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  |