函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:swaps_open

函数原型:static int swaps_open(struct inode *inode, struct file *file)

返回类型:int

参数:

类型参数名称
struct inode *inode
struct file *file
2790  ret等于seq_open(file, & swaps_op)
2791  如果ret则返回:ret
2794  seq等于 needed for tty driver, and maybe others
2795  poll_event等于atomic_read( & Activity counter to indicate that a swapon or swapoff has occurred )
2796  返回:0