Home
last modified time | relevance | path

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

/linux-2.4.37.9/ipc/
Dsem.c115 static int newary (key_t key, int nsems, int semflg) in newary() argument
121 if (!nsems) in newary()
123 if (used_sems + nsems > sc_semmns) in newary()
126 size = sizeof (*sma) + nsems * sizeof (struct sem); in newary()
137 used_sems += nsems; in newary()
146 sma->sem_nsems = nsems; in newary()
153 asmlinkage long sys_semget (key_t key, int nsems, int semflg) in sys_semget() argument
158 if (nsems < 0 || nsems > sc_semmsl) in sys_semget()
163 err = newary(key, nsems, semflg); in sys_semget()
168 err = newary(key, nsems, semflg); in sys_semget()
[all …]
Dutil.c352 asmlinkage long sys_semget (key_t key, int nsems, int semflg) in sys_semget() argument
/linux-2.4.37.9/include/linux/
Dsem.h124 asmlinkage long sys_semget (key_t key, int nsems, int semflg);
/linux-2.4.37.9/arch/mips64/kernel/
Dlinux32.c2175 static int sys32_semtimedop(int semid, struct sembuf *tsems, int nsems, in sys32_semtimedop() argument
2188 return sys_semtimedop(semid, tsems, nsems, t64); in sys32_semtimedop()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc32.c795 static int sys32_semtimedop(int semid, struct sembuf *tsems, int nsems, in sys32_semtimedop() argument
808 return sys_semtimedop(semid, tsems, nsems, t64); in sys32_semtimedop()