函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:iolatency_pd_offline

函数原型:static void iolatency_pd_offline(struct blkg_policy_data *pd)

返回类型:void

参数:

类型参数名称
struct blkg_policy_data *pd
1002  iolat等于pd_to_lat(pd)
1003  blkg等于lat_to_blkg(iolat)
1004  blkiolat等于blkiolat
1007  ret等于rn 1 for enabling iolatency, return -1 for disabling iolatency, otherwise* return 0.
1008  如果ret恒等于1则atomic_inc( & enabled)
1010  如果ret恒等于负1则atomic_dec( & enabled)
1012  iolatency_clear_scaling(blkg)