Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-iocost.c Create Date:2022-07-28 17:47:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ioc_start_period

Proto:static void ioc_start_period(struct ioc *ioc, struct ioc_now *now)

Type:void

Parameter:

TypeParameterName
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 = jiffies + secs_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
Caller
NameDescribe
iocg_activate
ioc_timer_fn