Function report |
Source Code:mm\swapfile.c |
Create Date:2022-07-28 15:20:12 |
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:swp_swap_info
Proto:struct swap_info_struct *swp_swap_info(swp_entry_t entry)
Type:struct swap_info_struct
Parameter:
| Type | Parameter | Name |
|---|---|---|
| swp_entry_t | entry |
| 3489 | Return swap_type_to_swap_info(Extract the `type' field from a swp_entry_t. The swp_entry_t is in* arch-independent format) |
| Name | Describe |
|---|---|
| total_swapcache_pages | |
| swap_cluster_readahead | swap_cluster_readahead - swap in pages in hope we need them soon*@entry: swap entry of this memory*@gfp_mask: memory allocation flags*@vmf: fault information* Returns the struct page for entry and addr, after queueing swapin. |
| __swap_info_get | |
| get_swap_device | Check whether swap entry is valid in the swap device |
| map_swap_entry | Use this swapdev's extent info to locate the (PAGE_SIZE) block which* corresponds to page offset for the specified swap entry.* Note that the type of this function is sector_t, but it returns page offset* into the bdev, not sector offset. |
| page_swap_info |
| 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 |