Searched refs:SEMCOUNT_VALUE_MASK (Results 1 – 1 of 1) sorted by relevance
62 #define SEMCOUNT_VALUE_MASK 0xfffffffe macro72 #define SEMCOUNT_FROM_VALUE(val) (((val) << SEMCOUNT_VALUE_SHIFT) & SEMCOUNT_VALUE_MASK)83 #define SEMCOUNT_DECREMENT(sval) (((sval) - (1U << SEMCOUNT_VALUE_SHIFT)) & SEMCOUNT_VALUE_MASK)84 #define SEMCOUNT_INCREMENT(sval) (((sval) + (1U << SEMCOUNT_VALUE_SHIFT)) & SEMCOUNT_VALUE_MASK)167 old = (*pvalue & SEMCOUNT_VALUE_MASK); in __sem_dec()191 old = (*pvalue & SEMCOUNT_VALUE_MASK); in __sem_trydec()221 old = (*pvalue & SEMCOUNT_VALUE_MASK); in __sem_inc()