Home
last modified time | relevance | path

Searched refs:sem_nsems (Results 1 – 25 of 26) sorted by relevance

12

/linux-2.4.37.9/ipc/
Dsem.c146 sma->sem_nsems = nsems; in newary()
175 if (nsems > sma->sem_nsems) in sys_semget()
196 if(smanew != sma || sem_checkid(sma,semid) || sma->sem_nsems != nsems) { in sem_revalidate()
412 used_sems -= sma->sem_nsems; in freeary()
413 size = sizeof (*sma) + sma->sem_nsems * sizeof (struct sem); in freeary()
430 out.sem_nsems = in->sem_nsems; in copy_semid_to_user()
496 tbuf.sem_nsems = sma->sem_nsems; in semctl_nolock()
524 nsems = sma->sem_nsems; in semctl_main()
550 for (i = 0; i < sma->sem_nsems; i++) in semctl_main()
604 tbuf.sem_nsems = sma->sem_nsems; in semctl_main()
[all …]
/linux-2.4.37.9/include/linux/
Dsem.h31 unsigned short sem_nsems; /* no. of semaphores in array */ member
96 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-s390x/
Dsembuf.h17 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-ia64/
Dsembuf.h17 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-ppc64/
Dsembuf.h21 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-alpha/
Dsembuf.h17 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-sparc64/
Dsembuf.h17 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-mips/
Dsembuf.h17 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-mips64/
Dsembuf.h17 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-sh64/
Dsembuf.h31 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-i386/
Dsembuf.h20 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-x86_64/
Dsembuf.h20 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-ppc/
Dsembuf.h14 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-arm/
Dsembuf.h20 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-cris/
Dsembuf.h20 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-m68k/
Dsembuf.h20 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-s390/
Dsembuf.h20 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-sh/
Dsembuf.h20 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-sparc/
Dsembuf.h20 unsigned long sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/include/asm-parisc/
Dsembuf.h24 unsigned int sem_nsems; /* no. of semaphores in array */ member
/linux-2.4.37.9/arch/x86_64/ia32/
Dipc32.c64 unsigned short sem_nsems; /* no. of semaphores in array */ member
73 unsigned int sem_nsems; member
211 err2 |= __put_user(s->sem_nsems, &usp64->sem_nsems); in put_semid()
230 err2 |= __put_user(s->sem_nsems, &usp32->sem_nsems); in put_semid()
/linux-2.4.37.9/arch/mips64/kernel/
Dlinux32.c1692 unsigned short sem_nsems; /* no. of semaphores in array */ member
1699 unsigned int sem_nsems; member
1824 err2 |= __put_user(s.sem_nsems, &usp64->sem_nsems); in do_sys32_semctl()
1841 err2 |= __put_user(s.sem_nsems, &usp32->sem_nsems); in do_sys32_semctl()
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c2082 unsigned short sem_nsems; /* no. of semaphores in array */ member
2091 unsigned int sem_nsems; member
2265 err2 |= __put_user(s.sem_nsems, &usp64->sem_nsems); in semctl32()
2282 err2 |= __put_user(s.sem_nsems, &usp32->sem_nsems); in semctl32()
/linux-2.4.37.9/arch/ppc64/kernel/
Dsys_ppc32.c2504 unsigned short sem_nsems; member
2513 u32 sem_nsems; member
2636 err2 |= __put_user(s64.sem_nsems, &usp->sem_nsems); in do_sys32_semctl()
2653 err2 |= __put_user(s.sem_nsems, &usp->sem_nsems); in do_sys32_semctl()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc32.c337 unsigned short sem_nsems; /* no. of semaphores in array */ member
346 u32 sem_nsems; member
465 err2 |= __put_user (s.sem_nsems, &usp->sem_nsems); in do_sys32_semctl()
501 err2 |= __put_user (s.sem_nsems, &usp->sem_nsems); in do_sys32_semctl()

12