Searched refs:SEMCOUNT_TO_VALUE (Results 1 – 1 of 1) sorted by relevance
75 #define SEMCOUNT_TO_VALUE(sval) ((int)(sval) >> SEMCOUNT_VALUE_SHIFT) macro119 count = SEMCOUNT_TO_VALUE(sem->count); in sem_destroy()171 ret = SEMCOUNT_TO_VALUE(old); in __sem_dec()195 ret = SEMCOUNT_TO_VALUE(old); in __sem_trydec()225 ret = SEMCOUNT_TO_VALUE(old); in __sem_inc()396 val = SEMCOUNT_TO_VALUE(sem->count); in sem_getvalue()