函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kyber_completed_request

函数原型:static void kyber_completed_request(struct request *rq, u64 now)

返回类型:void

参数:

类型参数名称
struct request *rq
u64now
637  kqd等于elevator_data
642  sched_domain等于kyber_sched_domain( op and common flags )
643  如果sched_domain恒等于KYBER_OTHER则返回
646  cpu_latency等于get_cpu_ptr(cpu_latency)
647  target等于 Target latencies in nanoseconds. [sched_domain]
648  add_latency_sample(cpu_latency, sched_domain, KYBER_TOTAL_LATENCY, target, now - Time that this request was allocated for this IO. )
650  add_latency_sample(cpu_latency, sched_domain, KYBER_IO_LATENCY, target, now - Time that I/O was submitted to the device. )
652  put_cpu_ptr(cpu_latency)
654  mer_reduce - Modify a timer's timeout if it would reduce the timeout*@timer: The timer to be modified*@expires: New timeout in jiffies* timer_reduce() is very similar to mod_timer(), except that it will only* modify a running timer if that would reduce