Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:iolatency_ssd_stat

Proto:static size_t iolatency_ssd_stat(struct iolatency_grp *iolat, char *buf, size_t size)

Type:size_t

Parameter:

TypeParameterName
struct iolatency_grp *iolat
char *buf
size_tsize
894  latency_stat_init(iolat, & stat)
895  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
896  for_each_online_cpu(cpu)
898  s = per_cpu_ptr(stats, cpu)
899  latency_stat_sum(iolat, & stat, s)
901  preempt_enable()
903  If max_depth == UINT_MAX Then Return scnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
907  Return scnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
Caller
NameDescribe
iolatency_pd_stat