函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ioc_pd_free

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

返回类型:void

参数:

类型参数名称
struct blkg_policy_data *pd
2030  iocg等于pd_to_iocg(pd)
2031  ioc等于ioc
2033  如果ioc
2034  加自旋锁
2035  如果非链表为空
2039  自旋锁解锁
2041  hrtimer_cancel - cancel a timer and wait for the handler to finish.*@timer: the timer to be cancelled* Returns:* 0 when the timer was not active* 1 when the timer was active
2042  hrtimer_cancel - cancel a timer and wait for the handler to finish.*@timer: the timer to be cancelled* Returns:* 0 when the timer was not active* 1 when the timer was active
2044  释放内存