Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swapfile.c Create Date:2022-07-28 15:19:19
Last Modify:2020-03-17 22:19:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:swaps_open

Proto:static int swaps_open(struct inode *inode, struct file *file)

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct file *file
2790  ret = seq_open(file, & swaps_op)
2791  If ret Then Return 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  Return 0