Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/platform/wmi/tests/marshalling_kunit.c wmi_unmarshal_acpi_object_failure_test() -> wmi_unmarshal_acpi_object()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 1 buffer 7102763548255379456
PARAM_VALUE 2 min_size 0

drivers/platform/wmi/tests/marshalling_kunit.c wmi_unmarshal_acpi_object_test() -> wmi_unmarshal_acpi_object()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 1 buffer 1239880994862346240
UNITS 2 min_size unit_byte

drivers/platform/wmi/tests/marshalling_kunit.c wmi_unmarshal_acpi_object_undersized_test() -> wmi_unmarshal_acpi_object()

Type Parameter Key Value
PARAM_VALUE 0 obj 2926344606878494720
PARAM_VALUE 0 obj->buffer.length 0
PARAM_VALUE 0 obj->buffer.pointer 0
PARAM_VALUE 0 obj->integer.type 1
PARAM_VALUE 0 obj->integer.value 3735928559
PARAM_VALUE 0 obj->package.count 0
PARAM_VALUE 0 obj->package.elements 0
PARAM_VALUE 0 obj->string.length 0
PARAM_VALUE 0 obj->string.pointer 0
PARAM_VALUE 0 obj->type 0
PARAM_VALUE 1 buffer 1028255154669801472
PARAM_VALUE 2 min_size 5
UNITS 2 min_size unit_byte

drivers/platform/wmi/core.c wmi_notify_driver() -> wmi_unmarshal_acpi_object()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 1 buffer 1253482653835272192
PARAM_VALUE 2 min_size 0-2,4,8,32
DATA_SOURCE 0 obj $1
LOCK2 &wblock->notify_lock
TYPE_LOCK (struct wmi_block)->notify_lock

drivers/platform/wmi/core.c wmidev_invoke_method() -> wmi_unmarshal_acpi_object()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 1 buffer 4096-ptr_max
DATA_SOURCE 1 buffer $4
DATA_SOURCE 2 min_size $5
RX_PATH
TASK_NOT_RUNNING
UNITS 0 obj unit_byte
UNITS 2 min_size unit_byte
HALF_LOCKED2 _T->lock

drivers/platform/wmi/core.c wmidev_query_block() -> wmi_unmarshal_acpi_object()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 1 buffer 1-u64max
PARAM_VALUE 2 min_size 0,4,8,20
BUF_SIZE 1 buffer (-1),16
BUF_SIZE 1 buffer (-1),16
DATA_SOURCE 0 obj r wmidev_block_query
DATA_SOURCE 1 buffer $2
DATA_SOURCE 2 min_size $3
HARD_MAX 2 min_size 20
RX_PATH
TASK_NOT_RUNNING
UNITS 2 min_size unit_byte
HALF_LOCKED2 &of->mutex