Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/acpi/acpica/dscontrol.c
- drivers/acpi/acpica/dsopcode.c, line 723
- drivers/acpi/acpica/dsutils.c
- drivers/acpi/acpica/dswexec.c, line 84
- drivers/acpi/acpica/exresop.c, line 321
- drivers/acpi/acpica/exstoren.c, line 67
Smatch caller information:
drivers/acpi/acpica/dsutils.c acpi_ds_evaluate_name_path() -> acpi_ex_resolve_to_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stack_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *stack_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->descending_callback | 1-u64max |
| PARAM_VALUE | 1 | walk_state->num_operands | 0-8 |
| PARAM_VALUE | 1 | walk_state->op | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op->common.parent | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op->common.parent->common.aml_opcode | 0-17,20-112,114-u16max |
| PARAM_VALUE | 1 | walk_state->op->common.value.integer | 0-u32max |
| PARAM_VALUE | 1 | walk_state->op_info | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op_info->class | 0-9 |
| PARAM_VALUE | 1 | walk_state->op_info->type | 0-2,4-15,17-25,27 |
| PARAM_VALUE | 1 | walk_state->opcode | 45 |
| PARAM_VALUE | 1 | walk_state->operands | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->parser_state.scope->common.descriptor_type | 3-9 |
| PARAM_VALUE | 1 | walk_state->parser_state.start_op->common.descriptor_type | 13 |
| PARAM_VALUE | 1 | walk_state->parser_state.start_op->common.flags | 1-2,4,8 |
| PARAM_VALUE | 1 | walk_state->result_obj | 0 |
| PARAM_VALUE | 1 | walk_state->result_size | 0-247 |
| PARAM_VALUE | 1 | walk_state->return_desc | 0 |
| PARAM_VALUE | 1 | walk_state->scope_info | 0,4096-ptr_max |
| PARAM_VALUE | 1 | *walk_state->results->results.obj_desc | 0 |
| PARAM_VALUE | 1 | *walk_state->scope_info->scope.node->name.ascii | 0-255 |
| BUF_SIZE | 0 | stack_ptr | 72 |
| BUF_SIZE | 0 | stack_ptr | 72 |
| BUF_SIZE | 1 | walk_state->aml | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->implicit_return_obj | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->method_pathname | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->op_info | (-1),576 |
| CAPPED_DATA | 1 | walk_state | 1 |
| DATA_SOURCE | 1 | walk_state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | walk_state->implicit_return_obj->string.length |
drivers/acpi/acpica/dsutils.c acpi_ds_resolve_operands() -> acpi_ex_resolve_to_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stack_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->descending_callback | 1-u64max |
| PARAM_VALUE | 1 | walk_state->num_operands | 1-8 |
| PARAM_VALUE | 1 | walk_state->op | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op->asl.parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op->asl.parent->asl.aml_opcode | 0-17,20-u16max |
| PARAM_VALUE | 1 | walk_state->op_info | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op_info->class | 0-9 |
| PARAM_VALUE | 1 | walk_state->op_info->type | 0-2,4-15,17-25,27 |
| PARAM_VALUE | 1 | walk_state->operands | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->parser_state.scope->common.descriptor_type | 3-9 |
| PARAM_VALUE | 1 | walk_state->parser_state.start_op->common.descriptor_type | 13 |
| PARAM_VALUE | 1 | walk_state->parser_state.start_op->common.flags | 1-2,4,8 |
| PARAM_VALUE | 1 | walk_state->result_obj | 0 |
| PARAM_VALUE | 1 | walk_state->return_desc | 0 |
| BUF_SIZE | 1 | walk_state->aml | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->implicit_return_obj | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->method_pathname | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->op_info | (-1),576 |
| CAPPED_DATA | 1 | walk_state | 1 |
| DATA_SOURCE | 1 | walk_state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | walk_state->implicit_return_obj->string.length |
drivers/acpi/acpica/exstoren.c acpi_ex_resolve_object() -> acpi_ex_resolve_to_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stack_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *stack_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *stack_ptr->common.type | 20 |
| PARAM_VALUE | 1 | walk_state | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op_info->class | 0-10 |
| PARAM_VALUE | 1 | walk_state->op_info->flags | 0,640,960,4096,4128,4736,4776,4792,4880,4912,4992,5056,5088,5120,7168,8192,12288,12320,13312-13314,15360,15364,17408,21504 |
| PARAM_VALUE | 1 | walk_state->op_info->type | 0-2,4-15,17-25,27 |
| BUF_SIZE | 1 | walk_state->aml | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->implicit_return_obj | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->op_info | (-1),576 |
| DATA_SOURCE | 0 | stack_ptr | $0 |
| DATA_SOURCE | 1 | walk_state | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | walk_state->implicit_return_obj->string.length | |
| NO_OVERFLOW_SIMPLE | 1 | walk_state->result_obj->method.mutex |
drivers/acpi/acpica/dswexec.c acpi_ds_get_predicate_value() -> acpi_ex_resolve_to_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stack_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->arg_types | 0 |
| PARAM_VALUE | 1 | walk_state->control_state | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->control_state->common.state | 0 |
| PARAM_VALUE | 1 | walk_state->descending_callback | 1-u64max |
| PARAM_VALUE | 1 | walk_state->num_operands | 0-8 |
| PARAM_VALUE | 1 | walk_state->op->common.value.integer | 0-u32max |
| PARAM_VALUE | 1 | walk_state->op_info->class | 0-10 |
| PARAM_VALUE | 1 | walk_state->op_info->flags | 0,640,960,4096,4128,4736,4776,4792,4880,4912,4992,5056,5088,5120,7168,8192,12288,12320,13312-13314,15360,15364,17408,21504 |
| PARAM_VALUE | 1 | walk_state->op_info->object_type | 0-4,6-14,18,20-21,27,30 |
| PARAM_VALUE | 1 | walk_state->operands | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->parser_state.scope | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->parser_state.scope->common.descriptor_type | 3-9 |
| PARAM_VALUE | 1 | walk_state->parser_state.scope->parse_scope.arg_count | u32max |
| PARAM_VALUE | 1 | walk_state->parser_state.scope->parse_scope.op | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->parser_state.scope->parse_scope.op->common.aml_opcode | 160,162 |
| PARAM_VALUE | 1 | walk_state->parser_state.start_op->common.descriptor_type | 13 |
| PARAM_VALUE | 1 | walk_state->parser_state.start_op->common.flags | 1-2,4,8 |
| PARAM_VALUE | 1 | walk_state->result_size | 0-247 |
| PARAM_VALUE | 1 | walk_state->scope_info | 0,4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->walk_type | 2-255 |
| PARAM_VALUE | 1 | *walk_state->results->results.obj_desc | 0 |
| PARAM_VALUE | 1 | *walk_state->scope_info->scope.node->name.ascii | 0-255 |
| BUF_SIZE | 0 | stack_ptr | 72 |
| BUF_SIZE | 1 | walk_state->implicit_return_obj | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->method_pathname | (-1),1-s32max |
| DATA_SOURCE | 1 | walk_state | $0 |
| FUZZY_MAX | 1 | walk_state->parser_state.scope->parse_scope.op->common.aml_opcode | 162 |
| BIT_INFO | 1 | walk_state->walk_type | 0x2,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/dscontrol.c acpi_ds_exec_end_control_op() -> acpi_ex_resolve_to_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stack_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->descending_callback | 1-u64max |
| PARAM_VALUE | 1 | walk_state->num_operands | 0-8 |
| PARAM_VALUE | 1 | walk_state->op | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op_info | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op_info->class | 0-9 |
| PARAM_VALUE | 1 | walk_state->op_info->type | 0-2,4-15,17-25,27 |
| PARAM_VALUE | 1 | walk_state->operands | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->parser_state.scope->common.descriptor_type | 3-9 |
| PARAM_VALUE | 1 | walk_state->parser_state.start_op->common.descriptor_type | 13 |
| PARAM_VALUE | 1 | walk_state->parser_state.start_op->common.flags | 1-2,4,8 |
| PARAM_VALUE | 1 | walk_state->result_obj | 0 |
| PARAM_VALUE | 1 | walk_state->return_desc | 0 |
| PARAM_VALUE | 1 | *walk_state->scope_info->scope.node->name.ascii | 0-255 |
| BUF_SIZE | 0 | stack_ptr | 72 |
| BUF_SIZE | 1 | walk_state->aml | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->implicit_return_obj | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->method_pathname | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->op_info | (-1),576 |
| CAPPED_DATA | 1 | walk_state | 1 |
| DATA_SOURCE | 1 | walk_state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | walk_state->implicit_return_obj->string.length |
drivers/acpi/acpica/dscontrol.c acpi_ds_exec_end_control_op() -> acpi_ex_resolve_to_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stack_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *stack_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->descending_callback | 1-u64max |
| PARAM_VALUE | 1 | walk_state->num_operands | 0 |
| PARAM_VALUE | 1 | walk_state->op | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op_info | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op_info->class | 0-9 |
| PARAM_VALUE | 1 | walk_state->op_info->type | 0-2,4-15,17-25,27 |
| PARAM_VALUE | 1 | walk_state->operand_index | 0 |
| PARAM_VALUE | 1 | walk_state->parser_state.scope->common.descriptor_type | 3-9 |
| PARAM_VALUE | 1 | walk_state->parser_state.start_op->common.descriptor_type | 13 |
| PARAM_VALUE | 1 | walk_state->parser_state.start_op->common.flags | 1-2,4,8 |
| PARAM_VALUE | 1 | walk_state->result_count | 1-255 |
| PARAM_VALUE | 1 | walk_state->result_obj | 0 |
| PARAM_VALUE | 1 | walk_state->results | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->results->results.obj_desc | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->return_desc | 0 |
| BUF_SIZE | 0 | stack_ptr | 64 |
| BUF_SIZE | 1 | walk_state->aml | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->implicit_return_obj | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->method_pathname | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->op_info | (-1),576 |
| CAPPED_DATA | 1 | walk_state | 1 |
| DATA_SOURCE | 1 | walk_state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | walk_state->implicit_return_obj->string.length |
5f58a6b1ea45a73d acpi_ex_resolve_operands() -> acpi_ex_resolve_to_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stack_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *stack_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op_info->class | 0-9 |
| PARAM_VALUE | 1 | walk_state->op_info->flags | 0,640,960,4096,4128,4736,4776,4792,4880,4912,4992,5056,5088,5120,7168,8192,12288,12320,13312-13314,15360,15364,17408,21504 |
| PARAM_VALUE | 1 | walk_state->op_info->object_type | 0-4,6-14,18,20-21,27,30 |
| PARAM_VALUE | 1 | walk_state->op_info->type | 0-2,4-15,17-25,27 |
| PARAM_VALUE | 1 | walk_state->operands | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->parser_state.scope->common.descriptor_type | 3-9 |
| PARAM_VALUE | 1 | walk_state->parser_state.start_op->common.descriptor_type | 13 |
| PARAM_VALUE | 1 | walk_state->parser_state.start_op->common.flags | 1-2,4,8 |
| BUF_SIZE | 1 | walk_state->aml | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->implicit_return_obj | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->method_pathname | (-1),1-s32max |
| BUF_SIZE | 1 | walk_state->op_info | (-1),576 |
| CAPPED_DATA | 1 | walk_state | 1 |
| DATA_SOURCE | 0 | stack_ptr | $1 [m] |
| DATA_SOURCE | 1 | walk_state | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | *stack_ptr->string.length | |
| NO_OVERFLOW_SIMPLE | 1 | walk_state->implicit_return_obj->string.length |
drivers/acpi/acpica/dsopcode.c acpi_ds_eval_bank_field_operands() -> acpi_ex_resolve_to_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stack_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->num_operands | 0-8 |
| PARAM_VALUE | 1 | walk_state->operands | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->result_size | 0-247 |
| PARAM_VALUE | 1 | walk_state->scope_info | 0,4096-ptr_max |
| PARAM_VALUE | 1 | *walk_state->results->results.obj_desc | 0 |
| PARAM_VALUE | 1 | *walk_state->scope_info->scope.node->name.ascii | 0-255 |
| BUF_SIZE | 0 | stack_ptr | 72 |
| DATA_SOURCE | 1 | walk_state | $0 |