/haiku-fatelf/src/tests/system/kernel/ |
H A D | sem_acquire_test1.cpp | 55 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 D | ConstructionTest1.cpp | 74 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 D | semaphore.cpp | 32 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 D | realtime_sem.h | 28 mode_t mode, uint32 semCount, sem_t* userSem,
|
/haiku-fatelf/src/add-ons/kernel/bus_managers/usb/ |
H A D | BeOSCompatibility.h | 145 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 D | realtime_sem.cpp | 43 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 D | xhci.cpp | 1753 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 D | ohci.cpp | 926 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 D | uhci.cpp | 1329 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 D | ehci.cpp | 1480 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 D | TermParse.cpp | 1204 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 D | syscalls.h | 103 int openFlagsOrShared, mode_t mode, uint32 semCount,
|