Lines Matching refs:shared
145 unsigned int shared = old_value & SEMCOUNT_SHARED_MASK; in __sem_dec() local
156 SEMCOUNT_DECREMENT(old_value) | shared)); in __sem_dec()
165 unsigned int shared = old_value & SEMCOUNT_SHARED_MASK; in __sem_trydec() local
176 SEMCOUNT_DECREMENT(old_value) | shared)); in __sem_trydec()
189 unsigned int shared = old_value & SEMCOUNT_SHARED_MASK; in __sem_inc() local
204 new_value = SEMCOUNT_ONE | shared; in __sem_inc()
206 new_value = SEMCOUNT_INCREMENT(old_value) | shared; in __sem_inc()
216 unsigned int shared = SEM_GET_SHARED(sem_count_ptr); in sem_wait() local
223 … int result = __futex_wait_ex(sem_count_ptr, shared, shared | SEMCOUNT_MINUS_ONE, false, nullptr); in sem_wait()
250 unsigned int shared = SEM_GET_SHARED(sem_count_ptr); in __sem_timedwait() local
259 int result = __futex_wait_ex(sem_count_ptr, shared, shared | SEMCOUNT_MINUS_ONE, in __sem_timedwait()
291 unsigned int shared = SEM_GET_SHARED(sem_count_ptr); in sem_post() local
296 __futex_wake_ex(sem_count_ptr, shared, INT_MAX); in sem_post()