Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
block/blk-iocost.c ioc_check_iocgs() -> __propagate_weights()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocg | 4096-ptr_max |
| PARAM_VALUE | 0 | iocg->abs_vdebt | 0 |
| PARAM_VALUE | 0 | iocg->delay | 0 |
| PARAM_VALUE | 0 | iocg->ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | iocg->waitq.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | active | 0 |
| PARAM_VALUE | 2 | inuse | 0 |
| PARAM_VALUE | 3 | save | 0 |
| PARAM_VALUE | 4 | now | 8240678478204813312 |
| CAPPED_DATA | 0 | &iocg->active_list | 1 |
| DATA_SOURCE | 4 | now | $1 |
| PARAM_COMPARE | 0 | &iocg->waitq.head | == $0->waitq.head.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &iocg->waitq.lock | |
| TYPE_LOCK | (struct ioc)->lock | ||
| TYPE_LOCK | (struct wait_queue_head)->lock |
block/blk-iocost.c ioc_timer_fn() -> __propagate_weights()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocg | 4096-ptr_max |
| PARAM_VALUE | 0 | iocg->abs_vdebt | 0 |
| PARAM_VALUE | 0 | iocg->ioc | 4096-ptr_max |
| PARAM_VALUE | 3 | save | 1 |
| PARAM_VALUE | 4 | now | 8240678478204813312 |
| CAPPED_DATA | 0 | &iocg->active_list | 1 |
| CAPPED_DATA | 0 | &iocg->surplus_list | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct ioc)->lock |
block/blk-iocost.c propagate_weights() -> __propagate_weights()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocg | 4096-ptr_max |
| PARAM_VALUE | 0 | iocg->ioc | 4096-ptr_max |
| PARAM_VALUE | 4 | now | 1514489097105772544,3907610017061425152,5497530922906451968,6482822333451345920,7018507348405301248,7040180472332210176,8240678478204813312 |
| DATA_SOURCE | 0 | iocg | $0 |
| DATA_SOURCE | 1 | active | $1 |
| DATA_SOURCE | 2 | inuse | $2 |
| DATA_SOURCE | 3 | save | $3 |
| DATA_SOURCE | 4 | now | $4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ioc->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &iocg->ioc->lock | |
| HALF_LOCKED2 | 0 | &iocg->waitq.lock |
block/blk-iocost.c transfer_surpluses() -> __propagate_weights()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocg | 4096-ptr_max |
| PARAM_VALUE | 0 | iocg->abs_vdebt | 0 |
| PARAM_VALUE | 0 | iocg->ancestors | 4096-ptr_max |
| PARAM_VALUE | 3 | save | 1 |
| PARAM_VALUE | 4 | now | 8240678478204813312 |
| DATA_SOURCE | 2 | inuse | r div64_u64 |
| DATA_SOURCE | 4 | now | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct ioc)->lock |