函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-iocost.c Create Date:2022-07-27 19:23:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ioc_start_period

函数原型:static void ioc_start_period(struct ioc *ioc, struct ioc_now *now)

返回类型:void

参数:

类型参数名称
struct ioc *ioc
struct ioc_now *now
878  lockdep_assert_held( & lock)
879  WARN_ON_ONCE(running != IOC_RUNNING)
881  write_seqcount_begin( & period_seqcount)
882  wallclock starttime 等于now
883  vtime starttime 等于vnow
884  write_seqcount_end( & period_seqcount)
886  expires等于jiffiessecs_to_jiffies: - convert microseconds to jiffies*@u: time in microseconds* conversion is done as follows:* - 'too large' values [that would result in larger than* MAX_JIFFY_OFFSET values] mean 'infinite timeout' too
887  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
调用者
名称描述
iocg_activate
ioc_timer_fn