Searched refs:nsems (Results 1 – 2 of 2) sorted by relevance
500 int nsems = params->u.nsems; in newary() local504 if (!nsems) in newary()506 if (ns->used_sems + nsems > ns->sc_semmns) in newary()509 size = sizeof(*sma) + nsems * sizeof(struct sem); in newary()528 for (i = 0; i < nsems; i++) { in newary()538 sma->sem_nsems = nsems; in newary()546 ns->used_sems += nsems; in newary()575 if (params->u.nsems > sma->sem_nsems) in sem_more_checks()581 SYSCALL_DEFINE3(semget, key_t, key, int, nsems, int, semflg) in SYSCALL_DEFINE3() argument593 if (nsems < 0 || nsems > ns->sc_semmsl) in SYSCALL_DEFINE3()[all …]
66 int nsems; /* for semaphores */ member