函数逻辑报告 |
Source Code:kernel\time\timer.c |
Create Date:2022-07-27 11:39:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:expire_timers
函数原型:static void expire_timers(struct timer_base *base, struct hlist_head *head)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct timer_base * | base | |
struct hlist_head * | head |
1431 | 当非hlist_empty(head)循环 |
1435 | timer等于hlist_entry(first, structtimer_list, entry) |
1437 | running_timer等于timer |
1438 | detach_timer(timer, true) |
1442 | 如果flags按位与TIMER_IRQSAFE则 |
1443 | raw_spin_unlock( & lock) |
1444 | call_timer_fn(timer, fn, baseclk) |
1445 | running_timer = NULL |
1446 | raw_spin_lock( & lock) |
1447 | 否则 |
1448 | raw_spin_unlock_irq( & lock) |
1449 | call_timer_fn(timer, fn, baseclk) |
1450 | running_timer = NULL |
1451 | timer_sync_wait_running(base) |
名称 | 描述 |
---|---|
__run_timers | __run_timers - run all expired timers (if any) on this CPU.*@base: the timer vector to be processed. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |