Searched refs:SEM_FAILED (Results 1 – 25 of 70) sorted by relevance
123
96 if ((sem1 == SEM_FAILED) && (errno == EEXIST)) { in main()101 if (sem1 == SEM_FAILED) { in main()115 if (sem2 != SEM_FAILED) { in main()128 if (sem2 == SEM_FAILED) { in main()
139 if ((sem == SEM_FAILED) && (errno == EEXIST)) { in main()144 if (sem == SEM_FAILED) { in main()159 if (sem == SEM_FAILED) { in main()
94 if (sem == SEM_FAILED) { in common()140 if ((sem == SEM_FAILED) && (errno == EEXIST)) { in main()145 if (sem == SEM_FAILED) { in main()
111 if ((sem == SEM_FAILED) && (errno == EEXIST)) { in main()116 if (sem == SEM_FAILED) { in main()
118 if ((sem == SEM_FAILED) && (errno == EEXIST)) { in main()123 if (sem == SEM_FAILED) { in main()
125 if (sem != SEM_FAILED) { in main()178 if (sem != SEM_FAILED) { in main()
35 if (mysemp == SEM_FAILED || mysemp == NULL) { in main()
100 if (sem == SEM_FAILED && errno == EEXIST) { in main()105 if (sem == SEM_FAILED) { in main()128 if (sem == SEM_FAILED) { in main()
35 if (mysemp == SEM_FAILED) { in main()48 if (mysemp == SEM_FAILED) { in main()
35 if (mysemp == SEM_FAILED) { in main()
87 if (sem == SEM_FAILED) { in child_fn()93 if (sem_1 == SEM_FAILED) { in child_fn()130 if (sem == SEM_FAILED) { in main()138 if (sem_1 == SEM_FAILED) { in main()
31 #define SEM_FAILED NULL macro203 # undef SEM_FAILED204 # define SEM_FAILED ((sem_t *)-1) macro428 SEM_HANDLE handle = SEM_FAILED; in semlock_new()453 } while ((handle == SEM_FAILED) && (errno == EEXIST) && (++try < 100)); in semlock_new()456 if (handle == SEM_FAILED || SEM_GET_LAST_ERROR() != 0) in semlock_new()469 if (handle != SEM_FAILED) in semlock_new()491 if (self->handle != SEM_FAILED) in semlock_dealloc()
33 if (semaphore_ == SEM_FAILED) { in ScreenDrawerLockPosix()42 if (semaphore_ == SEM_FAILED) { in ~ScreenDrawerLockPosix()
33 #define SEM_FAILED NULL macro196 # undef SEM_FAILED197 # define SEM_FAILED ((sem_t *)-1) macro435 SEM_HANDLE handle = SEM_FAILED; in semlock_new()462 if (handle == SEM_FAILED || SEM_GET_LAST_ERROR() != 0) in semlock_new()475 if (handle != SEM_FAILED) in semlock_new()505 if (handle == SEM_FAILED) { in semlock_rebuild()518 if (self->handle != SEM_FAILED) in semlock_dealloc()
37 if (mysemp == SEM_FAILED) { in main()48 if ((mysemp == SEM_FAILED) && (errno == EEXIST)) { in main()
37 if (mysemp == SEM_FAILED) { in main()48 if (mysemp == SEM_FAILED) { in main()
98 if (sems[i] == SEM_FAILED) { in main()122 if (sems[i] == SEM_FAILED) { in main()
33 if ((mysemp == SEM_FAILED) && (errno == ENOENT)) { in main()
35 if ((mysemp == SEM_FAILED) || (mysemp == NULL)) { in main()
40 if ((mysemp == SEM_FAILED) && (errno == EINVAL)) { in main()
41 if ((mysemp == SEM_FAILED) && (errno == EEXIST)) { in main()
63 if (sem_linked == SEM_FAILED) { in main()69 if (sem_unlinked == SEM_FAILED) { in main()