Defined in 1 files as a function:
Referenced in 7 files:
- arch/x86/kernel/apic/vector.c
- drivers/irqchip/irq-gic-v3-its.c
- kernel/irq/chip.c
- kernel/irq/cpuhotplug.c
- kernel/irq/irq_test.c
- kernel/irq/manage.c
- kernel/irq/msi.c, line 1251
Smatch caller information:
kernel/irq/manage.c irq_can_set_affinity_usr() -> irqd_affinity_is_managed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
kernel/irq/manage.c irq_do_set_affinity() -> irqd_affinity_is_managed()
| 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 |
kernel/irq/manage.c irq_setup_affinity() -> irqd_affinity_is_managed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mask_lock | ||
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
kernel/irq/msi.c msi_init_virq() -> irqd_affinity_is_managed()
| 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/irq_test.c irq_cpuhotplug_test() -> irqd_affinity_is_managed()
| 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 |
kernel/irq/irq_test.c irq_shutdown_depth_test() -> irqd_affinity_is_managed()
| 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 |
arch/x86/kernel/apic/vector.c apic_set_affinity() -> irqd_affinity_is_managed()
| 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 | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &vector_lock | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/apic/vector.c assign_irq_vector_policy() -> irqd_affinity_is_managed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 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 chip_data_update() -> irqd_affinity_is_managed()
| 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 | global &vector_lock | ||
| HALF_LOCKED2 | flags |
arch/x86/kernel/apic/vector.c clear_irq_vector() -> irqd_affinity_is_managed()
| 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_startup_managed() -> irqd_affinity_is_managed()
| 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/chip.c irq_activate() -> irqd_affinity_is_managed()
| 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_restore_affinity_of_irq() -> irqd_affinity_is_managed()
| 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 | global &sparse_irq_lock | ||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
kernel/irq/cpuhotplug.c migrate_one_irq() -> irqd_affinity_is_managed()
| 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 |
kernel/irq/cpuhotplug.c migrate_one_irq() -> irqd_affinity_is_managed()
| 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 |