Home
last modified time | relevance | path

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

/haiku/src/build/libroot/
H A Dsem.cpp16 bool inUse; member
28 return sSemaphores[id].inUse; in check_sem()
37 if (!sem.inUse) { in create_sem()
42 sem.inUse = true; in create_sem()
59 sSemaphores[id].inUse = false; in delete_sem()
204 if (sSemaphores[i].inUse) { in _get_next_sem_info()
/haiku/src/system/libroot/posix/malloc/hoard2/
H A Dheap.cpp424 int inUse, allocated; in freeBlock() local
425 getStats(sizeclass, inUse, allocated); in freeBlock()
426 if ((inUse < allocated - getReleaseThreshold(sizeclass)) in freeBlock()
427 && (EMPTY_FRACTION * inUse < in freeBlock()