函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:non_swap_entry

函数原型:static inline int non_swap_entry(swp_entry_t entry)

返回类型:int

参数:

类型参数名称
swp_entry_tentry
354  返回:Extract the `type' field from a swp_entry_t. The swp_entry_t is in* arch-independent format大于等于MAX_SWAPFILES
调用者
名称描述
copy_one_ptepy one vm_area from one task to the other. Assumes the page tables* already present in the new task to be cleared in the whole range* covered by this vma.
zap_pte_range
do_swap_pageWe enter with non-exclusive mmap_sem (to exclude vma changes,* but allow concurrent faults), and pte mapped but not yet locked.* We return with pte unmapped and unlocked.* We return with the mmap_sem locked or unlocked in the same cases
mincore_pte_range
madvise_free_pte_range
swap_ra_info
swap_vma_readaheadswap_vma_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.* Primitive swap readahead code
free_swap_and_cacheFree the swap entry like above, but also try to* free the page cache entry if it is the last user.
is_hugetlb_entry_migration
is_hugetlb_entry_hwpoisoned
hmm_vma_handle_pte