Defined in 1 files as a function:
Referenced in 13 files:
- arch/powerpc/kernel/pci-common.c, line 1084
- arch/x86/kernel/apic/msi.c
- arch/x86/pci/common.c, line 684
- drivers/bus/fsl-mc/dprc-driver.c
- drivers/iommu/intel/dmar.c, line 338
- drivers/iommu/riscv/iommu-platform.c, line 85
- drivers/irqchip/irq-riscv-aplic-msi.c
- drivers/irqchip/irq-riscv-rpmi-sysmsi.c
- drivers/mailbox/riscv-sbi-mpxy-mbox.c
- drivers/pci/controller/vmd.c, line 1045
- drivers/pci/msi/irqdomain.c
- drivers/pci/probe.c
- kernel/irq/msi.c, line 1770
Smatch caller information:
drivers/pci/controller/vmd.c vmd_enable_domain() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/intel/dmar.c vf_inherit_msi_domain() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
arch/x86/kernel/apic/msi.c pci_dev_has_default_msi_parent_domain() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| HALF_LOCKED2 | global &dmar_global_lock |
arch/x86/kernel/apic/msi.c pci_dev_has_default_msi_parent_domain() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| HALF_LOCKED2 | global &dmar_global_lock |
drivers/pci/probe.c pci_dev_msi_domain() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/probe.c pci_host_bridge_msi_domain() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/probe.c pci_register_host_bridge() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/probe.c pci_set_bus_msi_domain() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 208,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/probe.c pci_set_msi_domain() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
kernel/irq/msi.c msi_device_has_isolated_msi() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dev | $0 |
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &group->mutex | ||
| HALF_LOCKED2 | &container->group_lock | ||
| HALF_LOCKED2 | &iommu->lock | ||
| TYPE_LOCK | (struct iommu_group)->mutex |
arch/x86/pci/common.c pcibios_device_add() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/bus/fsl-mc/dprc-driver.c dprc_cleanup() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/bus/fsl-mc/dprc-driver.c dprc_remove() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/bus/fsl-mc/dprc-driver.c dprc_scan_objects() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mc_bus->scan_mutex | ||
| HALF_LOCKED2 | &root_mc_bus->scan_mutex | ||
| TYPE_LOCK | (struct fsl_mc_bus)->scan_mutex |
drivers/bus/fsl-mc/dprc-driver.c dprc_setup() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/msi/irqdomain.c pci_create_device_domain() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->msi.domain | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/pci/msi/irqdomain.c pci_msi_domain_supports() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &_T->lock->msi.data->mutex |
drivers/pci/msi/irqdomain.c pci_msi_setup_msi_irqs() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->msi.domain | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &_T->lock->msi.data->mutex |
drivers/pci/msi/irqdomain.c pci_msi_teardown_msi_irqs() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &dev->dev.mutex |
drivers/iommu/riscv/iommu-platform.c riscv_iommu_platform_probe() -> dev_get_msi_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->msi.domain | 0,4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |