函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:How many references to @entry are currently swapped out?* This does not give an exact answer when swap count is continued,* but does include the high COUNT_CONTINUED flag to allow for that.

函数原型:int __swp_swapcount(swp_entry_t entry)

返回类型:int

参数:

类型参数名称
swp_entry_tentry
1481  count等于0
1484  si等于Check whether swap entry is valid in the swap device
1485  如果si
1486  count等于swap_swapcount(si, entry)
1487  put_swap_device(si)
1489  返回:count