函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\swapops.h Create Date:2022-07-27 11:01:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Extract the `type' field from a swp_entry_t. The swp_entry_t is in* arch-independent format

函数原型:static inline unsigned swp_type(swp_entry_t entry)

返回类型:unsigned

参数:

类型参数名称
swp_entry_tentry
43  返回:val右移swapcache pages are stored in the swapper_space radix tree
调用者
名称描述
swap_cluster_readaheadswap_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.
swp_entry_cmp
unuse_pte_range
swp_swap_info
__frontswap_store"Store" data from a page to frontswap and associate it with the page's* swaptype and offset
__frontswap_load"Get" data from frontswap associated with swaptype and offset that were* specified when the data was put to frontswap and use it to fill the* specified page with data. Page must be locked and in the swap cache.
zswap_writeback_entry
lookup_swap_cgroup
swp_entry_to_pteConvert the arch-independent representation of a swp_entry_t into the* arch-dependent pte representation.
is_device_private_entry
is_write_device_private_entry
is_migration_entry
is_write_migration_entry
is_hwpoison_entry
non_swap_entry