Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/acpi/cppc_acpi.c, line 496
- drivers/acpi/dptf/dptf_pch_fivr.c, line 34
- drivers/acpi/fan_core.c
- drivers/acpi/processor_perflib.c
- drivers/acpi/processor_throttling.c
- drivers/acpi/utils.c, line 244
- drivers/hwmon/acpi_power_meter.c, line 768
- drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
- sound/soc/soc-acpi.c, line 80
Smatch caller information:
drivers/acpi/dptf/dptf_pch_fivr.c pch_fivr_read() -> acpi_extract_package()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | package | 4096-ptr_max |
| PARAM_VALUE | 0 | package->type | 4 |
| PARAM_VALUE | 1 | format | 5475402833140391936 |
| PARAM_VALUE | 1 | format->length | 3 |
| PARAM_VALUE | 1 | format->pointer | 2109060161657671680 |
| PARAM_VALUE | 2 | buffer | 1263384649464860672 |
| PARAM_VALUE | 2 | buffer->length | 16 |
| PARAM_VALUE | 2 | buffer->pointer | 3219775012765515776,5233381109494161408,6121772979611119616,6986236834415427584,8650976124708175872 |
| TERMINATED | 1 | format->pointer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | package | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/acpi/cppc_acpi.c acpi_get_psd() -> acpi_extract_package()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | package | 4096-ptr_max |
| PARAM_VALUE | 1 | format | 880557676172161024 |
| PARAM_VALUE | 1 | format->length | 6 |
| PARAM_VALUE | 1 | format->pointer | 1172360070332837888 |
| PARAM_VALUE | 2 | buffer | 4889254249045311488 |
| PARAM_VALUE | 2 | buffer->length | 40 |
| PARAM_VALUE | 2 | buffer->pointer | 4096-ptr_max |
| TERMINATED | 1 | format->pointer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
drivers/hwmon/acpi_power_meter.c read_capabilities() -> acpi_extract_package()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | package | 4096-ptr_max |
| PARAM_VALUE | 0 | package->package.count | 14 |
| PARAM_VALUE | 0 | package->type | 4 |
| PARAM_VALUE | 1 | format | 2963151382249832448 |
| PARAM_VALUE | 1 | format->length | 12 |
| PARAM_VALUE | 1 | format->pointer | 7823934406408130560 |
| PARAM_VALUE | 2 | buffer | 1929124889181007872 |
| PARAM_VALUE | 2 | buffer->length | 88 |
| PARAM_VALUE | 2 | buffer->pointer | 4096-ptr_max |
| TERMINATED | 1 | format->pointer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | package | unit_byte |
| HALF_LOCKED2 | &resource->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/acpi/fan_core.c acpi_fan_get_fif() -> acpi_extract_package()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | package | 4096-ptr_max |
| PARAM_VALUE | 0 | package->type | 4 |
| PARAM_VALUE | 1 | format | 9029335279421112320 |
| PARAM_VALUE | 1 | format->length | 5 |
| PARAM_VALUE | 1 | format->pointer | 8693879627105173504 |
| PARAM_VALUE | 2 | buffer | 3164089965630513152 |
| PARAM_VALUE | 2 | buffer->length | 32 |
| PARAM_VALUE | 2 | buffer->pointer | 6656136106817310720 |
| TERMINATED | 1 | format->pointer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | package | unit_byte |
drivers/acpi/fan_core.c acpi_fan_get_fps() -> acpi_extract_package()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | format | 1599531122229985280 |
| PARAM_VALUE | 1 | format->length | 6 |
| PARAM_VALUE | 1 | format->pointer | 1172360070332837888 |
| PARAM_VALUE | 2 | buffer | 4447663833903730688 |
| PARAM_VALUE | 2 | buffer->length | 40 |
| PARAM_VALUE | 2 | buffer->pointer | 4096-ptr_max |
| TERMINATED | 1 | format->pointer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/processor_throttling.c acpi_processor_get_throttling_states() -> acpi_extract_package()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | package | 4096-ptr_max |
| PARAM_VALUE | 1 | format | 5241682200072830976 |
| PARAM_VALUE | 1 | format->length | 6 |
| PARAM_VALUE | 1 | format->pointer | 1172360070332837888 |
| PARAM_VALUE | 2 | buffer | 6664073751133843456 |
| PARAM_VALUE | 2 | buffer->length | 40 |
| PARAM_VALUE | 2 | buffer->pointer | 4096-ptr_max |
| TERMINATED | 1 | format->pointer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
drivers/acpi/processor_throttling.c acpi_processor_get_tsd() -> acpi_extract_package()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | package | 4096-ptr_max |
| PARAM_VALUE | 1 | format | 2184669042363699200 |
| PARAM_VALUE | 1 | format->length | 6 |
| PARAM_VALUE | 1 | format->pointer | 1172360070332837888 |
| PARAM_VALUE | 2 | buffer | 5554924497802158080 |
| PARAM_VALUE | 2 | buffer->length | 40 |
| PARAM_VALUE | 2 | buffer->pointer | 4096-ptr_max |
| TERMINATED | 1 | format->pointer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
sound/soc/soc-acpi.c snd_soc_acpi_find_package() -> acpi_extract_package()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | package | 4096-ptr_max |
| CAPPED_DATA | 0 | package->package.count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | package | unit_byte |
drivers/acpi/processor_perflib.c acpi_processor_get_performance_states() -> acpi_extract_package()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | package | 4096-ptr_max |
| PARAM_VALUE | 1 | format | 5789080029772627968 |
| PARAM_VALUE | 1 | format->length | 7 |
| PARAM_VALUE | 1 | format->pointer | 8001485418174644224 |
| PARAM_VALUE | 2 | buffer | 5146448366234054656 |
| PARAM_VALUE | 2 | buffer->length | 48 |
| PARAM_VALUE | 2 | buffer->pointer | 4096-ptr_max |
| TERMINATED | 1 | format->pointer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &performance_mutex |
drivers/acpi/processor_perflib.c acpi_processor_get_psd() -> acpi_extract_package()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | package | 4096-ptr_max |
| PARAM_VALUE | 1 | format | 7787640910876803072 |
| PARAM_VALUE | 1 | format->length | 6 |
| PARAM_VALUE | 1 | format->pointer | 1172360070332837888 |
| PARAM_VALUE | 2 | buffer | 8966737960162115584 |
| PARAM_VALUE | 2 | buffer->length | 40 |
| PARAM_VALUE | 2 | buffer->pointer | 4096-ptr_max |
| TERMINATED | 1 | format->pointer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &performance_mutex |
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c acpi_parse_art() -> acpi_extract_package()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | format | 3685318918552195072 |
| PARAM_VALUE | 1 | format->length | 14 |
| PARAM_VALUE | 1 | format->pointer | 5087980192014360576 |
| PARAM_VALUE | 2 | buffer | 6488123203442216960 |
| PARAM_VALUE | 2 | buffer->length | 104 |
| TERMINATED | 1 | format->pointer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c acpi_parse_psvt() -> acpi_extract_package()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | package | 4096-ptr_max |
| PARAM_VALUE | 1 | format | 3535615362747486208,7375600336523464704 |
| PARAM_VALUE | 1 | format->length | 13 |
| PARAM_VALUE | 1 | format->pointer | 7390549769743900672,8100628103674220544 |
| PARAM_VALUE | 2 | buffer | 5458207625529868288 |
| PARAM_VALUE | 2 | buffer->length | u64max |
| PARAM_VALUE | 2 | buffer->pointer | 0 |
| BUF_SIZE | 1 | format | 16 |
| STR_LEN | 1 | format->pointer | 12 |
| BIT_INFO | 1 | format | 0x201105608eba1000,0x775b677dbffbd000 |
| BIT_INFO | 1 | format | 0x201105608eba1000,0x775b677dbffbd000 |
| TERMINATED | 1 | format->pointer | 1 |
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c acpi_parse_trt() -> acpi_extract_package()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | package | 4096-ptr_max |
| PARAM_VALUE | 1 | format | 6309135771380928512 |
| PARAM_VALUE | 1 | format->length | 9 |
| PARAM_VALUE | 1 | format->pointer | 4342060418143965184 |
| PARAM_VALUE | 2 | buffer | 7855919824324542464 |
| PARAM_VALUE | 2 | buffer->length | 64 |
| TERMINATED | 1 | format->pointer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |