| Function report | 
| Source Code: kernel\time\clockevents.c | Create Date:2022-07-28 10:50:06 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:lockevents_exchange_device - release and request clock devices*@old: device to release (can be NULL)*@new: device to request (can be NULL)* Called from various tick functions with clockevents_lock held and* interrupts disabled.
Proto:void clockevents_exchange_device(struct clock_event_device *old, struct clock_event_device *new)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct clock_event_device * | old | |
| struct clock_event_device * | new | 
| 576 | If old Then | 
| 577 | module_put(owner) | 
| 583 | If new Then | 
| 584 | BUG_ON(!clockevent_state_detached(new)) | 
| Name | Describe | 
|---|---|
| tick_install_replacement | |
| tick_check_new_device | Check, if the new registered device should be used. Called with* clockevents_lock held and interrupts disabled. | 
| tick_install_broadcast_device | Conditionally install/replace broadcast 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 |