Searched defs:nsems (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsemsys.c68 semget(key_t key, int nsems, int semflg) argument
70 return (_syscall(SYS_semsys, SEMGET, key, nsems, semflg));
87 int nsems, semflg; local
104 nsems = va_arg(ap, int);
107 return (semget(key, nsems, semflg));
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsemsys.c123 semget(key_t key, int nsems, int semflg) argument
125 return (syscall(SYS_semsys, SEMGET, key, nsems, semflg));
/illumos-gate/usr/src/uts/common/syscall/
H A Dsem.c53 * Control: process.max-sem-nsems (rc_process_semmsl)
665 semget(key_t key, int nsems, int semflg) argument
680 if (!((nsems >= 0) && (nsems <= sp->sem_nsems))) {
688 if (nsems <= 0 || (rctl_test(rc_process_semmsl, pp->p_rctls, pp,
689 nsems, RCA_SAFE) & RCT_DENY)) {
704 kmem_zalloc(P2ROUNDUP(nsems * sizeof (struct sem), 64),
706 sp->sem_binary = (nsems == 1);
707 sp->sem_nsems = (ushort_t)nsems;
721 if (rctl_test(rc_process_semmsl, pp->p_rctls, pp, nsems,
[all...]

Completed in 46 milliseconds