函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mount_root

函数原型:void __init mount_root(void)

返回类型:void

参数:

627  err等于create_dev("/dev/root", ROOT_DEV)
629  如果err小于0则These can be used to print at the various log levels.* All of these will print unconditionally, although note that pr_debug()* and other debug macros are compiled out unless either DEBUG is defined* or CONFIG_DYNAMIC_DEBUG is set.("Failed to create /dev/root: %d\n", err)
631  mount_block_root("/dev/root", root_mountflags)
调用者
名称描述
prepare_namespacePrepare the namespace - decide what/where to mount, load ramdisks, etc.
handle_initrd