函数逻辑报告 | 
Source Code:kernel\time\timer.c | 
Create Date:2022-07-27 11:39:40 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:mod_timer - modify a timer's timeout*@timer: the timer to be modified*@expires: new timeout in jiffies* mod_timer() is a more efficient way to update the expire field of an* active timer (if the timer is inactive it will be activated)* mod_timer(timer,
函数原型:int mod_timer(struct timer_list *timer, unsigned long expires)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct timer_list * | timer | |
| unsigned long | expires | 
| 1100 | 返回:__mod_timer(timer, expires, 0) | 
| 名称 | 描述 | 
|---|---|
| uv_heartbeat | percpu heartbeat timer | 
| idle_worker_timeout | |
| pool_mayday_timeout | |
| maybe_create_worker | maybe_create_worker - create a new worker if necessary*@pool: pool to create a new worker for* Create a new worker for @pool if necessary | 
| poll_spurious_irqs | |
| note_interrupt | |
| rcu_torture_reader | RCU 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. | 
| add_timer | add_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 | 
| writeout_period | On idle system, we can be called long after we scheduled because we use* deferred timers so count with missed periods. | 
| laptop_io_completion | We've spun up the disk and we're in laptop mode: schedule writeback* of all dirty data a few seconds from now. If the flush is already scheduled* then push it back - the user is still using the disk. | 
| blk_mq_timeout_work | |
| throtl_schedule_pending_timer | Call with queue lock held | 
| blkcg_iolatency_throttle | |
| __start_timer | |
| worker_enter_idle | worker_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). | 
| wb_domain_writeout_inc | |
| blk_stat_activate_nsecs | lk_stat_activate_nsecs() - Gather block statistics during a time window in* nanoseconds.*@cb: The callback.*@nsecs: Number of nanoseconds to gather statistics for.* The timer callback will be called when the window expires. | 
| blk_stat_activate_msecs | lk_stat_activate_msecs() - Gather block statistics during a time window in* milliseconds.*@cb: The callback.*@msecs: Number of milliseconds to gather statistics for.* The timer callback will be called when the window expires. | 
| blk_add_timer | lk_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. | 
| key_schedule_gc | Schedule a garbage collection run.* - time precision isn't particularly important | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |