Function report |
Source Code:kernel\torture.c |
Create Date:2022-07-28 13:50:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Detect and respond to a system shutdown.
Proto:static int torture_shutdown_notify(struct notifier_block *unused1, unsigned long unused2, void *unused3)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct notifier_block * | unused1 | |
| unsigned long | unused2 | |
| void * | unused3 |
| 534 | mutex_lock( & fullstop_mutex) |
| 535 | If READ_ONCE(fullstop) == Normal operation. Then |
| 536 | VERBOSE_TOROUT_STRING("Unscheduled system shutdown detected") |
| 538 | Else |
| 539 | pr_warn("Concurrent rmmod and shutdown illegal!\n") |
| 542 | Return Don't care |
| 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 |