Function report |
Source Code:block\blk-iocost.c |
Create Date:2022-07-28 17:49:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ioc_pd_init
Proto:static void ioc_pd_init(struct blkg_policy_data *pd)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
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 )) |
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) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |