Home
last modified time | relevance | path

Searched refs:console_loglevel (Results 1 – 20 of 20) sorted by relevance

/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/
A Dprintk-basics.rst62 日志级别指定了一条消息的重要性。内核根据日志级别和当前 *console_loglevel* (一个内核变量)决
63 定是否立即显示消息(将其打印到当前控制台)。如果消息的优先级比 *console_loglevel* 高(日志级
68 你可以用以下方法检查当前的 *console_loglevel* ::
75 要改变当前的 console_loglevel,只需在 ``/proc/sys/kernel/printk`` 中写入所需的
84 设置 console_loglevel 打印 KERN_WARNING (4) 或更严重的消息到控制台。更多消息参
/linux-6.3-rc2/lib/livepatch/
A Dtest_klp_state.c42 loglevel_state->data = kzalloc(sizeof(console_loglevel), GFP_KERNEL); in allocate_loglevel_state()
60 *(int *)loglevel_state->data = console_loglevel; in fix_console_loglevel()
61 console_loglevel = CONSOLE_LOGLEVEL_MOTORMOUTH; in fix_console_loglevel()
73 console_loglevel = *(int *)loglevel_state->data; in restore_console_loglevel()
A Dtest_klp_state2.c49 loglevel_state->data = kzalloc(sizeof(console_loglevel), GFP_KERNEL); in allocate_loglevel_state()
75 *(int *)loglevel_state->data = console_loglevel; in fix_console_loglevel()
76 console_loglevel = CONSOLE_LOGLEVEL_MOTORMOUTH; in fix_console_loglevel()
95 console_loglevel = *(int *)loglevel_state->data; in restore_console_loglevel()
/linux-6.3-rc2/kernel/debug/kdb/
A Dkdb_bt.c27 int old_lvl = console_loglevel; in kdb_show_stack()
29 console_loglevel = CONSOLE_LOGLEVEL_MOTORMOUTH; in kdb_show_stack()
31 console_loglevel = old_lvl; in kdb_show_stack()
A Dkdb_io.c750 saved_loglevel = console_loglevel; in vkdb_printf()
751 console_loglevel = CONSOLE_LOGLEVEL_SILENT; in vkdb_printf()
865 console_loglevel = saved_loglevel; in vkdb_printf()
A Dkdb_main.c1177 int old_lvl = console_loglevel; in kdb_dumpregs()
1178 console_loglevel = CONSOLE_LOGLEVEL_MOTORMOUTH; in kdb_dumpregs()
1183 console_loglevel = old_lvl; in kdb_dumpregs()
/linux-6.3-rc2/Documentation/core-api/
A Dprintk-basics.rst57 on its log level and the current *console_loglevel* (a kernel variable). If the
58 message priority is higher (lower log level value) than the *console_loglevel*
64 You can check the current *console_loglevel* with::
72 To change the current console_loglevel simply write the desired level to
81 sets the console_loglevel to print KERN_WARNING (4) or more severe messages to
/linux-6.3-rc2/drivers/tty/
A Dsysrq.c106 console_loglevel = CONSOLE_LOGLEVEL_DEFAULT; in sysrq_handle_loglevel()
108 console_loglevel = i; in sysrq_handle_loglevel()
376 console_loglevel = CONSOLE_LOGLEVEL_DEBUG; in sysrq_handle_term()
433 console_loglevel = CONSOLE_LOGLEVEL_DEBUG; in sysrq_handle_kill()
590 orig_log_level = console_loglevel; in __handle_sysrq()
591 console_loglevel = CONSOLE_LOGLEVEL_DEFAULT; in __handle_sysrq()
601 console_loglevel = orig_log_level; in __handle_sysrq()
605 console_loglevel = orig_log_level; in __handle_sysrq()
623 console_loglevel = orig_log_level; in __handle_sysrq()
/linux-6.3-rc2/kernel/printk/
A Dsysctl.c26 .data = &console_loglevel,
A Dprintk.c1266 return (level >= console_loglevel && !ignore_loglevel); in suppress_message_printing()
1764 saved_console_loglevel = console_loglevel; in do_syslog()
1765 console_loglevel = minimum_console_loglevel; in do_syslog()
1770 console_loglevel = saved_console_loglevel; in do_syslog()
1780 console_loglevel = len; in do_syslog()
2544 if (console_loglevel && !printk_console_no_auto_verbose) in console_verbose()
2545 console_loglevel = CONSOLE_LOGLEVEL_MOTORMOUTH; in console_verbose()
/linux-6.3-rc2/arch/powerpc/kernel/
A Dudbg.c75 console_loglevel = CONSOLE_LOGLEVEL_DEBUG; in udbg_early_init()
/linux-6.3-rc2/arch/x86/platform/uv/
A Duv_nmi.c802 int saved_console_loglevel = console_loglevel; in uv_nmi_dump_state()
808 console_loglevel = uv_nmi_loglevel; in uv_nmi_dump_state()
821 console_loglevel = saved_console_loglevel; in uv_nmi_dump_state()
/linux-6.3-rc2/init/
A Dmain.c240 console_loglevel = CONSOLE_LOGLEVEL_DEBUG; in debug_kernel()
246 console_loglevel = CONSOLE_LOGLEVEL_QUIET; in quiet_kernel()
263 console_loglevel = newlevel; in loglevel()
/linux-6.3-rc2/arch/ia64/kernel/
A Dmca.c291 BREAK_LOGLEVEL(console_loglevel); in ia64_mlogbuf_finish()
1615 BREAK_LOGLEVEL(console_loglevel); in default_monarch_init_process()
1640 RESTORE_LOGLEVEL(console_loglevel); in default_monarch_init_process()
/linux-6.3-rc2/include/linux/
A Dprintk.h65 #define console_loglevel (console_printk[0]) macro
/linux-6.3-rc2/drivers/video/fbdev/
A Defifb.c173 if (console_loglevel > CONSOLE_LOGLEVEL_QUIET) in efifb_show_boot_graphics()
/linux-6.3-rc2/Documentation/networking/
A Dnetconsole.rst223 the "console_loglevel" parameter (on the sender) to only send high
/linux-6.3-rc2/arch/s390/kernel/
A Dsetup.c313 console_loglevel = 2; in setup_zfcpdump()
/linux-6.3-rc2/Documentation/admin-guide/sysctl/
A Dkernel.rst983 The four values in printk denote: ``console_loglevel``,
992 console_loglevel messages with a higher priority than
997 console_loglevel can be set
998 default_console_loglevel default value for console_loglevel
/linux-6.3-rc2/drivers/video/fbdev/core/
A Dfbcon.c1007 if (logo_shown < 0 && console_loglevel <= CONSOLE_LOGLEVEL_QUIET) in fbcon_init()

Completed in 68 milliseconds