Function report |
Source Code:mm\swapfile.c |
Create Date:2022-07-28 15:16:30 |
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:unlock_cluster_or_swap_info
Proto:static inline void unlock_cluster_or_swap_info(struct swap_info_struct *si, struct swap_cluster_info *ci)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct swap_info_struct * | si | |
| struct swap_cluster_info * | ci |
| 378 | If ci Then unlock_cluster(ci) |
| Name | Describe |
|---|---|
| __swap_entry_free | |
| put_swap_page | Called after dropping swapcache to decrease refcnt to swap entries. |
| page_swapcount | How many references to page are currently swapped out?* This does not give an exact answer when swap count is continued,* but does include the high COUNT_CONTINUED flag to allow for that. |
| swap_swapcount | |
| swp_swapcount | How many references to @entry are currently swapped out?* This considers COUNT_CONTINUED so it returns exact answer. |
| swap_page_trans_huge_swapped | |
| __swap_duplicate | Verify that a swap entry is valid and increment its swap map count.* Returns error code in following case.* - success -> 0* - swp_entry is invalid -> EINVAL* - swp_entry is migration entry -> EINVAL |
| 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 |