函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-timers.c Create Date:2022-07-27 11:46:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Delete a POSIX.1b interval timer.

函数原型:SYSCALL_DEFINE1(timer_delete, timer_t, timer_id)

返回类型:

参数:

987  timer等于lock_timer(timer_id, & flags)
989  retry_delete :
990  如果非timer则返回:负EINVAL
993  如果此条件成立可能性小(为编译器优化)(timer_delete_hook(timer) == SPDX-License-Identifier: GPL-2.0 )则
995  timer等于On PREEMPT_RT this prevent priority inversion against softirq kthread in* case it gets preempted while executing a timer callback. See comments in* hrtimer_cancel_wait_running. For PREEMPT_RT=n this just results in a* cpu_relax().
996  转到:retry_delete
999  加自旋锁
1000  删除链表项
1001  自旋锁解锁
1006  it_signal = NULL
1008  unlock_timer(timer, flags)
1009  release_posix_timer(timer, IT_ID_SET)
1010  返回:0