Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pci/endpoint/pci-epc-core.c pci_epc_write_header() -> (struct pci_epc_ops)->write_header()

Type Parameter Key Value
PARAM_VALUE 0 epc 4096-ptr_max
PARAM_VALUE 0 epc->lock.dep_map->name 0-255
PARAM_VALUE 0 epc->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 epc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 epc->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 epc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 epc->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 epc->lock.wait_lock.owner (-1)
PARAM_VALUE 0 epc->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 epc->max_functions 1-255
PARAM_VALUE 0 epc->max_vfs 0,4096-ptr_max
PARAM_VALUE 0 epc->ops 4096-ptr_max
PARAM_VALUE 0 epc->ops->set_msi 4096-ptr_max
PARAM_VALUE 0 epc->ops->write_header 667463328605679616,7072226721366446080,7545482775950430208,8980401486833491968
PARAM_VALUE 1 fn 0-254
PARAM_VALUE 2 vfn 0-1
CAPPED_DATA 0 &epc->lock 1
CAPPED_DATA 1 fn 1
CAPPED_DATA 2 vfn 1
DATA_SOURCE 0 epc $0
DATA_SOURCE 1 fn $1
DATA_SOURCE 2 vfn $2
DATA_SOURCE 3 hdr $3
FUZZY_MAX 2 vfn 1
CONTAINER 0 -0-1784+0 $(-1)
PARAM_COMPARE 0 epc->max_functions > $1
PARAM_COMPARE 1 fn < $0->max_functions
CONSTRAINT 1 fn <2180
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &epc->lock
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &epf->lock
TYPE_LOCK (struct pci_epc)->lock
TYPE_LOCK (struct pci_epf)->lock