Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dsemaphore.cpp72 #define SEMCOUNT_FROM_VALUE(val) (((val) << SEMCOUNT_VALUE_SHIFT) & SEMCOUNT_VALUE_MASK) macro
80 #define SEMCOUNT_ONE SEMCOUNT_FROM_VALUE(1)
83 #define SEMCOUNT_MINUS_ONE SEMCOUNT_FROM_VALUE(~0U)
110 unsigned int count = SEMCOUNT_FROM_VALUE(value); in sem_init()