Defined in 1 files as a prototype:
Defined in 3 files as a function:
- drivers/acpi/osl.c, line 1276 (as a function)
- tools/power/acpi/os_specific/service_layers/osunixxf.c, line 602 (as a function)
- tools/power/acpi/os_specific/service_layers/osunixxf.c, line 715 (as a function)
Referenced in 4 files:
- drivers/acpi/acpica/dbexec.c
- drivers/acpi/acpica/exsystem.c
- include/acpi/actypes.h, line 238
- tools/power/acpi/os_specific/service_layers/osunixxf.c, line 871
Smatch caller information:
drivers/acpi/acpica/evregion.c acpi_ev_address_space_dispatch() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/utxfmutex.c acpi_acquire_mutex() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | 500,800 |
| DATA_SOURCE | 2 | timeout | $2 |
| HARD_MAX | 2 | timeout | 800 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/acpi/acpica/dbcmds.c acpi_db_display_interfaces() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/acpi/acpica/utmutex.c acpi_ut_acquire_mutex() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &subdev->use.mutex |
drivers/acpi/acpica/dbexec.c acpi_db_create_execution_threads() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
drivers/acpi/acpica/dbexec.c acpi_db_method_thread() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
| HALF_LOCKED2 | &pool->lock |
drivers/acpi/acpica/dbexec.c acpi_db_method_thread() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
| HALF_LOCKED2 | &pool->lock |
drivers/acpi/acpica/utlock.c acpi_ut_acquire_read_lock() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &init_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &slot_list_lock |
drivers/acpi/acpica/utlock.c acpi_ut_acquire_read_lock() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &init_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &slot_list_lock | ||
| HALF_LOCKED2 | lock->reader_mutex |
drivers/acpi/acpica/utlock.c acpi_ut_acquire_write_lock() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &subsys->su_mutex |
drivers/acpi/acpica/utlock.c acpi_ut_release_read_lock() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &init_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &slot_list_lock |
drivers/acpi/acpica/utosi.c acpi_ut_initialize_interfaces() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
drivers/acpi/acpica/utosi.c acpi_ut_interface_terminate() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
drivers/acpi/acpica/utosi.c acpi_ut_osi_implementation() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/exsystem.c acpi_ex_system_wait_mutex() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | 0 |
| DATA_SOURCE | 0 | handle | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/exsystem.c acpi_ex_system_wait_mutex() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | handle->first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | handle->first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | handle->first_waiter->up | 0 |
| PARAM_VALUE | 0 | handle->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | handle->lock.owner | (-1) |
| PARAM_VALUE | 0 | handle->lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | units | 1 |
| DATA_SOURCE | 0 | handle | $0 |
| DATA_SOURCE | 2 | timeout | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | timeout | unit_byte |
drivers/acpi/acpica/exsystem.c acpi_ex_system_wait_semaphore() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | 0 |
| DATA_SOURCE | 0 | handle | $0 |
drivers/acpi/acpica/exsystem.c acpi_ex_system_wait_semaphore() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | handle->first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | handle->first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | handle->first_waiter->up | 0 |
| PARAM_VALUE | 0 | handle->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | handle->lock.owner | (-1) |
| PARAM_VALUE | 0 | handle->lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | units | 1 |
| DATA_SOURCE | 0 | handle | $0 |
| DATA_SOURCE | 2 | timeout | $1 |
| UNITS | 2 | timeout | unit_byte |
drivers/acpi/acpica/utxface.c acpi_install_interface() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/utxface.c acpi_install_interface_handler() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
drivers/acpi/acpica/utxface.c acpi_remove_interface() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpica/utxface.c acpi_update_interfaces() -> acpi_os_wait_semaphore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | units | 1 |
| PARAM_VALUE | 2 | timeout | u16max |