Function report |
Source Code:kernel\time\posix-cpu-timers.c |
Create Date:2022-07-28 10:47:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Clean up a CPU-clock timer that is about to be destroyed.* This is called from timer deletion with the timer already locked.* If we return TIMER_RETRY, it's necessary to release the timer's lock* and try again
Proto:static int posix_cpu_timer_del(struct k_itimer *timer)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct k_itimer * | timer |
| 412 | ret = 0 |
| 414 | If WARN_ON_ONCE(!p) Then Return -EINVAL |
| 421 | sighand = lock_task_sighand(p, & flags) |
| 422 | If Value for the false possibility is greater at compile time(sighand == NULL) Then |
| 427 | WARN_ON_ONCE(head || timerqueue_node_queued( & node)) |
| 428 | Else |
| 429 | If firing Then ret = SPDX-License-Identifier: GPL-2.0 |
| 431 | Else cpu_timer_dequeue(ctmr) |
| 434 | unlock_task_sighand(p, & flags) |
| 437 | If Not ret Then put_task_struct(p) |
| 440 | Return ret |
| Name | Describe |
|---|---|
| do_cpu_nanosleep |
| 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 |