Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

block/blk-iocost.c ioc_check_iocgs() -> commit_weights()

Type Parameter Key Value
PARAM_VALUE 0 ioc 4096-ptr_max
PARAM_VALUE 0 ioc->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->params.qos 4096-ptr_max
CAPPED_DATA 0 &ioc->active_iocgs 1
DATA_SOURCE 0 ioc $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &ioc->lock
TYPE_LOCK (struct ioc)->lock

block/blk-iocost.c ioc_timer_fn() -> commit_weights()

Type Parameter Key Value
PARAM_VALUE 0 ioc 4096-ptr_max
PARAM_VALUE 0 ioc->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->params.qos 4096-ptr_max
PARAM_VALUE 0 ioc->weights_updated 0
CAPPED_DATA 0 &ioc->active_iocgs 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &ioc->lock
TYPE_LOCK (struct ioc)->lock

block/blk-iocost.c propagate_weights() -> commit_weights()

Type Parameter Key Value
PARAM_VALUE 0 ioc 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ioc->lock
HALF_LOCKED2 &iocg->waitq.lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
HALF_LOCKED2 0 &ioc->lock