Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/acpi/acpica/dswexec.c
- drivers/acpi/acpica/psargs.c, line 372
- drivers/acpi/acpica/psparse.c, line 521
Smatch caller information:
drivers/acpi/acpica/psparse.c acpi_ps_parse_aml() -> acpi_ds_method_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | status | 1-u32max |
| PARAM_VALUE | 1 | walk_state | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->method_call_node | 0,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->object_type | 0-4,6-14,18,20-21,27,30 |
| 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.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 | (-1),1128 |
| BUF_SIZE | 1 | walk_state | (-1),1128 |
| BUF_SIZE | 1 | walk_state->method_pathname | (-1),1-s32max |
| DATA_SOURCE | 0 | status | r acpi_ds_call_control_method |
| DATA_SOURCE | 1 | walk_state | $0 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/dswexec.c acpi_ds_exec_begin_op() -> acpi_ds_method_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | status | 3-7,13,4097,12291,12303 |
| PARAM_VALUE | 1 | walk_state | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->aml | 0-18446744073709551614 |
| PARAM_VALUE | 1 | walk_state->arg_types | 0-134217727 |
| PARAM_VALUE | 1 | walk_state->descending_callback | 1-u64max |
| PARAM_VALUE | 1 | walk_state->op | 0,4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op->common.descriptor_type | 13 |
| PARAM_VALUE | 1 | walk_state->op->common.flags | 1-2,4,8 |
| PARAM_VALUE | 1 | walk_state->op_info | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->op_info->object_type | 0-30 |
| PARAM_VALUE | 1 | walk_state->parser_state->aml | 0-255 |
| PARAM_VALUE | 1 | walk_state->parser_state.aml_end | 1-u64max |
| 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 | 1-u32max |
| 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->scope_info->scope.node->name.ascii | 0-255 |
| 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 |
| CAPPED_DATA | 1 | walk_state->parser_state.aml_end | 1 |
| DATA_SOURCE | 1 | walk_state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | walk_state->implicit_return_obj->field.internal_pcc_buffer | |
| NO_OVERFLOW_SIMPLE | 1 | walk_state->implicit_return_obj->method.mutex | |
| NO_OVERFLOW_SIMPLE | 1 | walk_state->implicit_return_obj->string.length | |
| NO_OVERFLOW_SIMPLE | 1 | walk_state->result_obj | |
| NO_OVERFLOW_SIMPLE | 1 | walk_state->result_obj->field.internal_pcc_buffer | |
| NO_OVERFLOW_SIMPLE | 1 | walk_state->result_obj->method.mutex | |
| NO_OVERFLOW_SIMPLE | 1 | walk_state->return_desc->field.internal_pcc_buffer | |
| NO_OVERFLOW_SIMPLE | 1 | walk_state->return_desc->method.mutex |
drivers/acpi/acpica/psargs.c acpi_ps_get_next_namepath() -> acpi_ds_method_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | status | 3-7,4097,12303 |
| PARAM_VALUE | 1 | walk_state | 4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->arg_types | 1-u32max |
| PARAM_VALUE | 1 | walk_state->descending_callback | 1-u64max |
| 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->parser_state.scope->common.descriptor_type | 3-9 |
| PARAM_VALUE | 1 | walk_state->parser_state.scope->parse_scope.arg_count | 1-u32max |
| 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->scope_info | 0,4096-ptr_max |
| PARAM_VALUE | 1 | walk_state->scope_info->scope.node | 0,4096-ptr_max |
| 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 |
| CAPPED_DATA | 1 | walk_state->scope_info->scope.node | 1 |
| DATA_SOURCE | 0 | status | r acpi_ns_lookup |
| DATA_SOURCE | 1 | walk_state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | walk_state->implicit_return_obj->string.length |