Searched refs:semCount (Results 1 - 12 of 12) sorted by relevance

/haiku-fatelf/src/tests/system/kernel/
H A Dsem_acquire_test1.cpp55 int32 semCount = 42; local
56 get_sem_count(sSemaphore, &semCount);
57 printf("sem count: %ld\n", semCount);
/haiku-fatelf/src/tests/kits/support/blocker/
H A DConstructionTest1.cpp74 int32 semCount; local
76 CPPUNIT_ASSERT(get_sem_count(lockerArg->Sem(), &semCount) == B_OK);
77 switch (semCount) {
/haiku-fatelf/src/system/libroot/posix/
H A Dsemaphore.cpp32 unsigned semCount = 0; local
38 semCount = va_arg(args, unsigned);
57 status_t error = _kern_realtime_sem_open(name, openFlags, mode, semCount,
/haiku-fatelf/headers/private/kernel/posix/
H A Drealtime_sem.h28 mode_t mode, uint32 semCount, sem_t* userSem,
/haiku-fatelf/src/add-ons/kernel/bus_managers/usb/
H A DBeOSCompatibility.h145 int32 semCount = fSemCount; local
146 sem_id sems[semCount];
147 memcpy(sems, fSems, sizeof(sem_id) * semCount);
150 for (int32 i = 0; i < semCount; i++)
/haiku-fatelf/src/system/kernel/posix/
H A Drealtime_sem.cpp43 status_t Init(int32 semCount, const char* name) argument
45 fSemaphoreID = create_sem(semCount, name);
77 status_t Init(const char* name, mode_t mode, int32 semCount) argument
79 status_t error = SemInfo::Init(semCount, name);
165 status_t Init(int32 semCount, const char* name) argument
167 return SemInfo::Init(semCount, name);
220 status_t Init(int32 semCount, const char* name) argument
222 return SemInfo::Init(semCount, name);
326 uint32 semCount, NamedSem*& _sem, bool& _created)
355 status_t error = sem->Init(name, mode, semCount);
325 OpenNamedSem(const char* name, int openFlags, mode_t mode, uint32 semCount, NamedSem*& _sem, bool& _created) argument
396 CreateUnnamedSem(uint32 semCount, int32_t& _id) argument
605 CreateUnnamedSem(uint32 semCount, bool shared, int32_t& _id) argument
645 OpenSem(const char* name, int openFlags, mode_t mode, uint32 semCount, sem_t* userSem, sem_t*& _usedUserSem, int32_t& _id, bool& _created) argument
901 _user_realtime_sem_open(const char* userName, int openFlagsOrShared, mode_t mode, uint32 semCount, sem_t* userSem, sem_t** _usedUserSem) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/busses/usb/
H A Dxhci.cpp1753 int32 semCount = 0; local
1754 get_sem_count(fCmdCompSem, &semCount);
1755 if (semCount > 0)
1756 acquire_sem_etc(fCmdCompSem, semCount, B_RELATIVE_TIMEOUT, 0);
1930 int32 semCount = 0; local
1931 get_sem_count(fEventSem, &semCount);
1932 if (semCount > 0)
1933 acquire_sem_etc(fEventSem, semCount, B_RELATIVE_TIMEOUT, 0);
2000 int32 semCount = 0; local
2001 get_sem_count(fFinishTransfersSem, &semCount);
[all...]
H A Dohci.cpp926 int32 semCount = 0; local
927 get_sem_count(fFinishTransfersSem, &semCount);
928 if (semCount > 0)
929 acquire_sem_etc(fFinishTransfersSem, semCount, B_RELATIVE_TIMEOUT, 0);
H A Duhci.cpp1329 int32 semCount = 0; local
1330 get_sem_count(fFinishTransfersSem, &semCount);
1331 if (semCount > 0)
1332 acquire_sem_etc(fFinishTransfersSem, semCount, B_RELATIVE_TIMEOUT, 0);
H A Dehci.cpp1480 int32 semCount = 0; local
1481 get_sem_count(fFinishTransfersSem, &semCount);
1482 if (semCount > 0)
1483 acquire_sem_etc(fFinishTransfersSem, semCount, B_RELATIVE_TIMEOUT, 0);
/haiku-fatelf/src/apps/terminal/
H A DTermParse.cpp1204 int32 semCount; local
1205 if (get_sem_count(fReaderSem, &semCount) == B_OK && semCount > 0)
1206 acquire_sem_etc(fReaderSem, semCount, B_RELATIVE_TIMEOUT, 0);
/haiku-fatelf/headers/private/system/
H A Dsyscalls.h103 int openFlagsOrShared, mode_t mode, uint32 semCount,

Completed in 86 milliseconds