Function report |
Source Code:mm\swapfile.c |
Create Date:2022-07-28 15:16:35 |
Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__free_cluster
Proto:static void __free_cluster(struct swap_info_struct *si, unsigned long idx)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct swap_info_struct * | si | |
unsigned long | idx |
459 | ci = cluster info. Only for SSD |
461 | cluster_set_flag(ci + idx, This cluster is free ) |
462 | cluster_list_add_tail( & clusters list , ci, idx) |
Name | Describe |
---|---|
swap_do_scheduled_discard | Doing discard actually. After a cluster discard is finished, the cluster* will be added to free cluster list. caller should hold si->lock. |
free_cluster |
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 |