Home
last modified time | relevance | path

Searched refs:SEMCOUNT_VALUE_MASK (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/bionic/
Dsemaphore.cpp68 #define SEMCOUNT_VALUE_MASK 0xfffffffe macro
72 #define SEMCOUNT_FROM_VALUE(val) (((val) << SEMCOUNT_VALUE_SHIFT) & SEMCOUNT_VALUE_MASK)
85 #define SEMCOUNT_DECREMENT(sval) (((sval) - (1U << SEMCOUNT_VALUE_SHIFT)) & SEMCOUNT_VALUE_MASK)
86 #define SEMCOUNT_INCREMENT(sval) (((sval) + (1U << SEMCOUNT_VALUE_SHIFT)) & SEMCOUNT_VALUE_MASK)