Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

arch/x86/kernel/apic/io_apic.c alloc_isa_irq_from_domain() -> add_pin_to_irq_node()

Type Parameter Key Value
PARAM_VALUE 2 apic (-1)-127
BUF_SIZE 0 data s32min-(-2),1-s32max
CAPPED_DATA 2 apic 1
DATA_SOURCE 1 node r ioapic_alloc_attr_node
DATA_SOURCE 2 apic $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
UNITS 3 pin unit_array_size
LOCK2 _T->lock
HALF_LOCKED2 irq

arch/x86/kernel/apic/io_apic.c mp_irqdomain_alloc() -> add_pin_to_irq_node()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->irq_2_pin.next 4096-ptr_max
PARAM_VALUE 0 data->irq_2_pin.next->next 4096-ptr_max
PARAM_VALUE 0 data->irq_2_pin.prev 4096-ptr_max
PARAM_VALUE 0 data->irq_2_pin.prev->next 4096-ptr_max
PARAM_VALUE 0 data->irq_2_pin.prev->prev 4096-ptr_max
BUF_SIZE 0 data 32
DATA_SOURCE 0 data r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 2 apic unit_byte
UNITS 3 pin unit_array_size
HALF_LOCKED2 &domain->root->mutex

arch/x86/kernel/apic/io_apic.c replace_pin_at_irq_node() -> add_pin_to_irq_node()

Type Parameter Key Value
PARAM_VALUE 2 apic (-1)-127
PARAM_VALUE 3 pin (-1)-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
CAPPED_DATA 0 &data->irq_2_pin 1
CAPPED_DATA 2 apic 1
DATA_SOURCE 0 data $0
DATA_SOURCE 1 node $1
DATA_SOURCE 2 apic $4
DATA_SOURCE 3 pin $5
NOCHECK_CALL
UNITS 0 data unit_byte
LOCK2 irq