Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

arch/x86/kernel/apic/io_apic.c alloc_irq_from_domain() -> __irq_domain_alloc_irqs()

Type Parameter Key Value
PARAM_VALUE 0 domain 1-u64max
PARAM_VALUE 2 nr_irqs 1
PARAM_VALUE 4 arg 4805060093080903680
PARAM_VALUE 6 affinity 0
DATA_SOURCE 0 domain $0
DATA_SOURCE 4 arg $3
RX_PATH
TASK_NOT_RUNNING
UNITS 1 irq_base unit_array_size
LOCK2 _T->lock

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

Type Parameter Key Value
PARAM_VALUE 0 domain 1-u64max
PARAM_VALUE 1 irq_base 0-1,3-15
PARAM_VALUE 2 nr_irqs 1
PARAM_VALUE 4 arg 4805060093080903680,5174513661980012544
PARAM_VALUE 5 realloc 1
PARAM_VALUE 6 affinity 0
CAPPED_DATA 1 irq_base 1
DATA_SOURCE 0 domain $0
DATA_SOURCE 1 irq_base $1
DATA_SOURCE 3 node r ioapic_alloc_attr_node
DATA_SOURCE 4 arg $4
PARAM_COMPARE 3 node == $4->ioapic.node
RX_PATH
TASK_NOT_RUNNING
UNITS 1 irq_base unit_array_size
LOCK2 _T->lock
HALF_LOCKED2 irq

arch/x86/kernel/apic/msi.c irq_domain_alloc_irqs() -> __irq_domain_alloc_irqs()

Type Parameter Key Value
PARAM_VALUE 0 domain 1-u64max
PARAM_VALUE 1 irq_base (-1)
PARAM_VALUE 2 nr_irqs 1
PARAM_VALUE 4 arg 168733749745233920
PARAM_VALUE 5 realloc 0
PARAM_VALUE 6 affinity 0
BUF_SIZE 0 domain (-1),376-s32max
BUF_SIZE 0 domain (-1),376-s32max
BUF_SIZE 4 arg 72
BUF_SIZE 4 arg 72
DATA_SOURCE 0 domain $0
DATA_SOURCE 2 nr_irqs $1
DATA_SOURCE 3 node $2
DATA_SOURCE 4 arg $3
MEM_ZERO 4 arg
RX_PATH
TASK_NOT_RUNNING

arch/x86/platform/uv/uv_irq.c irq_domain_alloc_irqs() -> __irq_domain_alloc_irqs()

Type Parameter Key Value
PARAM_VALUE 0 domain 1-u64max
PARAM_VALUE 1 irq_base (-1)
PARAM_VALUE 2 nr_irqs 1
PARAM_VALUE 3 node s16min-s16max
PARAM_VALUE 4 arg 8348314140073209856
PARAM_VALUE 5 realloc 0
PARAM_VALUE 6 affinity 0
BUF_SIZE 0 domain (-1),376-s32max
BUF_SIZE 0 domain (-1),376-s32max
BUF_SIZE 4 arg 72
BUF_SIZE 4 arg 72
DATA_SOURCE 0 domain $0
DATA_SOURCE 2 nr_irqs $1
DATA_SOURCE 3 node $2
DATA_SOURCE 4 arg $3
MEM_ZERO 4 arg

drivers/iommu/amd/init.c irq_domain_alloc_irqs() -> __irq_domain_alloc_irqs()

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 1 irq_base (-1)
PARAM_VALUE 2 nr_irqs 1
PARAM_VALUE 4 arg 9090397973019148288
PARAM_VALUE 5 realloc 0
PARAM_VALUE 6 affinity 0
BUF_SIZE 0 domain (-1),376-s32max
BUF_SIZE 0 domain (-1),376-s32max
BUF_SIZE 4 arg 72
BUF_SIZE 4 arg 72
DATA_SOURCE 0 domain $0
DATA_SOURCE 2 nr_irqs $1
DATA_SOURCE 3 node $2
DATA_SOURCE 4 arg $3
MEM_ZERO 4 arg
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 irq

kernel/irq/msi.c __msi_domain_alloc_irqs() -> __irq_domain_alloc_irqs()

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 1 irq_base (-1)
PARAM_VALUE 4 arg 4843105746425536512
PARAM_VALUE 5 realloc 0
BUF_SIZE 4 arg 72
DATA_SOURCE 0 domain $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 nr_irqs
UNITS 2 nr_irqs unit_array_size
LOCK2 &_T->lock->msi.data->mutex

arch/x86/kernel/hpet.c irq_domain_alloc_irqs() -> __irq_domain_alloc_irqs()

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 0 domain->host_data 4096-ptr_max
PARAM_VALUE 1 irq_base (-1)
PARAM_VALUE 2 nr_irqs 1
PARAM_VALUE 3 node (-1)
PARAM_VALUE 4 arg 1229394439592984576
PARAM_VALUE 5 realloc 0
PARAM_VALUE 6 affinity 0
BUF_SIZE 0 domain 376-s32max
BUF_SIZE 0 domain 376-s32max
BUF_SIZE 4 arg 72
BUF_SIZE 4 arg 72
CAPPED_DATA 0 domain 1
DATA_SOURCE 0 domain $0
DATA_SOURCE 2 nr_irqs $1
DATA_SOURCE 3 node $2
DATA_SOURCE 4 arg $3
MEM_ZERO 4 arg

drivers/gpio/gpiolib.c irq_domain_alloc_irqs() -> __irq_domain_alloc_irqs()

Type Parameter Key Value
PARAM_VALUE 1 irq_base (-1)
PARAM_VALUE 2 nr_irqs 1
PARAM_VALUE 3 node (-1)
PARAM_VALUE 4 arg 7565036844682735616
PARAM_VALUE 5 realloc 0
PARAM_VALUE 6 affinity 0
BUF_SIZE 4 arg 80
BUF_SIZE 4 arg 80
DATA_SOURCE 0 domain $0
DATA_SOURCE 2 nr_irqs $1
DATA_SOURCE 3 node $2
DATA_SOURCE 4 arg $3

drivers/pci/controller/pcie-apple.c irq_domain_alloc_irqs() -> __irq_domain_alloc_irqs()

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 1 irq_base (-1)
PARAM_VALUE 2 nr_irqs 1
PARAM_VALUE 3 node (-1)
PARAM_VALUE 4 arg 4441204062058336256
PARAM_VALUE 5 realloc 0
PARAM_VALUE 6 affinity 0
BUF_SIZE 4 arg 80
BUF_SIZE 4 arg 80
CAPPED_DATA 0 domain 1
DATA_SOURCE 0 domain $0
DATA_SOURCE 2 nr_irqs $1
DATA_SOURCE 3 node $2
DATA_SOURCE 4 arg $3
RX_PATH
TASK_NOT_RUNNING