Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/acpi/scan.c acpi_add_single_object() -> acpi_init_device_object()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 1 handle 0,4096-ptr_max,(-1)
PARAM_VALUE 1 handle->descriptor_type 0-255
PARAM_VALUE 1 handle->flags 0-u16max
PARAM_VALUE 1 handle->name.integer 0-4294967295
PARAM_VALUE 1 handle->owner_id 0-u16max
PARAM_VALUE 1 handle->type 0-255
PARAM_VALUE 2 type 0,2-6
BUF_SIZE 0 device 2408
DATA_SOURCE 0 device r _kzalloc_noprof
DATA_SOURCE 1 handle $1
DATA_SOURCE 2 type $2
FUZZY_MAX 2 type 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &acpi_scan_lock

drivers/acpi/power.c acpi_add_power_resource() -> acpi_init_device_object()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 2 type 1
BUF_SIZE 0 device 2408
DATA_SOURCE 1 handle $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL