函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ake a snapshot of the current [v]time and vrate

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

返回类型:void

参数:

类型参数名称
struct ioc *ioc
struct ioc_now *now
857  now_ns等于ktime_get()
858  now等于ktime_to_us(now_ns)
859  vrate等于atomic64_read( & vtime_rate)
869  循环
870  seq等于ad_seqcount_begin - begin a seq-read critical section*@s: pointer to seqcount_t* Returns: count to be passed to read_seqcount_retry* read_seqcount_begin opens a read critical section of the given seqcount
871  vnow等于vtime starttime nowwallclock starttime 的差乘vrate
873 ad_seqcount_retry - end a seq-read critical section*@s: pointer to seqcount_t*@start: count, from read_seqcount_begin* Returns: 1 if retry is required, else 0* read_seqcount_retry closes a read critical section of the given seqcount循环
调用者
名称描述
iocg_activate
iocg_waitq_timer_fn
iocg_delay_timer_fn
ioc_timer_fn
ioc_rqos_merge
ioc_pd_init