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

/haiku/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/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/headers/private/kernel/posix/
H A Drealtime_sem.h28 mode_t mode, uint32 semCount, sem_t* userSem,
/haiku/src/system/kernel/posix/
H A Drealtime_sem.cpp45 status_t Init(int32 semCount, const char* name) argument
47 fSemaphoreID = create_sem(semCount, name);
79 status_t Init(const char* name, mode_t mode, int32 semCount) argument
81 status_t error = SemInfo::Init(semCount, name);
201 uint32 semCount, NamedSem*& _sem, bool& _created)
230 status_t error = sem->Init(name, mode, semCount);
433 uint32 semCount, sem_t* userSem, sem_t*& _usedUserSem, int32_t& _id,
437 status_t error = sSemTable.OpenNamedSem(name, openFlags, mode, semCount,
676 mode_t mode, uint32 semCount, sem_t* userSem, sem_t** _usedUserSem)
682 if (semCount > MAX_POSIX_SEM_VALU
200 OpenNamedSem(const char* name, int openFlags, mode_t mode, uint32 semCount, NamedSem*& _sem, bool& _created) argument
432 OpenSem(const char* name, int openFlags, mode_t mode, uint32 semCount, sem_t* userSem, sem_t*& _usedUserSem, int32_t& _id, bool& _created) argument
675 _user_realtime_sem_open(const char* userName, int openFlagsOrShared, mode_t mode, uint32 semCount, sem_t* userSem, sem_t** _usedUserSem) argument
[all...]
/haiku/src/system/libroot/posix/
H A Dsemaphore.cpp54 unsigned semCount = 0; local
60 semCount = va_arg(args, unsigned);
81 status_t error = _kern_realtime_sem_open(name, openFlags, mode, semCount,
/haiku/src/add-ons/kernel/bus_managers/usb/
H A DStack.cpp226 int32 semCount = 0;
227 get_sem_count(fExploreSem, &semCount);
228 if (semCount > 0)
229 acquire_sem_etc(fExploreSem, semCount, B_RELATIVE_TIMEOUT, 0);
/haiku/src/add-ons/kernel/drivers/network/ether/virtio/
H A Dvirtio_net.cpp629 int32 semCount = 0; local
630 get_sem_count(info->rxDone, &semCount);
631 if (semCount > 0)
632 acquire_sem_etc(info->rxDone, semCount, B_RELATIVE_TIMEOUT, 0);
688 int32 semCount = 0; local
689 get_sem_count(info->txDone, &semCount);
690 if (semCount > 0)
691 acquire_sem_etc(info->txDone, semCount, B_RELATIVE_TIMEOUT, 0);
/haiku/src/apps/terminal/
H A DTermParse.cpp1311 int32 semCount; local
1312 if (get_sem_count(fReaderSem, &semCount) == B_OK && semCount > 0)
1313 acquire_sem_etc(fReaderSem, semCount, B_RELATIVE_TIMEOUT, 0);
/haiku/src/add-ons/kernel/busses/usb/
H A Dxhci.cpp2824 int32 semCount = 0; local
2825 get_sem_count(fCmdCompSem, &semCount);
2826 if (semCount > 0)
2827 acquire_sem_etc(fCmdCompSem, semCount, B_RELATIVE_TIMEOUT, 0);
3037 int32 semCount = 0; local
3038 get_sem_count(fEventSem, &semCount);
3039 if (semCount > 0)
3040 acquire_sem_etc(fEventSem, semCount, B_RELATIVE_TIMEOUT, 0);
3121 int32 semCount = 0; local
3122 get_sem_count(fFinishTransfersSem, &semCount);
[all...]
H A Duhci.cpp1492 int32 semCount = 0; local
1493 get_sem_count(fFinishTransfersSem, &semCount);
1494 if (semCount > 0)
1495 acquire_sem_etc(fFinishTransfersSem, semCount, B_RELATIVE_TIMEOUT, 0);
H A Dohci.cpp1126 int32 semCount = 0; local
1127 get_sem_count(fFinishTransfersSem, &semCount);
1128 if (semCount > 0)
1129 acquire_sem_etc(fFinishTransfersSem, semCount, B_RELATIVE_TIMEOUT, 0);
H A Dehci.cpp1865 int32 semCount = 0; local
1866 get_sem_count(fFinishTransfersSem, &semCount);
1867 if (semCount > 0) {
1868 acquire_sem_etc(fFinishTransfersSem, semCount, B_RELATIVE_TIMEOUT,
/haiku/headers/private/system/
H A Dsyscalls.h115 int openFlagsOrShared, mode_t mode, uint32 semCount,

Completed in 104 milliseconds