函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:unlock_timer

函数原型:static inline void unlock_timer(struct k_itimer *timr, unsigned long flags)

返回类型:void

参数:

类型参数名称
struct k_itimer *timr
unsigned longflags
164  spin_unlock_irqrestore( & it_lock, flags)
调用者
名称描述
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.