函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\genhd.c Create Date:2022-07-27 18:53:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:print a full list of all partitions - intended for places where the root* filesystem can't be mounted and thus to give the victim some idea of what* went wrong

函数原型:void __init printk_all_partitions(void)

返回类型:void

参数:

950  class_dev_iter_init( & iter, & block_class, NULL, & disk_type)
951 dev等于class_dev_iter_next( & iter)循环
952  disk等于dev_to_disk(dev)
962  如果get_capacity(disk)恒等于0或flags按位与GENHD_FL_SUPPRESS_PARTITION_INFO则继续下一循环
971  disk_part_iter_init - initialize partition iterator*@piter: iterator to initialize*@disk: disk to iterate over*@flags: DISK_PITER_* flags* Initialize @piter so that it iterates over partitions of @disk.* CONTEXT:* Don't care.
973  is_part0等于part恒等于part0
980  如果is_part0
989  disk_part_iter_exit - finish up partition iteration*@piter: iter of interest* Called when iteration is over. Cleans up @piter.* CONTEXT:* Don't care.
991  class_dev_iter_exit( & iter)
调用者
名称描述
mount_block_root