Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Some boot consoles access data that is in the init section and which will* be discarded after the initcalls have been run

Proto:static int __init printk_late_init(void)

Type:int

Parameter:Nothing

2910  If Not (flags & CON_BOOT) Then Continue
2914  If _section_intersects - checks if the region occupied by an object* intersects with the init section*@virt: virtual address of the memory object*@size: size of the memory object* Returns: true if an object's memory region, specified by @virt and @size, || _section_contains - checks if an object is contained within the init* section*@virt: virtual address of the memory object*@size: size of the memory object* Returns: true if the object specified by @virt and @size is entirely || _section_contains - checks if an object is contained within the init* section*@virt: virtual address of the memory object*@size: size of the memory object* Returns: true if the object specified by @virt and @size is entirely || _section_contains - checks if an object is contained within the init* section*@virt: virtual address of the memory object*@size: size of the memory object* Returns: true if the object specified by @virt and @size is entirely || _section_contains - checks if an object is contained within the init* section*@virt: virtual address of the memory object*@size: size of the memory object* Returns: true if the object specified by @virt and @size is entirely || _section_contains - checks if an object is contained within the init* section*@virt: virtual address of the memory object*@size: size of the memory object* Returns: true if the object specified by @virt and @size is entirely Then
2924  pr_warn("bootconsole [%s%d] uses init memory and must be disabled even before the real one is ready\n", name, index)
2926  unregister_console(con)
2929  ret = puhp_setup_state_nocalls - Setup hotplug state callbacks without calling the* callbacks*@state: The state for which the calls are installed*@name: Name of the callback
2931  WARN_ON(ret < 0)
2932  ret = puhp_setup_state_nocalls - Setup hotplug state callbacks without calling the* callbacks*@state: The state for which the calls are installed*@name: Name of the callback
2934  WARN_ON(ret < 0)
2935  Return 0