函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swapfile.c Create Date:2022-07-27 16:47:35
Last Modify:2020-03-17 22:19:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:scan_swap_map

函数原型:static unsigned long scan_swap_map(struct swap_info_struct *si, unsigned char usage)

返回类型:unsigned long

参数:

类型参数名称
struct swap_info_struct *si
unsigned charusage
983  n_ret等于scan_swap_map_slots(si, usage, 1, & entry)
985  如果n_ret则返回:Extract the `offset' field from a swp_entry_t. The swp_entry_t is in* arch-independent format
987  否则返回:0
调用者
名称描述
get_swap_page_of_typeThe only caller of this function is now suspend routine