Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\swapops.h Create Date:2022-07-28 10:01:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Extract the `type' field from a swp_entry_t. The swp_entry_t is in* arch-independent format

Proto:static inline unsigned swp_type(swp_entry_t entry)

Type:unsigned

Parameter:

TypeParameterName
swp_entry_tentry
43  Return val >> swapcache pages are stored in the swapper_space radix tree
Caller
NameDescribe
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