Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 40 files:
- arch/powerpc/platforms/powernv/pci-ioda.c, line 1711
- arch/powerpc/platforms/pseries/msi.c, line 506
- arch/s390/pci/pci_irq.c, line 486
- arch/um/drivers/virt-pci.c, line 420
- arch/x86/hyperv/irqdomain.c, line 315
- drivers/irqchip/irq-alpine-msi.c, line 161
- drivers/irqchip/irq-armada-370-xp.c, line 334
- drivers/irqchip/irq-bcm2712-mip.c, line 170
- drivers/irqchip/irq-gic-its-msi-parent.c
- drivers/irqchip/irq-gic-v2m.c, line 264
- drivers/irqchip/irq-gic-v3-mbi.c, line 167
- drivers/irqchip/irq-imx-mu-msi.c, line 221
- drivers/irqchip/irq-loongson-pch-msi.c, line 153
- drivers/irqchip/irq-ls-scfg-msi.c, line 71
- drivers/irqchip/irq-msi-lib.c, line 134
- drivers/irqchip/irq-mvebu-gicp.c, line 168
- drivers/irqchip/irq-mvebu-odmi.c, line 164
- drivers/irqchip/irq-mvebu-sei.c, line 363
- drivers/irqchip/irq-riscv-imsic-platform.c, line 281
- drivers/irqchip/irq-sg2042-msi.c
- drivers/pci/controller/dwc/pcie-designware-host.c, line 38
- drivers/pci/controller/mobiveil/pcie-mobiveil-host.c, line 369
- drivers/pci/controller/pci-aardvark.c, line 1440
- drivers/pci/controller/pci-hyperv.c, line 2116
- drivers/pci/controller/pci-tegra.c, line 1686
- drivers/pci/controller/pci-xgene-msi.c, line 217
- drivers/pci/controller/pcie-altera-msi.c, line 89
- drivers/pci/controller/pcie-apple.c, line 678
- drivers/pci/controller/pcie-aspeed.c, line 679
- drivers/pci/controller/pcie-brcmstb.c, line 544
- drivers/pci/controller/pcie-iproc-msi.c, line 177
- drivers/pci/controller/pcie-mediatek-gen3.c, line 617
- drivers/pci/controller/pcie-mediatek.c, line 505
- drivers/pci/controller/pcie-rcar-host.c, line 701
- drivers/pci/controller/pcie-rzg3s-host.c, line 742
- drivers/pci/controller/pcie-xilinx-dma-pl.c, line 388
- drivers/pci/controller/pcie-xilinx-nwl.c, line 429
- drivers/pci/controller/pcie-xilinx.c, line 268
- drivers/pci/controller/plda/pcie-plda-host.c, line 150
- drivers/pci/controller/vmd.c, line 336
Smatch caller information:
drivers/pci/controller/vmd.c vmd_init_dev_msi_info() -> msi_lib_init_dev_msi_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | domain | 4096-ptr_max |
| PARAM_VALUE | 2 | real_parent->msi_parent_ops->chip_flags | 0-3 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 3 | info->alloc_data | (-1),72 |
| BUF_SIZE | 3 | info->chip | (-1),280 |
| BUF_SIZE | 3 | info->dev | (-1),1616 |
| BUF_SIZE | 3 | info->ops | (-1),80 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | domain | $1 |
| DATA_SOURCE | 2 | real_parent | $2 |
| DATA_SOURCE | 3 | info | $3 |
| NOSPEC | 3 | info->hwsize | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | info->hwsize | 1-s32max[c] |
| USER_DATA | 3 | info->hwsize | 2-2147483646[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->cma_area->available_count | |
| NO_OVERFLOW_SIMPLE | 0 | dev->p->deferred_probe_reason | |
| NO_OVERFLOW_SIMPLE | 3 | info->hwsize | |
| HALF_LOCKED2 | &_T->lock->msi.data->mutex |
drivers/pci/controller/pci-hyperv.c hv_pcie_init_dev_msi_info() -> msi_lib_init_dev_msi_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | domain | 4096-ptr_max |
| PARAM_VALUE | 2 | real_parent->msi_parent_ops->chip_flags | 0-3 |
| PARAM_VALUE | 3 | info | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 3 | info->alloc_data | (-1),72 |
| BUF_SIZE | 3 | info->chip | (-1),280 |
| BUF_SIZE | 3 | info->dev | (-1),1616 |
| BUF_SIZE | 3 | info->ops | (-1),80 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | domain | $1 |
| DATA_SOURCE | 2 | real_parent | $2 |
| DATA_SOURCE | 3 | info | $3 |
| NOSPEC | 3 | info->hwsize | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | info->hwsize | 1-s32max[c] |
| USER_DATA | 3 | info->hwsize | 2-2147483646[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->cma_area->available_count | |
| NO_OVERFLOW_SIMPLE | 0 | dev->p->deferred_probe_reason | |
| NO_OVERFLOW_SIMPLE | 3 | info->hwsize | |
| HALF_LOCKED2 | &_T->lock->msi.data->mutex |
drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_init_dev_msi_info() -> msi_lib_init_dev_msi_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | domain | 4096-ptr_max |
| PARAM_VALUE | 2 | real_parent->msi_parent_ops->chip_flags | 0-3 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 3 | info->alloc_data | (-1),72 |
| BUF_SIZE | 3 | info->chip | (-1),280 |
| BUF_SIZE | 3 | info->dev | (-1),1616 |
| BUF_SIZE | 3 | info->ops | (-1),80 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | domain | $1 |
| DATA_SOURCE | 2 | real_parent | $2 |
| DATA_SOURCE | 3 | info | $3 |
| NOSPEC | 3 | info->hwsize | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | info->hwsize | 1-s32max[c] |
| USER_DATA | 3 | info->hwsize | 2-2147483646[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->cma_area->available_count | |
| NO_OVERFLOW_SIMPLE | 0 | dev->p->deferred_probe_reason | |
| NO_OVERFLOW_SIMPLE | 3 | info->hwsize | |
| HALF_LOCKED2 | &_T->lock->msi.data->mutex |
arch/x86/hyperv/irqdomain.c hv_init_dev_msi_info() -> msi_lib_init_dev_msi_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | domain | 4096-ptr_max |
| PARAM_VALUE | 2 | real_parent->msi_parent_ops->chip_flags | 0-3 |
| PARAM_VALUE | 3 | info | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 3 | info->alloc_data | (-1),72 |
| BUF_SIZE | 3 | info->chip | (-1),280 |
| BUF_SIZE | 3 | info->dev | (-1),1616 |
| BUF_SIZE | 3 | info->ops | (-1),80 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | domain | $1 |
| DATA_SOURCE | 2 | real_parent | $2 |
| DATA_SOURCE | 3 | info | $3 |
| NOSPEC | 3 | info->hwsize | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | info->hwsize | 1-s32max[c] |
| USER_DATA | 3 | info->hwsize | 2-2147483646[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->cma_area->available_count | |
| NO_OVERFLOW_SIMPLE | 0 | dev->p->deferred_probe_reason | |
| NO_OVERFLOW_SIMPLE | 3 | info->hwsize | |
| HALF_LOCKED2 | &_T->lock->msi.data->mutex |
drivers/pci/controller/pcie-xilinx.c xilinx_init_dev_msi_info() -> msi_lib_init_dev_msi_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | domain | 4096-ptr_max |
| PARAM_VALUE | 2 | real_parent->msi_parent_ops->chip_flags | 0-3 |
| PARAM_VALUE | 3 | info | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 3 | info->alloc_data | (-1),72 |
| BUF_SIZE | 3 | info->chip | (-1),280 |
| BUF_SIZE | 3 | info->dev | (-1),1616 |
| BUF_SIZE | 3 | info->ops | (-1),80 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | domain | $1 |
| DATA_SOURCE | 2 | real_parent | $2 |
| DATA_SOURCE | 3 | info | $3 |
| NOSPEC | 3 | info->hwsize | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | info->hwsize | 1-s32max[c] |
| USER_DATA | 3 | info->hwsize | 2-2147483646[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->cma_area->available_count | |
| NO_OVERFLOW_SIMPLE | 0 | dev->p->deferred_probe_reason | |
| NO_OVERFLOW_SIMPLE | 3 | info->hwsize | |
| HALF_LOCKED2 | &_T->lock->msi.data->mutex |
kernel/irq/msi.c msi_create_device_irq_domain() -> (struct msi_parent_ops)->init_dev_msi_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->msi.data | 1-u64max |
| PARAM_VALUE | 0 | dev->msi.domain | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->msi.domain->flags | 256-u32max |
| PARAM_VALUE | 1 | domain | 4096-ptr_max |
| PARAM_VALUE | 1 | domain->flags | 256-u32max |
| PARAM_VALUE | 1 | domain->msi_parent_ops | 4096-ptr_max |
| PARAM_VALUE | 2 | real_parent | 4096-ptr_max |
| PARAM_VALUE | 2 | real_parent->flags | 256-u32max |
| PARAM_VALUE | 2 | real_parent->msi_parent_ops | 4096-ptr_max |
| PARAM_VALUE | 3 | info | 4096-ptr_max |
| PARAM_VALUE | 3 | info->alloc_data | 4096-ptr_max |
| PARAM_VALUE | 3 | info->chip | 4096-ptr_max |
| PARAM_VALUE | 3 | info->data | 0 |
| PARAM_VALUE | 3 | info->dev | 4096-ptr_max |
| PARAM_VALUE | 3 | info->flags | 128-u32max |
| PARAM_VALUE | 3 | info->hwsize | 1-s32max |
| PARAM_VALUE | 3 | info->ops | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| DATA_SOURCE | 0 | dev | $0 |
| NOSPEC | 3 | info->hwsize | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | info->hwsize | 1-s32max[c] |
| USER_DATA | 3 | info->hwsize | 2-u16max[c] |
| NO_OVERFLOW_SIMPLE | 3 | info->hwsize | |
| LOCK2 | &_T->lock->msi.data->mutex |
kernel/irq/msi.c msi_parent_init_dev_msi_info() -> (struct msi_parent_ops)->init_dev_msi_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | domain | 4096-ptr_max |
| PARAM_VALUE | 1 | domain->msi_parent_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | domain->msi_parent_ops->init_dev_msi_info | 4096-ptr_max |
| PARAM_VALUE | 2 | real_parent->msi_parent_ops->bus_select_mask | 0,8 |
| PARAM_VALUE | 2 | real_parent->msi_parent_ops->bus_select_token | 0,3,5,9-10,12-14 |
| PARAM_VALUE | 2 | real_parent->msi_parent_ops->chip_flags | 0-3 |
| PARAM_VALUE | 2 | real_parent->msi_parent_ops->init_dev_msi_info | 0,4096-ptr_max |
| PARAM_VALUE | 2 | real_parent->msi_parent_ops->prefix | 0,4096-ptr_max |
| PARAM_VALUE | 2 | real_parent->msi_parent_ops->required_flags | 0,3,515,1539,2097153,2097155,2097667 |
| PARAM_VALUE | 2 | real_parent->msi_parent_ops->supported_flags | 0,u16max,131071,196607,262143,1245183,1310719 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 3 | info->alloc_data | (-1),72 |
| BUF_SIZE | 3 | info->chip | (-1),280 |
| BUF_SIZE | 3 | info->dev | (-1),1616 |
| BUF_SIZE | 3 | info->ops | (-1),80 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | real_parent | $2 |
| DATA_SOURCE | 3 | info | $3 |
| CONTAINER | 1 | -32-256+0 | $(-1) |
| NOSPEC | 3 | info->hwsize | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | info->hwsize | 1-s32max[c] |
| USER_DATA | 3 | info->hwsize | 2-2147483646[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->cma_area->available_count | |
| NO_OVERFLOW_SIMPLE | 0 | dev->p->deferred_probe_reason | |
| NO_OVERFLOW_SIMPLE | 3 | info->hwsize | |
| HALF_LOCKED2 | &_T->lock->msi.data->mutex |