Function report |
Source Code:kernel\time\tick-common.c |
Create Date:2022-07-28 10:50:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check, if the new registered device should be used. Called with* clockevents_lock held and interrupts disabled.
Proto:void tick_check_new_device(struct clock_event_device *newdev)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct clock_event_device * | newdev |
| 344 | cpu = smp_processor_id() |
| 345 | td = per_cpu(Tick devices, cpu) |
| 349 | If Not tick_check_percpu(curdev, newdev, cpu) Then Go to out_bc |
| 353 | If Not tick_check_preferred(curdev, newdev) Then Go to out_bc |
| 356 | If Not try_module_get(owner) Then Return |
| 364 | If Check, if the device is the broadcast device Then |
| 366 | curdev = NULL |
| 370 | If features & CLOCK_EVT_FEAT_ONESHOT Then tick_oneshot_notify() |
| 372 | Return |
| 374 | out_bc : |
| Name | Describe |
|---|---|
| clockevents_notify_released | Called after a notify add to make devices available which were* released from the notifier call. |
| clockevents_register_device | lockevents_register_device - register a clock event device*@dev: device to register |
| 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 |