函数逻辑报告 |
Source Code:include\linux\swapops.h |
Create Date:2022-07-27 11:01:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Store a type+offset into a swp_entry_t in an arch-independent format
函数原型:static inline swp_entry_t swp_entry(unsigned long type, unsigned long offset)
返回类型:swp_entry_t
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | type | |
unsigned long | offset |
33 | val等于type左移swapcache pages are stored in the swapper_space radix tree位按位或offset按位与SWP_OFFSET_MASK |
34 | 返回:ret |
名称 | 描述 |
---|---|
alloc_swapdev_block | alloc_swapdev_block - allocate a swap page and register that it has* been allocated, so that it can be freed in case of an error. |
free_all_swap_pages | _all_swap_pages - free swap pages allocated for saving image data.* It also frees the extents used to register which swap entries had been* allocated. |
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. |
__try_to_reclaim_swap | rns 1 if swap entry is freed |
scan_swap_map_slots | |
swap_alloc_cluster | |
get_swap_page_of_type | The only caller of this function is now suspend routine |
try_to_unuse | If the boolean frontswap is true, only unuse pages_to_unuse pages;* pages_to_unuse==0 means all pages; ignored if frontswap is false |
generic_max_swapfile_size | Find out how many pages are allowed for a single swap device |
zswap_frontswap_store | attempts to compress and store an single page |
pte_to_swp_entry | Convert the arch-dependent pte representation of a swp_entry_t into an* arch-independent swp_entry_t. |
make_device_private_entry | |
make_device_private_entry_read | |
make_migration_entry | |
make_migration_entry_read | |
pmd_to_swp_entry | |
make_hwpoison_entry | Support for hardware poisoned pages |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |