Searched refs:nsems (Results 1 – 4 of 4) sorted by relevance
245 int nsems = params->u.nsems; in newary() local249 if (!nsems) in newary()251 if (ns->used_sems + nsems > ns->sc_semmns) in newary()254 size = sizeof (*sma) + nsems * sizeof (struct sem); in newary()277 ns->used_sems += nsems; in newary()281 for (i = 0; i < nsems; i++) in newary()287 sma->sem_nsems = nsems; in newary()315 if (params->u.nsems > sma->sem_nsems) in sem_more_checks()321 SYSCALL_DEFINE3(semget, key_t, key, int, nsems, int, semflg) in SYSCALL_DEFINE3() argument329 if (nsems < 0 || nsems > ns->sc_semmsl) in SYSCALL_DEFINE3()[all …]
59 int nsems; /* for semaphores */ member
230 unsigned nsems, const struct compat_timespec __user *timeout);
666 asmlinkage long sys_semget(key_t key, int nsems, int semflg);