Defined in 2 files as a function:
Referenced in 21 files:
- arch/mips/lantiq/irq.c, line 141
- arch/x86/hyperv/irqdomain.c, line 200
- arch/x86/kernel/apic/msi.c, line 43
- arch/x86/kernel/apic/vector.c, line 428
- drivers/iommu/hyperv/hv-irq-remap-x86.c, line 203
- drivers/iommu/intel/irq_remapping.c, line 1125
- drivers/irqchip/irq-armada-370-xp.c, line 238
- drivers/irqchip/irq-gic-v3.c, line 667
- drivers/irqchip/irq-ls-scfg-msi.c, line 96
- drivers/irqchip/irq-mips-gic.c
- drivers/irqchip/irq-realtek-rtl.c
- drivers/irqchip/irq-sifive-plic.c
- drivers/pci/controller/pci-hyperv.c
- drivers/pci/controller/pci-xgene-msi.c, line 136
- include/linux/irq.h, line 938
- kernel/irq/chip.c, line 542
- kernel/irq/cpuhotplug.c
- kernel/irq/debugfs.c, line 32
- kernel/irq/irqdesc.c, line 784
- kernel/irq/manage.c
- kernel/irq/proc.c, line 65
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/en_cq.c irq_get_effective_affinity_mask() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| BUF_SIZE | 0 | d | 56 |
| DATA_SOURCE | 0 | d | r irq_get_irq_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &priv->mdev->state_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |
drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c irq_get_effective_affinity_mask() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| BUF_SIZE | 0 | d | 56 |
| DATA_SOURCE | 0 | d | r irq_get_irq_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pool->lock | ||
| HALF_LOCKED2 | &dev->intf_state_mutex | ||
| HALF_LOCKED2 | &table->comp_lock | ||
| TYPE_LOCK | (struct mlx5_irq_pool)->lock |
kernel/irq/proc.c show_irq_affinity() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
arch/x86/kernel/apic/msi.c msi_set_affinity() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| BUF_SIZE | 0 | d | (-1),56 |
| BUF_SIZE | 0 | d | (-1),56 |
| DATA_SOURCE | 0 | d | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
drivers/iommu/hyperv/hv-irq-remap-x86.c hyperv_root_ir_compose_msi_msg() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| BUF_SIZE | 0 | d | (-1),56 |
| BUF_SIZE | 0 | d | (-1),56 |
| DATA_SOURCE | 0 | d | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &ioapic_lock | ||
| HALF_LOCKED2 | irq |
drivers/pci/controller/pci-hyperv.c hv_compose_msi_msg() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| BUF_SIZE | 0 | d | (-1),56 |
| BUF_SIZE | 0 | d | (-1),56 |
| DATA_SOURCE | 0 | d | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &_T->lock->msi.data->mutex |
drivers/pci/controller/pci-hyperv.c hv_irq_retarget_interrupt() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| BUF_SIZE | 0 | d | (-1),56 |
| BUF_SIZE | 0 | d | (-1),56 |
| DATA_SOURCE | 0 | d | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | _T->flags |
kernel/irq/manage.c irq_thread_check_affinity() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
kernel/irq/manage.c irq_validate_effective_affinity() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| BUF_SIZE | 0 | d | (-1),56 |
| BUF_SIZE | 0 | d | (-1),56 |
| DATA_SOURCE | 0 | d | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | &mask_lock | ||
| HALF_LOCKED2 | irq |
arch/x86/hyperv/irqdomain.c hv_map_msi_interrupt() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| BUF_SIZE | 0 | d | (-1)-0,56 |
| BUF_SIZE | 0 | d | (-1)-0,56 |
| DATA_SOURCE | 0 | d | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &ioapic_lock | ||
| HALF_LOCKED2 | irq |
kernel/irq/debugfs.c irq_debug_show_masks() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| BUF_SIZE | 0 | d | 56 |
| DATA_SOURCE | 0 | d | r irq_desc_get_irq_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
arch/x86/kernel/apic/vector.c activate_reserved() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| BUF_SIZE | 0 | d | (-1),56 |
| BUF_SIZE | 0 | d | (-1),56 |
| DATA_SOURCE | 0 | d | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | global &vector_lock |
kernel/irq/chip.c irq_can_handle_pm() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| BUF_SIZE | 0 | d | 56 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &desc->lock | ||
| TYPE_LOCK | (struct irq_desc)->lock |
kernel/irq/cpuhotplug.c hk_should_isolate() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| BUF_SIZE | 0 | d | 56 |
| DATA_SOURCE | 0 | d | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| LOCK2 | global &sparse_irq_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &cpuhp_state_mutex |
kernel/irq/cpuhotplug.c irq_needs_fixup() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| BUF_SIZE | 0 | d | 56 |
| DATA_SOURCE | 0 | d | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &desc->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct irq_desc)->lock |
drivers/net/ethernet/mellanox/mlx5/core/en_main.c irq_get_effective_affinity_mask() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| BUF_SIZE | 0 | d | 56 |
| DATA_SOURCE | 0 | d | r irq_get_irq_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->state_lock | ||
| TYPE_LOCK | (struct mlx5e_priv)->state_lock |
drivers/iommu/intel/irq_remapping.c get_pi_desc_addr() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| BUF_SIZE | 0 | d | (-1),56 |
| BUF_SIZE | 0 | d | (-1),56 |
| DATA_SOURCE | 0 | d | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/google/gve/gve_main.c irq_get_effective_affinity_mask() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| BUF_SIZE | 0 | d | 56 |
| DATA_SOURCE | 0 | d | r irq_get_irq_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
kernel/irq/irqdesc.c demux_redirect_remote() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &desc->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct irq_desc)->lock |
drivers/pci/controller/pci-xgene-msi.c xgene_compose_msi_msg() -> irq_data_get_effective_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| BUF_SIZE | 0 | d | (-1),56 |
| BUF_SIZE | 0 | d | (-1),56 |
| DATA_SOURCE | 0 | d | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &ioapic_lock | ||
| HALF_LOCKED2 | irq |