Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rator

Proto:static void *swap_start(struct seq_file *swap, loff_t *pos)

Type:void

Parameter:

TypeParameterName
struct seq_file *swap
loff_t *pos
2713  l = pos
2715  mutex_lock( & swapon_mutex)
2717  If Not l Then Return SEQ_START_TOKEN
2720  When si = swap_type_to_swap_info(type) cycle
2721  If Not (SWP_USED etc: see above & SWP_USED) || Not vmalloc'ed array of usage counts Then Continue
2723  If Not --l Then Return si
2727  Return NULL