Defined in 1 files as a prototype:

Defined in 3 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/acpi/acpica/utcopy.c acpi_ut_copy_simple_object() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units 1
PARAM_VALUE 1 initial_units 1
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/acpica/utcopy.c acpi_ut_copy_simple_object() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units u32max
PARAM_VALUE 1 initial_units 0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/acpica/excreate.c acpi_ex_create_event() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units u32max
PARAM_VALUE 1 initial_units 0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/acpica/excreate.c acpi_ex_create_mutex() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units 1
PARAM_VALUE 1 initial_units 1
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/acpica/dsmethod.c acpi_ds_create_method_mutex() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units 1
PARAM_VALUE 1 initial_units 1
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/acpica/nsaccess.c acpi_ns_root_initialize() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units 1
PARAM_VALUE 1 initial_units 1

drivers/acpi/acpica/nsaccess.c acpi_ns_root_initialize() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units 1
PARAM_VALUE 1 initial_units 0
PARAM_VALUE 2 handle 2217876514702499840
PARAM_VALUE 2 *handle 0,4096-ptr_max

drivers/acpi/acpica/utmutex.c acpi_ut_create_mutex() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units 1
PARAM_VALUE 1 initial_units 1
PARAM_VALUE 2 *handle 0
PARAM_VALUE 2 *(*handle) 0

drivers/acpi/acpica/utmutex.c acpi_ut_mutex_initialize() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units 1
PARAM_VALUE 1 initial_units 1
PARAM_VALUE 2 handle 9142750094384402432

drivers/acpi/acpica/evhandler.c acpi_ev_install_space_handler() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units 1
PARAM_VALUE 1 initial_units 1
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/acpica/dbexec.c acpi_db_create_execution_threads() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units 1
PARAM_VALUE 1 initial_units 0
PARAM_VALUE 2 handle 3459070537202348032

drivers/acpi/acpica/dbexec.c acpi_db_create_execution_threads() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units 1
PARAM_VALUE 1 initial_units 1
PARAM_VALUE 2 handle 9087342170321281024

drivers/acpi/acpica/dbexec.c acpi_db_create_execution_threads() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units 1
PARAM_VALUE 1 initial_units 1
PARAM_VALUE 2 handle 1797442958162243584

drivers/acpi/acpica/utlock.c acpi_ut_create_rw_lock() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units 1
PARAM_VALUE 1 initial_units 1
PARAM_VALUE 2 handle 2793106341325799432

drivers/acpi/acpica/utlock.c acpi_ut_create_rw_lock() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units 1
PARAM_VALUE 1 initial_units 1
PARAM_VALUE 2 handle 2793106341325799424

drivers/acpi/acpica/exsystem.c acpi_ex_system_reset_event() -> acpi_os_create_semaphore()

Type Parameter Key Value
PARAM_VALUE 0 max_units u32max
PARAM_VALUE 1 initial_units 0
PARAM_VALUE 2 handle 1663681089197969408
RX_PATH
TASK_NOT_RUNNING