函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:autodetect_raid

函数原型:static void __init autodetect_raid(void)

返回类型:void

参数:

283  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
284  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
286  wait_for_device_probe()
288  fd等于ksys_open("/dev/md0", 0, 0)
289  如果fd大于等于0则
290  ksys_ioctl(fd, RAID_AUTORUN, raid_autopart)
291  In contrast to sys_close(), this stub does not check whether the syscall* should or should not be restarted, but returns the raw error codes from* __close_fd().
调用者
名称描述
md_run_setup