Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- arch/x86/kernel/acpi/boot.c
- arch/x86/kernel/apic/io_apic.c
- arch/x86/kernel/devicetree.c, line 272
- arch/x86/kernel/mpparse.c, line 264
- drivers/iommu/amd/init.c
- drivers/iommu/intel/irq_remapping.c, line 983
Smatch caller information:
arch/x86/kernel/apic/io_apic.c IO_APIC_get_PCI_irq_vector() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
arch/x86/kernel/apic/io_apic.c clear_IO_APIC_pin() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| DATA_SOURCE | 0 | ioapic_idx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
arch/x86/kernel/apic/io_apic.c find_irq_entry() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | (-1)-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| DATA_SOURCE | 0 | ioapic_idx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
arch/x86/kernel/apic/io_apic.c find_isa_irq_apic() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| HALF_LOCKED2 | irq |
arch/x86/kernel/apic/io_apic.c io_apic_unique_id() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &acpi_ioapic_lock | ||
| HALF_LOCKED2 | global &ioapic_list_lock | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/apic/io_apic.c ioapic_copy_alloc_attr() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | (-1)-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| DATA_SOURCE | 0 | ioapic_idx | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
arch/x86/kernel/apic/io_apic.c mp_alloc_timer_irq() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | (-1)-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| DATA_SOURCE | 0 | ioapic_idx | $0 |
| LOCK2 | irq |
arch/x86/kernel/apic/io_apic.c mp_irqdomain_alloc() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ioapic_idx | unit_byte |
| HALF_LOCKED2 | &domain->root->mutex |
arch/x86/kernel/apic/io_apic.c mp_irqdomain_create() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| DATA_SOURCE | 0 | ioapic_idx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/apic/io_apic.c mp_irqdomain_create() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| DATA_SOURCE | 0 | ioapic_idx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/apic/io_apic.c mp_register_ioapic() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| DATA_SOURCE | 0 | ioapic_idx | r find_free_ioapic_entry |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &acpi_ioapic_lock | ||
| HALF_LOCKED2 | global &ioapic_list_lock | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/apic/io_apic.c print_IO_APIC() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| DATA_SOURCE | 0 | ioapic_idx | $0 |
arch/x86/kernel/apic/io_apic.c print_IO_APICs() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
arch/x86/kernel/apic/io_apic.c resume_ioapic_id() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| DATA_SOURCE | 0 | ioapic_idx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ioapic_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
arch/x86/kernel/apic/io_apic.c resume_ioapic_id() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| DATA_SOURCE | 0 | ioapic_idx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ioapic_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
arch/x86/kernel/apic/io_apic.c setup_IO_APIC_irqs() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
arch/x86/kernel/mpparse.c construct_default_ioirq_mptable() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0 |
| LOCK2 | irq |
arch/x86/kernel/acpi/boot.c mp_config_acpi_gsi() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | (-1)-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| DATA_SOURCE | 0 | ioapic_idx | r mp_find_ioapic |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &acpi_ioapic_lock |
arch/x86/kernel/acpi/boot.c mp_config_acpi_legacy_irqs() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| DATA_SOURCE | 0 | ioapic_idx | r mp_find_ioapic |
| LOCK2 | global &acpi_ioapic_lock | ||
| LOCK2 | irq |
arch/x86/kernel/acpi/boot.c mp_register_ioapic_irq() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| DATA_SOURCE | 0 | ioapic_idx | r mp_find_ioapic |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/devicetree.c dt_irqdomain_alloc() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &domain->root->mutex |
drivers/iommu/amd/init.c check_ioapic_information() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c get_sb_ioapic_id() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |
| DATA_SOURCE | 0 | ioapic_idx | r mp_find_ioapic |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/intel/irq_remapping.c parse_ioapics_under_ir() -> mpc_ioapic_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioapic_idx | 0-127 |
| CAPPED_DATA | 0 | ioapic_idx | 1 |