Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\genhd.c Create Date:2022-07-28 17:18:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rator

Proto:static void *disk_seqf_start(struct seq_file *seqf, loff_t *pos)

Type:void

Parameter:

TypeParameterName
struct seq_file *seqf
loff_t *pos
998  skip = pos
1002  iter = Allocation memory
1003  If Not iter Then Return ERR_PTR( - ENOMEM)
1006  private = iter
1007  class_dev_iter_init(iter, & block_class, NULL, & disk_type)
1008  Do
1009  dev = class_dev_iter_next(iter)
1010  If Not dev Then Return NULL
1012  When skip-- cycle
1014  Return dev_to_disk(dev)
Caller
NameDescribe
show_partition_start