Searched refs:Sem (Results 1 – 1 of 1) sorted by relevance
882 sem_t *Sem; in AcpiOsCreateSemaphore() local898 Sem = sem_open (SemaphoreName, O_EXCL|O_CREAT, 0755, InitialUnits); in AcpiOsCreateSemaphore()899 if (!Sem) in AcpiOsCreateSemaphore()907 Sem = AcpiOsAllocate (sizeof (sem_t)); in AcpiOsCreateSemaphore()908 if (!Sem) in AcpiOsCreateSemaphore()913 if (sem_init (Sem, 0, InitialUnits) == -1) in AcpiOsCreateSemaphore()915 AcpiOsFree (Sem); in AcpiOsCreateSemaphore()920 *OutHandle = (ACPI_HANDLE) Sem; in AcpiOsCreateSemaphore()941 sem_t *Sem = (sem_t *) Handle; in AcpiOsDeleteSemaphore() local944 if (!Sem) in AcpiOsDeleteSemaphore()[all …]