Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\do_mounts_md.c Create Date:2022-07-28 13:59:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:autodetect_raid

Proto:static void __init autodetect_raid(void)

Type:void

Parameter:Nothing

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  If fd >= 0 Then
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().
Caller
NameDescribe
md_run_setup