函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:CLOCKs: The POSIX standard calls for a couple of clocks and allows us* to implement others

函数原型:static struct k_itimer *__lock_timer(timer_t timer_id, unsigned long *flags)

返回类型:struct k_itimer

参数:

类型参数名称
timer_ttimer_id
unsigned long *flags
596  如果timer_id大于INT_MAX则返回:NULL
599  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
600  timr等于posix_timer_by_id(timer_id)
601  如果timr
602  spin_lock_irqsave( & it_lock, * flags)
603  如果it_signal恒等于signal
605  返回:timr
607  spin_unlock_irqrestore( & it_lock, * flags)
609  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
611  返回:NULL