Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/acpi/acpica/dsfield.c
- drivers/acpi/acpica/dsobject.c, line 293
- drivers/acpi/acpica/dswload2.c, line 636
- drivers/acpi/acpica/evhandler.c, line 471
- drivers/acpi/acpica/evxface.c, line 134
- drivers/acpi/acpica/evxfgpe.c, line 951
- drivers/acpi/acpica/excreate.c
- drivers/acpi/acpica/exprep.c, line 590
- drivers/acpi/acpica/exstore.c
- drivers/acpi/acpica/nsaccess.c, line 234
- drivers/acpi/acpica/nsxfname.c, line 592
Smatch caller information:
drivers/acpi/acpica/nsxfname.c acpi_install_method() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 1 | object->method.aml_length | 0-4000000 |
| PARAM_VALUE | 1 | object->method.aml_start | 16,4096-ptr_max |
| PARAM_VALUE | 1 | object->method.param_count | 0-7 |
| PARAM_VALUE | 2 | type | 8 |
| BUF_SIZE | 1 | object->method.aml_start | 0-u32max |
| DATA_SOURCE | 1 | object | r acpi_ut_create_internal_object_dbg |
drivers/acpi/acpica/exstore.c acpi_ex_store_direct_to_node() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | node->object | 0,4096-ptr_max |
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 1 | object->common.descriptor_type | 14-15 |
| PARAM_VALUE | 1 | object->common.type | 4 |
| PARAM_VALUE | 1 | object->region.handler->common.next_object->extra.region_context->first_mm->length | 0-4096 |
| PARAM_VALUE | 1 | *object->buffer.pointer | 0-255 |
| PARAM_VALUE | 1 | *object->event.os_semaphore | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | *object->region.handler->common.next_object->extra.region_context | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | *object->string.pointer | 0-255 |
| PARAM_VALUE | 2 | type | 4 |
| DATA_SOURCE | 0 | node | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | object->string.length |
drivers/acpi/acpica/exstore.c acpi_ex_store_object_to_node() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | node->object | 0,4096-ptr_max |
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 1 | object->common.descriptor_type | 0-255 |
| PARAM_VALUE | 1 | object->common.type | 0-255 |
| PARAM_VALUE | 1 | object->common_field.access_byte_width | 0-255 |
| PARAM_VALUE | 1 | *object->buffer.pointer | 0-255 |
| PARAM_VALUE | 1 | *object->string.pointer | 0-255 |
| PARAM_VALUE | 2 | type | 0-255 |
| DATA_SOURCE | 0 | node | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | object->string.length |
drivers/acpi/acpica/evxface.c acpi_install_notify_handler() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 6,12-13 |
| DATA_SOURCE | 0 | node | $0 |
| DATA_SOURCE | 1 | object | r acpi_ut_create_internal_object_dbg |
| STR_LEN | 0 | node | (-1),14,24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &acpi_desc->init_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &video->device_list_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &acpi_pm_notifier_install_lock | ||
| HALF_LOCKED2 | global &component_mutex |
drivers/acpi/acpica/excreate.c acpi_ex_create_event() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 1 | object->event.os_semaphore | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 7 |
| DATA_SOURCE | 1 | object | r acpi_ut_create_internal_object_dbg |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/excreate.c acpi_ex_create_method() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 1 | object->method.param_count | 0-7 |
| PARAM_VALUE | 2 | type | 8 |
| BUF_SIZE | 1 | object->method.aml_start | 1-s32max |
| DATA_SOURCE | 1 | object | r acpi_ut_create_internal_object_dbg |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/excreate.c acpi_ex_create_mutex() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 1 | object->mutex.os_mutex | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 9 |
| DATA_SOURCE | 1 | object | r acpi_ut_create_internal_object_dbg |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/excreate.c acpi_ex_create_power_resource() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 1 | object->power_resource.resource_order | 0-u16max |
| PARAM_VALUE | 1 | object->power_resource.system_level | 0-255 |
| PARAM_VALUE | 2 | type | 11 |
| DATA_SOURCE | 1 | object | r acpi_ut_create_internal_object_dbg |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/excreate.c acpi_ex_create_processor() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 12 |
| DATA_SOURCE | 1 | object | r acpi_ut_create_internal_object_dbg |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/excreate.c acpi_ex_create_region() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | node->object | 0,4096-ptr_max |
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 1 | object->common.flags | 0-199 |
| PARAM_VALUE | 1 | object->region.address | 0 |
| PARAM_VALUE | 1 | object->region.handler | 0 |
| PARAM_VALUE | 1 | object->region.length | 0 |
| PARAM_VALUE | 1 | object->region.node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | object->region.node->object | 0,4096-ptr_max |
| PARAM_VALUE | 1 | object->region.pointer | 0 |
| PARAM_VALUE | 2 | type | 10 |
| DATA_SOURCE | 1 | object | r acpi_ut_create_internal_object_dbg |
| BIT_INFO | 1 | object->common.flags | 0x0,0xc7 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/exprep.c acpi_ex_prep_field_value() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 1 | object->common_field.base_byte_offset | 0-536870911 |
| PARAM_VALUE | 1 | object->common_field.node | 0,4096-ptr_max |
| PARAM_VALUE | 2 | type | 0-255 |
| BUF_SIZE | 1 | object->field.resource_buffer | s32min,(-10),(-1)-s32max |
| DATA_SOURCE | 1 | object | r acpi_ut_create_internal_object_dbg |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | node->object->string.length |
drivers/acpi/acpica/nsaccess.c acpi_ns_root_initialize() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->descriptor_type | 15 |
| PARAM_VALUE | 0 | node->parent | 2100165663990964224 |
| PARAM_VALUE | 0 | node->type | 0-2,6,8-9,27 |
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| BUF_SIZE | 0 | node->parent | 48 |
| DATA_SOURCE | 0 | node | r acpi_ns_create_node |
| DATA_SOURCE | 1 | object | r acpi_ut_create_internal_object_dbg |
| STR_LEN | 1 | object->string.pointer | (-1)-1010101 |
drivers/acpi/acpica/evhandler.c acpi_ev_install_space_handler() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->object | 0,4096-ptr_max |
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 1 | object->common.type | 1-255 |
| PARAM_VALUE | 2 | type | 1-255 |
| BUF_SIZE | 0 | node | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | node | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | node | 1 |
| DATA_SOURCE | 0 | node | $0 |
| DATA_SOURCE | 1 | object | r acpi_ut_create_internal_object_dbg |
| FUZZY_MAX | 2 | type | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | node->object->string.length |
drivers/acpi/acpica/dsfield.c acpi_ds_create_buffer_field() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | node->object | 0,4096-ptr_max |
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 1 | object->buffer_field.node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | object->buffer_field.node->object | 0,4096-ptr_max |
| PARAM_VALUE | 1 | object->common.next_object | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 14 |
| DATA_SOURCE | 1 | object | r acpi_ut_create_internal_object_dbg |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/dsobject.c acpi_ds_create_node() -> acpi_ns_attach_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->object | 0,4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 1-4,8,20 |
| PARAM_VALUE | 1 | object | 4096-ptr_max |
| PARAM_VALUE | 1 | object->common.type | 1-4,8,20 |
| PARAM_VALUE | 2 | type | 1-4,8,20 |
| DATA_SOURCE | 0 | node | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |