Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/acpi/acpica/rsmisc.c acpi_rs_convert_resource_to_aml() -> acpi_rs_set_resource_length()

Type Parameter Key Value
PARAM_VALUE 0 total_length 0-510
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
CAPPED_DATA 0 total_length 1
DATA_SOURCE 1 aml $1
PARAM_COMPARE 0 total_length >= $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 aml unit_byte

drivers/acpi/acpica/rsmisc.c acpi_rs_convert_resource_to_aml() -> acpi_rs_set_resource_length()

Type Parameter Key Value
PARAM_VALUE 0 total_length 0-1020
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
CAPPED_DATA 0 total_length 1
DATA_SOURCE 1 aml $1
PARAM_COMPARE 0 total_length >= $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 aml unit_byte

drivers/acpi/acpica/rsmisc.c acpi_rs_convert_resource_to_aml() -> acpi_rs_set_resource_length()

Type Parameter Key Value
PARAM_VALUE 0 total_length 0-24480
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
DATA_SOURCE 1 aml $1
PARAM_COMPARE 0 total_length >= $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 aml unit_byte

drivers/acpi/acpica/rsmisc.c acpi_rs_convert_resource_to_aml() -> acpi_rs_set_resource_length()

Type Parameter Key Value
PARAM_VALUE 0 total_length 0-510
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
CAPPED_DATA 0 total_length 1
DATA_SOURCE 1 aml $1
PARAM_COMPARE 0 total_length >= $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 aml unit_byte

drivers/acpi/acpica/rsmisc.c acpi_rs_convert_resource_to_aml() -> acpi_rs_set_resource_length()

Type Parameter Key Value
PARAM_VALUE 0 total_length 0-510
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
CAPPED_DATA 0 total_length 1
DATA_SOURCE 1 aml $1
PARAM_COMPARE 0 total_length >= $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 total_length unit_byte
UNITS 1 aml unit_byte

drivers/acpi/acpica/rsmisc.c acpi_rs_convert_resource_to_aml() -> acpi_rs_set_resource_length()

Type Parameter Key Value
PARAM_VALUE 0 total_length 0-510
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
CAPPED_DATA 0 total_length 1
DATA_SOURCE 1 aml $1
PARAM_COMPARE 0 total_length >= $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 aml unit_byte

drivers/acpi/acpica/rsmisc.c acpi_rs_convert_resource_to_aml() -> acpi_rs_set_resource_length()

Type Parameter Key Value
PARAM_VALUE 0 total_length 0-14,16,18,20-24,28,48
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
DATA_SOURCE 1 aml $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 total_length unit_byte
UNITS 1 aml unit_byte

drivers/acpi/acpica/rsmisc.c acpi_rs_convert_resource_to_aml() -> acpi_rs_set_resource_length()

Type Parameter Key Value
PARAM_VALUE 0 total_length 0-131071
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
DATA_SOURCE 0 total_length r acpi_rs_set_resource_source
DATA_SOURCE 1 aml $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 aml unit_byte

drivers/acpi/acpica/rsmisc.c acpi_rs_convert_resource_to_aml() -> acpi_rs_set_resource_length()

Type Parameter Key Value
PARAM_VALUE 0 total_length 0-131071
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
DATA_SOURCE 0 total_length r acpi_rs_set_resource_source
DATA_SOURCE 1 aml $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 aml unit_byte

drivers/acpi/acpica/rsutils.c acpi_rs_set_resource_header() -> acpi_rs_set_resource_length()

Type Parameter Key Value
PARAM_VALUE 0 total_length 0-255
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
BUF_SIZE 1 aml s32min,(-10),(-1),1-s32max
DATA_SOURCE 0 total_length $1
DATA_SOURCE 1 aml $2
MEM_ZERO 1 aml
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 aml unit_byte