| 函数逻辑报告 | 
| Source Code: block\blk-iocost.c | Create Date:2022-07-27 19:24:57 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:ioc_pd_init
函数原型:static void ioc_pd_init(struct blkg_policy_data *pd)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct blkg_policy_data * | pd | 
| 1992 | iocg等于pd_to_iocg(pd) | 
| 1993 | blkg等于pdata_to_blkg - get blkg associated with policy private data*@pd: policy private data of interest*@pd is policy private data. Determine the blkg it's associated with. | 
| 2003 | atomic64_set( & done_vtime, vnow) | 
| 2004 | atomic64_set( & abs_vdebt, 0) | 
| 2005 | atomic64_set( & * The period this iocg was last active in. Used for deactivation * and invalidating `vtime`., atomic64_read( & c'd each period )) | 
| 2006 | 初始化链表头 | 
| 2007 | hweight_active等于HWEIGHT_WHOLE | 
| 2008 | hweight_inuse等于HWEIGHT_WHOLE | 
| 2010 | init_waitqueue_head( & waitq) | 
| 2012 | function等于iocg_waitq_timer_fn | 
| 2014 | function等于iocg_delay_timer_fn | 
| 2019 | tiocg等于blkg_to_iocg(tblkg) | 
| 2023 | spin_lock_irqsave( & lock, flags) | 
| 2024 | weight_updated(iocg) | 
| 2025 | spin_unlock_irqrestore( & lock, flags) | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |