Lines Matching full:mutex

4  * Module Name: utmutex - local mutex support
27 * DESCRIPTION: Create the system mutex objects. This includes mutexes,
39 /* Create each of the predefined mutex objects */ in acpi_ut_mutex_initialize()
65 /* Mutex for _OSI support */ in acpi_ut_mutex_initialize()
90 * DESCRIPTION: Delete all of the system mutex objects. This includes mutexes,
101 /* Delete each predefined mutex object */ in acpi_ut_mutex_terminate()
125 * PARAMETERS: mutex_ID - ID of the mutex to be created
129 * DESCRIPTION: Create a mutex object.
139 if (!acpi_gbl_mutex_info[mutex_id].mutex) { in acpi_ut_create_mutex()
141 acpi_os_create_mutex(&acpi_gbl_mutex_info[mutex_id].mutex); in acpi_ut_create_mutex()
154 * PARAMETERS: mutex_ID - ID of the mutex to be deleted
158 * DESCRIPTION: Delete a mutex object.
167 acpi_os_delete_mutex(acpi_gbl_mutex_info[mutex_id].mutex); in acpi_ut_delete_mutex()
169 acpi_gbl_mutex_info[mutex_id].mutex = NULL; in acpi_ut_delete_mutex()
179 * PARAMETERS: mutex_ID - ID of the mutex to be acquired
183 * DESCRIPTION: Acquire a mutex object.
204 * Mutex debug code, for internal debugging only. in acpi_ut_acquire_mutex()
208 * the mutex ordering rule. This indicates a coding error somewhere in in acpi_ut_acquire_mutex()
215 "Mutex [%s] already acquired by this thread [%u]", in acpi_ut_acquire_mutex()
236 "Thread %u attempting to acquire Mutex [%s]\n", in acpi_ut_acquire_mutex()
241 acpi_os_acquire_mutex(acpi_gbl_mutex_info[mutex_id].mutex, in acpi_ut_acquire_mutex()
245 "Thread %u acquired Mutex [%s]\n", in acpi_ut_acquire_mutex()
253 "Thread %u could not acquire Mutex [%s] (0x%X)", in acpi_ut_acquire_mutex()
265 * PARAMETERS: mutex_ID - ID of the mutex to be released
269 * DESCRIPTION: Release a mutex object.
277 ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, "Thread %u releasing Mutex [%s]\n", in acpi_ut_release_mutex()
286 * Mutex must be acquired in order to release it! in acpi_ut_release_mutex()
290 "Mutex [%s] (0x%X) is not acquired, cannot release", in acpi_ut_release_mutex()
299 * Mutex debug code, for internal debugging only. in acpi_ut_release_mutex()
302 * greater than this one. If so, the thread has violated the mutex in acpi_ut_release_mutex()
328 acpi_os_release_mutex(acpi_gbl_mutex_info[mutex_id].mutex); in acpi_ut_release_mutex()