Documented in 2 files:
- drivers/pci/endpoint/functions/pci-epf-ntb.c, line 1267
- drivers/pci/endpoint/functions/pci-epf-vntb.c, line 493
Defined in 2 files as a function:
- drivers/pci/endpoint/functions/pci-epf-ntb.c, line 1275 (as a function)
- drivers/pci/endpoint/functions/pci-epf-vntb.c, line 502 (as a function)
Referenced in 2 files:
- drivers/pci/endpoint/functions/pci-epf-ntb.c, line 1701
- drivers/pci/endpoint/functions/pci-epf-vntb.c, line 961
Smatch caller information:
drivers/pci/endpoint/functions/pci-epf-ntb.c epf_ntb_epc_init_interface() -> epf_ntb_configure_interrupt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->epf | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->epf->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->epf->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->epf->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->epf->driver->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->epf->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->epf->epc->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | ntb->epf->epc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ntb->epf->epc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ntb->epf->epc->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ntb->epf->epc->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ntb->epf->epc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ntb->epf->epc->max_functions | 1-255 |
| PARAM_VALUE | 0 | ntb->epf->func_no | 0-254 |
| PARAM_VALUE | 0 | ntb->epf->header->interrupt_pin | 0-255 |
| PARAM_VALUE | 0 | ntb->epf->sec_epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->epf->sec_epc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ntb->epf->sec_epc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ntb->epf->sec_epc->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ntb->epf->sec_epc->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ntb->epf->sec_epc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ntb->epf->sec_epc->max_functions | 1-255 |
| PARAM_VALUE | 0 | ntb->epf->sec_epc_func_no | 0-254 |
| PARAM_VALUE | 0 | ntb->num_mws | 1-s32max |
| PARAM_VALUE | 1 | type | 0-1 |
| BUF_SIZE | 0 | ntb | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ntb | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ntb->epf->func_no | 1 |
| CAPPED_DATA | 0 | ntb->epf->sec_epc_func_no | 1 |
| CAPPED_DATA | 0 | ntb->epf->vfunc_no | 1 |
| DATA_SOURCE | 0 | ntb | $0 |
| DATA_SOURCE | 1 | type | $1 |
| FUZZY_MAX | 1 | type | 1 |
| HARD_MAX | 1 | type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ntb | unit_byte |
| 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-vntb.c epf_ntb_epc_init() -> epf_ntb_configure_interrupt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->db_count | 0-s32max |
| PARAM_VALUE | 0 | ntb->epf | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->epf->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->epf->epc->dev.parent->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ntb->epf->epc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ntb->epf->epc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ntb->epf->epc->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ntb->epf->epc->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ntb->epf->epc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ntb->epf->epc->max_functions | 1-255 |
| PARAM_VALUE | 0 | ntb->epf->func_no | 0-254 |
| PARAM_VALUE | 0 | ntb->num_mws | 1-s32max |
| PARAM_VALUE | 0 | ntb->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->reg->db_entry_size | 4 |
| PARAM_VALUE | 0 | ntb->reg->num_mws | 1-s32max |
| PARAM_VALUE | 0 | ntb->reg->spad_offset | 308 |
| PARAM_VALUE | 0 | *ntb->epf->epc->dev.driver_data->bar_to_atu | 0-64 |
| PARAM_VALUE | 0 | *ntb->epf_ntb_bar | s32min-s32max |
| PARAM_VALUE | 0 | *ntb->reg->db_data | 0-4294967295 |
| PARAM_VALUE | 0 | *ntb->reg->db_offset | 0 |
| BUF_SIZE | 0 | ntb | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ntb | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ntb->db_count | 1 |
| CAPPED_DATA | 0 | ntb->epf->func_no | 1 |
| CAPPED_DATA | 0 | ntb->epf->vfunc_no | 1 |
| DATA_SOURCE | 0 | ntb | $0 |
| PARAM_COMPARE | 0 | ntb->epf->epc->max_functions | > $0->epf->func_no |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ntb | unit_byte |
| LOCK2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &epf->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct pci_epf)->lock |