Home
last modified time | relevance | path

Searched refs:nsems (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/ipc/
Dsem.c245 int nsems = params->u.nsems; in newary() local
249 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() argument
329 if (nsems < 0 || nsems > ns->sc_semmsl) in SYSCALL_DEFINE3()
[all …]
Dutil.h59 int nsems; /* for semaphores */ member
/linux-2.6.39/include/linux/
Dcompat.h230 unsigned nsems, const struct compat_timespec __user *timeout);
Dsyscalls.h666 asmlinkage long sys_semget(key_t key, int nsems, int semflg);