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:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:unlock_timer

Proto:static inline void unlock_timer(struct k_itimer *timr, unsigned long flags)

Type:void

Parameter:

TypeParameterName
struct k_itimer *timr
unsigned longflags
164  spin_unlock_irqrestore( & it_lock, flags)
Caller
NameDescribe
posixtimer_rearmThis function is exported for use by the signal deliver code. It is* called just prior to the info block being released and passes that* block to us. It's function is to update the overrun entry AND to* restart the timer
posix_timer_fnThis function gets called when a POSIX.1b interval timer expires. It* is used as a callback from the kernel internal timer. The* run_timer_list code ALWAYS calls with interrupts on.* This code is for CLOCK_REALTIME* and CLOCK_MONOTONIC* timers.
do_timer_gettimeGet the time remaining on a POSIX.1b interval timer.
SYSCALL_DEFINE1Get the number of overruns of a POSIX
timer_wait_runningOn 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().
do_timer_settime
SYSCALL_DEFINE1Delete a POSIX.1b interval timer.