Lines Matching refs:semaphore
45 #include <linux/semaphore.h>
803 struct semaphore *sem = NULL;
805 sem = acpi_os_allocate(sizeof(struct semaphore));
808 memset(sem, 0, sizeof(struct semaphore));
814 ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, "Creating semaphore[%p|%d].\n",
829 struct semaphore *sem = (struct semaphore *)handle;
834 ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, "Deleting semaphore[%p].\n", handle));
849 struct semaphore *sem = (struct semaphore *)handle;
859 ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, "Waiting for semaphore[%p|%d|%d]\n",
873 "Failed to acquire semaphore[%p|%d|%d], %s",
878 "Acquired semaphore[%p|%d|%d]", handle,
890 struct semaphore *sem = (struct semaphore *)handle;
898 ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, "Signaling semaphore[%p|%d]\n", handle,