Defined in 1 files as a prototype:
Defined in 3 files as a function:
- drivers/acpi/sleep.c, line 87 (as a function)
- include/acpi/acpi_bus.h, line 798 (as a function)
- include/linux/acpi.h, line 1161 (as a function)
Referenced in 4 files:
- arch/loongarch/power/platform.c, line 69
- drivers/acpi/sleep.c
- drivers/hv/hv_common.c, line 626
- drivers/hv/mshv_common.c, line 162
Smatch caller information:
drivers/hv/hv_common.c hv_is_hibernation_supported() -> acpi_sleep_state_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sleep_state | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/acpi/sleep.c acpi_sleep_hibernate_setup() -> acpi_sleep_state_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sleep_state | 4 |
drivers/acpi/sleep.c acpi_sleep_init() -> acpi_sleep_state_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sleep_state | 5 |
drivers/acpi/sleep.c acpi_sleep_suspend_setup() -> acpi_sleep_state_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sleep_state | 1-3 |