Searched refs:nsems (Results 1 – 2 of 2) sorted by relevance
518 int nsems = params->u.nsems; in newary() local522 if (!nsems) in newary()524 if (ns->used_sems + nsems > ns->sc_semmns) in newary()527 size = sizeof(*sma) + nsems * sizeof(struct sem); in newary()546 for (i = 0; i < nsems; i++) { in newary()557 sma->sem_nsems = nsems; in newary()565 ns->used_sems += nsems; in newary()594 if (params->u.nsems > sma->sem_nsems) in sem_more_checks()600 SYSCALL_DEFINE3(semget, key_t, key, int, nsems, int, semflg) in SYSCALL_DEFINE3() argument612 if (nsems < 0 || nsems > ns->sc_semmsl) in SYSCALL_DEFINE3()[all …]
66 int nsems; /* for semaphores */ member