Function report |
Source Code:kernel\watchdog.c |
Create Date:2022-07-28 11:45:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mmon function for watchdog, nmi_watchdog and soft_watchdog parameter* caller | table->data points to | 'which'* -------------------|----------------------------|--------------------------* proc_watchdog | watchdog_user_enabled | NMI_WATCHDOG_ENABLED |* |
Proto:static int proc_watchdog_common(int which, struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | which | |
| struct ctl_table * | table | |
| int | write | |
| void __user * | buffer | |
| size_t * | lenp | |
| loff_t * | ppos |
| 687 | mutex_lock( & watchdog_mutex) |
| 689 | If Not write Then |
| 694 | param = (watchdog_enabled & which) != 0 |
| 696 | Else |
| 699 | If Not err && old != READ_ONCE( * param) Then Propagate any changes to the watchdog threads |
| 703 | Return err |
| Name | Describe |
|---|---|
| proc_watchdog | /proc/sys/kernel/watchdog |
| proc_nmi_watchdog | /proc/sys/kernel/nmi_watchdog |
| proc_soft_watchdog | /proc/sys/kernel/soft_watchdog |
| 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 |