函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rd_load_disk

函数原型:int __init rd_load_disk(int n)

返回类型:int

参数:

类型参数名称
intn
287  如果1 = prompt for RAM disk, 0 = don't prompt change_floppy("root floppy disk to be loaded into RAM disk")
289  create_dev("/dev/root", ROOT_DEV)
290  create_dev("/dev/ram", MKDEV(RAMDISK_MAJOR, n))
291  返回:rd_load_image("/dev/root")
调用者
名称描述
prepare_namespacePrepare the namespace - decide what/where to mount, load ramdisks, etc.