函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__control_devkmsg

函数原型:static int __control_devkmsg(char *str)

返回类型:int

参数:

类型参数名称
char *str
123  如果非str则返回:负EINVAL
126  len等于str_has_prefix - Test if a string has a given prefix*@str: The string to test*@prefix: The string to see if @str starts with* A common way to test a prefix of a string is to do:* strncmp(str, prefix, sizeof(prefix) - 1)* But this can lead to bugs due to
127  如果len
128  devkmsg_log等于DEVKMSG_LOG_MASK_ON
129  返回:len
132  len等于str_has_prefix - Test if a string has a given prefix*@str: The string to test*@prefix: The string to see if @str starts with* A common way to test a prefix of a string is to do:* strncmp(str, prefix, sizeof(prefix) - 1)* But this can lead to bugs due to
133  如果len
134  devkmsg_log等于DEVKMSG_LOG_MASK_OFF
135  返回:len
138  len等于str_has_prefix - Test if a string has a given prefix*@str: The string to test*@prefix: The string to see if @str starts with* A common way to test a prefix of a string is to do:* strncmp(str, prefix, sizeof(prefix) - 1)* But this can lead to bugs due to
139  如果len
140  devkmsg_log等于Keep both the 'on' and 'off' bits clear, i.e. ratelimit by default:
141  返回:len
144  返回:负EINVAL
调用者
名称描述
control_devkmsg
devkmsg_sysctl_set_loglvl