Searched defs:nsops (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | semsys.c | 74 semop(int semid, struct sembuf *sops, int nsops) argument 76 return (_syscall(SYS_semsys, SEMOP, semid, sops, nsops)); 89 int nsops; local 111 nsops = va_arg(ap, int); 113 return (semop(semid, sops, nsops));
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | semsys.c | 129 semop(int semid, struct sembuf *sops, size_t nsops) argument 131 return (syscall(SYS_semsys, SEMOP, semid, sops, nsops)); 141 semtimedop(int semid, struct sembuf *sops, size_t nsops, argument 144 return (syscall(SYS_semsys, SEMTIMEDOP, semid, sops, nsops,
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sem.c | 863 semop(int semid, struct sembuf *sops, size_t nsops, timespec_t *timeout) argument 915 if (nsops == 1) 917 else if (nsops == 0) 919 else if (nsops <= SEM_MAXUCOPS) 920 uops = kmem_alloc(nsops * sizeof (*uops), KM_SLEEP); 922 if (nsops > SEM_MAXUCOPS) { 927 if (nsops > sp->sem_maxops) { 935 uops = kmem_alloc(nsops * sizeof (*uops), KM_SLEEP); 936 if (copyin(sops, uops, nsops * sizeof (*op))) { 952 if (copyin(sops, uops, nsops * sizeo [all...] |
/illumos-gate/usr/src/cmd/truss/ |
H A D | expound.c | 2466 show_semop(private_t *pri, long offset, long nsops, long timeout) argument 2474 if (nsops > 40) /* let's not be ridiculous */ 2475 nsops = 40; 2477 for (; nsops > 0 && !interrupt; --nsops, offset += sizeof (sembuf)) {
|
Completed in 57 milliseconds