Function report |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-28 10:05:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:devkmsg_sysctl_set_loglvl
Proto:int devkmsg_sysctl_set_loglvl(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct ctl_table * | table | |
int | write | |
void __user * | buffer | |
size_t * | lenp | |
loff_t * | ppos |
182 | If write Then |
183 | If devkmsg_log & DEVKMSG_LOG_MASK_LOCK Then Return -EINVAL |
186 | old = devkmsg_log |
190 | err = read a string sysctl |
194 | If write Then |
195 | err = __control_devkmsg(devkmsg_log_str) |
204 | devkmsg_log = old |
207 | Return -EINVAL |
211 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |