/netbsd-6-1-5-RELEASE/external/cddl/osnet/sys/sys/ |
H A D | sema.h | 28 * $FreeBSD: src/sys/cddl/compat/opensolaris/sys/sema.h,v 1.1.4.1 2009/08/03 08:13:06 kensmith Exp $ 35 #include_next <sys/sema.h> 37 typedef struct sema ksema_t;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/config/i386/ |
H A D | gthr-win32.c | 150 mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL); 156 CloseHandle ((HANDLE) mutex->sema); 163 WaitForSingleObject (mutex->sema, INFINITE) == WAIT_OBJECT_0) 187 return ReleaseSemaphore (mutex->sema, 1, NULL) ? 0 : 1; 198 mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL); 215 else if (WaitForSingleObject (mutex->sema, INFINITE) == WAIT_OBJECT_0) 256 return ReleaseSemaphore (mutex->sema, 1, NULL) ? 0 : 1;
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/config/i386/ |
H A D | gthr-win32.c | 150 mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL); 157 WaitForSingleObject (mutex->sema, INFINITE) == WAIT_OBJECT_0) 181 return ReleaseSemaphore (mutex->sema, 1, NULL) ? 0 : 1; 192 mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL); 209 else if (WaitForSingleObject (mutex->sema, INFINITE) == WAIT_OBJECT_0) 250 return ReleaseSemaphore (mutex->sema, 1, NULL) ? 0 : 1;
|
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | sysv_sem.c | 62 struct semid_ds * sema __read_mostly; 113 sema = (void *)v; 114 sem = (void *)((uintptr_t)sema + 122 sema[i]._sem_base = 0; 123 sema[i].sem_perm.mode = 0; 175 old_sema = sema; 180 if (sema[i].sem_perm.mode & SEM_ALLOC) 224 if ((sema[i].sem_perm.mode & SEM_ALLOC) == 0) 226 memcpy(&new_sema[i], &sema[i], sizeof(struct semid_ds)); 228 memcpy(new_sema[i]._sem_base, sema[ [all...] |
H A D | sysv_ipc.c | 240 SYSCTL_FILL_SEM(sema[i], semsi->semids[i]);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/ |
H A D | gthr-win32.h | 352 void *sema; member in struct:__anon4654 359 void *sema; member in struct:__anon4655 631 __mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL); 637 CloseHandle ((HANDLE) __mutex->sema); 648 WaitForSingleObject (__mutex->sema, INFINITE) == WAIT_OBJECT_0) 682 return ReleaseSemaphore (__mutex->sema, 1, NULL) ? 0 : 1; 693 __mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL); 712 else if (WaitForSingleObject (__mutex->sema, INFINITE) == WAIT_OBJECT_0) 758 return ReleaseSemaphore (__mutex->sema, 1, NULL) ? 0 : 1;
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/ |
H A D | gthr-win32.h | 345 void *sema; member in struct:__anon3217 352 void *sema; member in struct:__anon3218 614 mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL); 625 WaitForSingleObject (mutex->sema, INFINITE) == WAIT_OBJECT_0) 659 return ReleaseSemaphore (mutex->sema, 1, NULL) ? 0 : 1; 670 mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL); 689 else if (WaitForSingleObject (mutex->sema, INFINITE) == WAIT_OBJECT_0) 735 return ReleaseSemaphore (mutex->sema, 1, NULL) ? 0 : 1;
|
/netbsd-6-1-5-RELEASE/sys/dev/sbus/ |
H A D | isp_sbus.c | 276 uint16_t sema, mbox; local 279 if (ISP_READ_ISR(isp, &isr, &sema, &mbox) == 0) { 285 isp_intr(isp, isr, sema, mbox); 304 uint16_t sema; local 307 sema = BXR2(sbc, IspVirt2Off(isp, BIU_SEMA)); 308 isp_prt(isp, ISP_LOGDEBUG3, "ISR 0x%x SEMA 0x%x", isr, sema); 310 sema &= BIU_SEMA_LOCK; 311 if (isr == 0 && sema == 0) { 315 if ((*semap = sema) != 0) {
|
/netbsd-6-1-5-RELEASE/sys/dev/ic/ |
H A D | universereg.h | 83 u_int32_t mbox[4], sema[2]; member in struct:universereg
|
H A D | isp_netbsd.c | 752 uint16_t sema, mbox; local 753 if (ISP_READ_ISR(isp, &isr, &sema, &mbox)) { 754 isp_intr(isp, isr, sema, mbox); 833 uint16_t mbox, sema; local 851 if (ISP_READ_ISR(isp, &isr, &sema, &mbox)) { 852 isp_intr(isp, isr, sema, mbox); 1624 uint16_t sema, mbox; local 1628 if (ISP_READ_ISR(isp, &isr, &sema, &mbox)) { 1629 isp_intr(isp, isr, sema, mbox);
|
H A D | isp.c | 4865 isp_intr(ispsoftc_t *isp, uint32_t isr, uint16_t sema, uint16_t mbox) argument 4877 if (sema) { 4920 isp_prt(isp, ISP_LOGINFO, "interrupt (ISR=%x SEMA=%x) when not ready", isr, sema); 5007 if (optr == iptr && sema == 0) { 5029 sema = ISP_READ(isp, BIU_SEMA); 5031 if ((sema & 0x3) && (mbox & 0x8000)) {
|
/netbsd-6-1-5-RELEASE/sys/sys/ |
H A D | sem.h | 192 extern struct semid_ds *sema; /* semaphore id pool */
|
/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | isp_pci.c | 846 uint16_t isr, sema; local 852 if (isp_pci_rd_debounced(isp, BIU_SEMA, &sema)) { 857 sema = BXR2(pcs, IspVirt2Off(isp, BIU_SEMA)); 859 isp_prt(isp, ISP_LOGDEBUG3, "ISR 0x%x SEMA 0x%x", isr, sema); 861 sema &= BIU_SEMA_LOCK; 862 if (isr == 0 && sema == 0) { 866 if ((*semap = sema) != 0) { 1405 uint16_t sema, mbox; local 1409 if (ISP_READ_ISR(isp, &isr, &sema, &mbox) == 0) { 1414 isp_intr(isp, isr, sema, mbo [all...] |
/netbsd-6-1-5-RELEASE/sys/compat/common/ |
H A D | sysv_ipc_50.c | 195 SYSCTL_FILL_SEM(sema[i], semsi->semids[i]);
|
/netbsd-6-1-5-RELEASE/usr.bin/ipcs/ |
H A D | ipcs.c | 707 struct semid_ds *sema; local 846 if (kvm_read(kd, symbols[X_SEMA].n_value, &sema, 847 sizeof(sema)) != sizeof(sema)) 854 if ((size_t)kvm_read(kd, (u_long)sema, xsema, 857 errx(1, "kvm_read (sema): %s",
|
/netbsd-6-1-5-RELEASE/external/bsd/llvm/include/ |
H A D | Makefile | 85 clang/Basic/arm_neon.inc|-gen-arm-neon-sema \
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/include/ |
H A D | am_defs.h | 1174 * Actions to take if <sys/sema.h> exists. 1177 # include <sys/sema.h>
|
/netbsd-6-1-5-RELEASE/sys/dist/ipf/netinet/ |
H A D | ip_compat.h | 562 # include <sys/sema.h>
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ |
H A D | configure | 17065 for ac_header in /sys/sync/queue.h /sys/sync/sema.h
|