Defined in 1 files as a function:

Referenced in 19 files:

Smatch caller information:

drivers/iommu/amd/iommu.c amd_iommu_set_pci_msi_domain() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &iommu_probe_device_lock

drivers/pci/controller/vmd.c vmd_enable_domain() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 d 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/pci/controller/vmd.c vmd_enable_domain() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/iommu/intel/dmar.c vf_inherit_msi_domain() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
NOCHECK_CALL

drivers/of/irq.c of_msi_configure() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 d 0,4096-ptr_max
BUF_SIZE 0 dev (-1),1616
BUF_SIZE 0 dev (-1),1616
BUF_SIZE 0 dev->bus (-1),168
BUF_SIZE 0 dev->dma_mask (-1),8
BUF_SIZE 0 dev->parent (-1),1616
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/pci/controller/pci-hyperv.c hv_pcie_init_irq_domain() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 d 4096-ptr_max
BUF_SIZE 1 d 376-s32max
BUF_SIZE 1 d 376-s32max
BUF_SIZE 1 d->msi_parent_ops 40
CAPPED_DATA 1 d->hwirq_max 1
DATA_SOURCE 1 d r msi_create_parent_irq_domain
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/pci/probe.c pci_set_bus_msi_domain() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/pci/probe.c pci_set_msi_domain() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &pci_rescan_remove_lock

arch/x86/pci/common.c pcibios_device_add() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/iommu/intel/irq_remapping.c intel_irq_remap_add_device() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
NOCHECK_CALL
LOCK2 global &dmar_global_lock

drivers/bus/fsl-mc/dprc-driver.c dprc_cleanup() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->msi.domain 1-u64max
PARAM_VALUE 1 d 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/bus/fsl-mc/dprc-driver.c dprc_setup() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->msi.domain 0
PARAM_VALUE 1 d 4096-ptr_max
DATA_SOURCE 1 d r fsl_mc_get_msi_parent
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/bus/fsl-mc/dprc-driver.c dprc_setup() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->msi.domain 0,4096-ptr_max
PARAM_VALUE 1 d 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/pci/endpoint/pci-ep-msi.c pci_epf_alloc_doorbell_msi() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 1 d 4096-ptr_max
DATA_SOURCE 1 d r of_msi_map_get_device_domain
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &dir->i_rwsem

drivers/cdx/cdx.c cdx_device_add() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 d 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &cdx_controller_lock

drivers/iommu/riscv/iommu-platform.c riscv_iommu_platform_probe() -> dev_set_msi_domain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 d 0,4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 1 d r irq_find_matching_fwnode
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL