| Function report | 
| Source Code: mm\frontswap.c | Create Date:2022-07-28 15:21:36 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Count and return the number of frontswap pages across all* swap devices. This is exported so that backend drivers can* determine current usage without reading debugfs.
Proto:unsigned long frontswap_curr_pages(void)
Type:unsigned long
Parameter:Nothing
| 472 | totalpages = 0 | 
| 475 | totalpages = __frontswap_curr_pages() | 
| 476 | spin_unlock( & swap_lock) | 
| 478 | Return totalpages | 
| 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 |