函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\frontswap.c Create Date:2022-07-27 16:52:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Count and return the number of frontswap pages across all* swap devices. This is exported so that backend drivers can* determine current usage without reading debugfs.

函数原型:unsigned long frontswap_curr_pages(void)

返回类型:unsigned long

参数:

472  totalpages等于0
474  加自旋锁
475  totalpages等于__frontswap_curr_pages()
476  自旋锁解锁
478  返回:totalpages