Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-timers.c Create Date:2022-07-28 10:46:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Delete a POSIX.1b interval timer.

Proto:SYSCALL_DEFINE1(timer_delete, timer_t, timer_id)

Type:

Parameter:Nothing

987  timer = lock_timer(timer_id, & flags)
989  retry_delete :
990  If Not timer Then Return -EINVAL
993  If Value for the false possibility is greater at compile time(timer_delete_hook(timer) == SPDX-License-Identifier: GPL-2.0 ) Then
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  Go to retry_delete
999  spin_lock( & siglock)
1000  deletes entry from list
1001  spin_unlock( & siglock)
1006  it_signal = NULL
1008  unlock_timer(timer, flags)
1009  release_posix_timer(timer, IT_ID_SET)
1010  Return 0