| Function report | 
| Source Code: mm\swapfile.c | Create Date:2022-07-28 15:19:40 | 
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Helper to sys_swapon determining if a given swap* backing device queue supports DISCARD operations.
Proto:static bool swap_discardable(struct swap_info_struct *si)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct swap_info_struct * | si | 
| 3103 | If Not q || Not blk_queue_discard(q) Then Return false | 
| 3106 | Return true | 
| Name | Describe | 
|---|---|
| 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 |