Defined in 1 files as a function:
Referenced in 21 files:
- arch/mips/bcm63xx/irq.c, line 62
- arch/mips/cavium-octeon/octeon-irq.c
- arch/parisc/kernel/irq.c, line 515
- arch/powerpc/sysdev/xics/ics-native.c, line 57
- arch/powerpc/sysdev/xics/ics-opal.c, line 52
- arch/powerpc/sysdev/xics/ics-rtas.c, line 37
- arch/powerpc/sysdev/xive/common.c, line 625
- arch/s390/pci/pci_irq.c, line 154
- arch/sh/kernel/irq.c, line 235
- arch/sparc/kernel/irq_64.c
- arch/sparc/kernel/leon_kernel.c
- arch/x86/kernel/apic/vector.c
- arch/xtensa/kernel/irq.c, line 179
- drivers/irqchip/irq-bcm6345-l1.c, line 113
- drivers/sh/intc/chip.c
- include/linux/irq.h
- kernel/irq/chip.c, line 276
- kernel/irq/cpuhotplug.c
- kernel/irq/debugfs.c, line 29
- kernel/irq/ipi.c
- kernel/irq/msi.c, line 1252
Smatch caller information:
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c irq_get_affinity_mask() -> irq_data_get_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 |
kernel/irq/msi.c msi_init_virq() -> irq_data_get_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 | r irq_domain_get_irq_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &_T->lock->msi.data->mutex |
kernel/irq/debugfs.c irq_debug_show_masks() -> irq_data_get_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 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_managed() -> irq_data_get_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 | |||
| LOCK2 | flags | ||
| LOCK2 | global &vector_lock |
arch/x86/kernel/apic/vector.c activate_reserved() -> irq_data_get_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 | |||
| LOCK2 | flags | ||
| LOCK2 | global &vector_lock |
arch/x86/kernel/apic/vector.c assign_irq_vector_any_locked() -> irq_data_get_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 |
arch/x86/kernel/apic/vector.c assign_managed_vector() -> irq_data_get_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 | |||
| LOCK2 | global &vector_lock | ||
| HALF_LOCKED2 | flags |
arch/x86/kernel/apic/vector.c reserve_managed_vector() -> irq_data_get_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 |
| BUF_SIZE | 0 | d->chip | (-1),280 |
| BUF_SIZE | 0 | d->chip_data | (-1),56 |
| DATA_SOURCE | 0 | d | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &domain->root->mutex |
arch/x86/kernel/apic/vector.c vector_free_reserved_and_managed() -> irq_data_get_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 | ||
| HALF_LOCKED2 | &domain->root->mutex |
kernel/irq/chip.c irq_startup() -> irq_data_get_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| BUF_SIZE | 0 | d | 56 |
| DATA_SOURCE | 0 | d | r irq_desc_get_irq_data |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
kernel/irq/cpuhotplug.c irq_needs_fixup() -> irq_data_get_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 |
kernel/irq/cpuhotplug.c irq_restore_affinity_of_irq() -> irq_data_get_affinity_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| BUF_SIZE | 0 | d | 56 |
| DATA_SOURCE | 0 | d | r irq_desc_get_irq_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &sparse_irq_lock | ||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
kernel/irq/cpuhotplug.c migrate_one_irq() -> irq_data_get_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 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &desc->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct irq_desc)->lock |