函数逻辑报告 |
Source Code:kernel\time\posix-timers.c |
Create Date:2022-07-27 11:46:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This 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.
函数原型:static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer)
返回类型:enum hrtimer_restart
参数:
类型 | 参数 | 名称 |
---|---|---|
struct hrtimer * | timer |
344 | si_private等于0 |
348 | spin_lock_irqsave( & it_lock, flags) |
350 | it_active等于0 |
351 | 如果it_interval不等于0则si_private等于it_requeue_pending先自加 |
354 | 如果posix_timer_event(timr, si_private)则 |
360 | 如果it_interval不等于0则 |
361 | now等于hrtimer_cb_get_time(timer) |
396 | it_requeue_pending先自加 |
397 | it_active等于1 |
401 | unlock_timer(timr, flags) |
402 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |