Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/nvme/target/pci-epf.c nvmet_pci_epf_epc_init() -> pci_epc_write_header()

Type Parameter Key Value
PARAM_VALUE 2 vfunc_no 0
PARAM_VALUE 3 header 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
LOCK2 &epf->lock
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &epc->list_lock
TYPE_LOCK (struct pci_epf)->lock

drivers/pci/endpoint/functions/pci-epf-ntb.c epf_ntb_epc_init_interface() -> pci_epc_write_header()

Type Parameter Key Value
PARAM_VALUE 2 vfunc_no 0-1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
LOCK2 &dir->i_rwsem
HALF_LOCKED2 &epf->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct pci_epf)->lock

drivers/pci/endpoint/functions/pci-epf-test.c pci_epf_test_epc_init() -> pci_epc_write_header()

Type Parameter Key Value
PARAM_VALUE 2 vfunc_no 0-1
FUZZY_MAX 2 vfunc_no 1
HARD_MAX 2 vfunc_no 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
LOCK2 &epf->lock
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &epc->list_lock
TYPE_LOCK (struct pci_epf)->lock

drivers/pci/endpoint/functions/pci-epf-mhi.c pci_epf_mhi_epc_init() -> pci_epc_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->list.prev->prev 5159360019465732096
PARAM_VALUE 0 epc->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 epc->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 epc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 epc->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 epc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 epc->max_functions 1-255
PARAM_VALUE 0 epc->max_vfs 0,4096-ptr_max
PARAM_VALUE 0 epc->ops->set_msi 4096-ptr_max
PARAM_VALUE 0 *epc->dev.driver_data->bar_to_atu 0-5
PARAM_VALUE 1 func_no 0-254
CAPPED_DATA 1 func_no 1
CAPPED_DATA 2 vfunc_no 1
PARAM_COMPARE 0 epc->max_functions > $1
PARAM_COMPARE 1 func_no < $0->max_functions
CONSTRAINT 1 func_no <2180
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
LOCK2 &epf->lock
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &epc->list_lock
TYPE_LOCK (struct pci_epf)->lock

drivers/pci/endpoint/functions/pci-epf-vntb.c epf_ntb_epc_init() -> pci_epc_write_header()

Type Parameter Key Value
PARAM_VALUE 0 epc 4096-ptr_max
PARAM_VALUE 1 func_no 0-254
PARAM_VALUE 2 vfunc_no 0-1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
LOCK2 &dir->i_rwsem
HALF_LOCKED2 &epf->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct pci_epf)->lock