函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\timer.h Create Date:2022-07-27 06:39:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mer_pending - is a timer pending?*@timer: the timer in question* timer_pending will tell whether a given timer is currently pending,* or not. Callers must ensure serialization wrt. other operations done* to this timer, eg

函数原型:static inline int timer_pending(const struct timer_list *timer)

返回类型:int

参数:

类型参数名称
const struct timer_list *timer
167  返回:pprev != NULL
调用者
名称描述
__start_timer
__queue_delayed_work
worker_enter_idleworker_enter_idle - enter idle state*@worker: worker which is entering idle state*@worker is entering idle state. Update stats and idle timer if* necessary.* LOCKING:* spin_lock_irq(pool->lock).
rcu_torture_readerRCU torture reader kthread. Repeatedly dereferences rcu_torture_current,* incrementing the corresponding element of the pipeline array. The* counter in the element should never be greater than 1, otherwise, the* RCU implementation is broken.
detach_if_pending
__mod_timer
add_timeradd_timer - start a timer*@timer: the timer to be added* The kernel will do a ->function(@timer) callback from the* timer interrupt at the ->expires point in the future
add_timer_onadd_timer_on - start a timer on a particular CPU*@timer: the timer to be added*@cpu: the CPU to start it on* This is not very scalable on SMP. Double adds are not possible.
del_timerdel_timer - deactivate a timer.*@timer: the timer to be deactivated* del_timer() deactivates a timer - this works on both active and inactive* timers.* The function returns whether it has deactivated a pending timer or not.* (ie
blk_add_timerlk_add_timer - Start timeout timer for a single request*@req: request that is about to start running.* Notes:* Each request has its own timer, and as it is added to the queue, we* set up the timer. When the request completes, we cancel the timer.
blkcg_iolatency_throttle
blk_stat_is_activelk_stat_is_active() - Check if a block statistics callback is currently* gathering statistics.*@cb: The callback.