Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:swap_next

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

Type:void

Parameter:

TypeParameterName
struct seq_file *swap
void *v
loff_t *pos
2732  si = v
2735  If v == SEQ_START_TOKEN Then type = 0
2737  Else type = strange name for an index + 1
2740  When si = swap_type_to_swap_info(type) cycle
2741  If Not (SWP_USED etc: see above & SWP_USED) || Not vmalloc'ed array of usage counts Then Continue
2743  ++pos
2744  Return si
2747  Return NULL