Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 16 files:
- drivers/acpi/acpica/dsmthdat.c
- drivers/acpi/acpica/dspkginit.c, line 239
- drivers/acpi/acpica/dsutils.c, line 113
- drivers/acpi/acpica/dswexec.c, line 482
- drivers/acpi/acpica/evregion.c, line 538
- drivers/acpi/acpica/evxface.c, line 184
- drivers/acpi/acpica/exoparg1.c
- drivers/acpi/acpica/exoparg2.c, line 405
- drivers/acpi/acpica/exprep.c
- drivers/acpi/acpica/exresnte.c
- drivers/acpi/acpica/exresolv.c
- drivers/acpi/acpica/exstore.c
- drivers/acpi/acpica/nsconvert.c, line 484
- drivers/acpi/acpica/nsobject.c, line 132
- drivers/acpi/acpica/nsxfeval.c, line 512
- drivers/acpi/acpica/utcopy.c
Smatch caller information:
drivers/acpi/acpica/exoparg2.c acpi_ex_opcode_2A_1T_1R() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/evregion.c acpi_ev_attach_region() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->address_space.region_list | 4096-ptr_max |
| BUF_SIZE | 0 | object | (-1)-s32max |
| BUF_SIZE | 0 | object | (-1)-s32max |
| CAPPED_DATA | 0 | object->address_space.space_id | 1 |
| DATA_SOURCE | 0 | object | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/dsutils.c acpi_ds_do_implicit_return() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 1-u64max |
| DATA_SOURCE | 0 | object | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | object->string.length |
drivers/acpi/acpica/utcopy.c acpi_ut_copy_simple_object() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/utcopy.c acpi_ut_copy_simple_object() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exstore.c acpi_ex_store_object_to_index() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->common.type | 20 |
| PARAM_VALUE | 0 | object->reference.class | 4 |
| BUF_SIZE | 0 | object | (-1)-s32max |
| BUF_SIZE | 0 | object | (-1)-s32max |
| DATA_SOURCE | 0 | object | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | object->string.length |
drivers/acpi/acpica/exstore.c acpi_ex_store_object_to_index() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->common.descriptor_type | 0-255 |
| PARAM_VALUE | 0 | object->common.type | 0-255 |
| PARAM_VALUE | 0 | object->region.handler->common.next_object->extra.region_context->first_mm->length | 0-4096 |
| PARAM_VALUE | 0 | *object->buffer.pointer | 0-255 |
| PARAM_VALUE | 0 | *object->event.os_semaphore | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *object->region.handler->common.next_object->extra.region_context | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *object->string.pointer | 0-255 |
| BUF_SIZE | 0 | object | (-1)-s32max |
| BUF_SIZE | 0 | object | (-1)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | object->string.length |
drivers/acpi/acpica/evxface.c acpi_install_notify_handler() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->notify.handler | 1-u64max |
| PARAM_VALUE | 0 | object->notify.handler_type | 1-3 |
| PARAM_VALUE | 0 | object->notify.node | 4096-ptr_max |
| PARAM_VALUE | 0 | object->notify.node->object | 0,4096-ptr_max |
| PARAM_VALUE | 0 | object->notify.node->type | 6,12-13 |
| BUF_SIZE | 0 | object->notify.context | (-1),16,24,32,40,56,104,108-1096,1336,1384,1600,1616,1752,2072,2480,2576,7472,8064,12400 |
| DATA_SOURCE | 0 | object | r acpi_ut_create_internal_object_dbg |
| STR_LEN | 0 | object->notify.node | (-1),14,24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
drivers/acpi/acpica/nsobject.c acpi_ns_attach_object() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 1-u64max |
| STR_LEN | 0 | object->string.pointer | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | object->string.length |
drivers/acpi/acpica/exoparg1.c acpi_ex_opcode_1A_0T_1R() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->common.descriptor_type | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exoparg1.c acpi_ex_opcode_1A_0T_1R() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->common.type | 2,20 |
| FUZZY_MAX | 0 | object->common.type | 20 |
| BIT_INFO | 0 | object->common.type | 0x0,0x16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exoparg1.c acpi_ex_opcode_1A_0T_1R() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exoparg1.c acpi_ex_opcode_1A_0T_1R() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exoparg1.c acpi_ex_opcode_1A_0T_1R() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->common.type | 0-13,15-16,20-255 |
| PARAM_VALUE | 0 | object->object | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exoparg1.c acpi_ex_opcode_1A_1T_1R() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->common.type | 0-255 |
| CAPPED_DATA | 0 | object | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | object->string.length |
drivers/acpi/acpica/exoparg1.c acpi_ex_opcode_1A_1T_1R() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->common.type | 0-255 |
| CAPPED_DATA | 0 | object | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | object->string.length |
drivers/acpi/acpica/exoparg1.c acpi_ex_opcode_1A_1T_1R() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->common.type | 0-255 |
| CAPPED_DATA | 0 | object | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | object->string.length |
drivers/acpi/acpica/exoparg1.c acpi_ex_opcode_1A_1T_1R() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->common.descriptor_type | 0-255 |
| PARAM_VALUE | 0 | object->common.type | 0-255 |
| CAPPED_DATA | 0 | object | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | object->string.length |
drivers/acpi/acpica/exprep.c acpi_ex_prep_field_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exprep.c acpi_ex_prep_field_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exprep.c acpi_ex_prep_field_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exprep.c acpi_ex_prep_field_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/dspkginit.c acpi_ds_build_internal_package_obj() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/dsmthdat.c acpi_ds_method_data_get_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/dsmthdat.c acpi_ds_method_data_set_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 1-u64max |
| BUF_SIZE | 0 | object | (-1)-s32max |
| BUF_SIZE | 0 | object | (-1)-s32max |
| DATA_SOURCE | 0 | object | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | object->string.length |
drivers/acpi/acpica/nsxfeval.c acpi_ns_resolve_references() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 1-u64max |
| NOCHECK_CALL |
drivers/acpi/acpica/exresolv.c acpi_ex_resolve_object_to_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exresolv.c acpi_ex_resolve_object_to_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exresnte.c acpi_ex_resolve_node_to_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->common.type | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exresnte.c acpi_ex_resolve_node_to_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->common.type | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exresnte.c acpi_ex_resolve_node_to_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->common.type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exresnte.c acpi_ex_resolve_node_to_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->common.type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exresnte.c acpi_ex_resolve_node_to_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/exresnte.c acpi_ex_resolve_node_to_value() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 0 | object->reference.class | 2-4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/acpi/acpica/nsconvert.c acpi_ns_convert_to_reference() -> acpi_ut_add_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |