Function report |
Source Code:kernel\time\clockevents.c |
Create Date:2022-07-28 10:49:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Try to install a replacement clock event device
Proto:static int clockevents_replace(struct clock_event_device *ced)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct clock_event_device * | ced |
| 361 | struct clock_event_device * dev, * newdev = NULL |
| 364 | If dev == ced || Not clockevent_state_detached(dev) Then Continue |
| 367 | If Not Check whether the new device is a better fit than curdev. curdev* can be NULL ! Then Continue |
| 370 | If Not try_module_get(owner) Then Continue |
| 373 | If newdev Then module_put(owner) |
| 377 | If newdev Then |
| Name | Describe |
|---|---|
| __clockevents_unbind | SMP function call to unbind a device |
| 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 |