函数逻辑报告 |
Source Code:kernel\time\hrtimer.c |
Create Date:2022-07-27 11:40:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:The write_seqcount_barrier()s in __run_hrtimer() split the thing into 3* distinct sections:* - queued: the timer is queued* - callback: the timer is being ran* - post: the timer is inactive or (re)queued* On the read side we ensure we observe timer->state
函数原型:static void __run_hrtimer(struct hrtimer_cpu_base *cpu_base, struct hrtimer_clock_base *base, struct hrtimer *timer, ktime_t *now, unsigned long flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct hrtimer_cpu_base * | cpu_base | |
struct hrtimer_clock_base * | base | |
struct hrtimer * | timer | |
ktime_t * | now | |
unsigned long | flags |
1485 | lockdep_assert_held( & lock) |
1487 | debug_deactivate(timer) |
1507 | 如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_TIME_LOW_RES)则is_rel = false |
1515 | raw_spin_unlock_irqrestore( & lock, flags) |
1543 | WARN_ON_ONCE(running != timer) |
1544 | running = NULL |
名称 | 描述 |
---|---|
__hrtimer_run_queues |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |