Home
last modified time | relevance | path

Searched refs:semid (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/ipc/
Dsem.c96 #define sem_checkid(sma, semid) ipc_checkid(&sma->sem_perm, semid) argument
714 un->semid = -1; in freeary()
761 static int semctl_nolock(struct ipc_namespace *ns, int semid, in semctl_nolock() argument
808 sma = sem_lock(ns, semid); in semctl_nolock()
813 sma = sem_lock_check(ns, semid); in semctl_nolock()
846 static int semctl_main(struct ipc_namespace *ns, int semid, int semnum, in semctl_main() argument
857 sma = sem_lock_check(ns, semid); in semctl_main()
1038 static int semctl_down(struct ipc_namespace *ns, int semid, in semctl_down() argument
1051 ipcp = ipcctl_pre_down(ns, &sem_ids(ns), semid, cmd, in semctl_down()
1081 SYSCALL_DEFINE(semctl)(int semid, int semnum, int cmd, union semun arg) in SYSCALL_DEFINE()
[all …]
Dcompat.c674 long compat_sys_semtimedop(int semid, struct sembuf __user *tsems, in compat_sys_semtimedop() argument
686 return sys_semtimedop(semid, tsems, nsops, ts64); in compat_sys_semtimedop()
/linux-2.6.39/arch/parisc/kernel/
Dsys_parisc32.c203 asmlinkage long sys32_semctl(int semid, int semnum, int cmd, union semun arg) in sys32_semctl() argument
213 return sys_semctl (semid, semnum, cmd, u); in sys32_semctl()
215 return sys_semctl (semid, semnum, cmd, arg); in sys32_semctl()
/linux-2.6.39/arch/arm/kernel/
Dsys_oabi-compat.c304 asmlinkage long sys_oabi_semtimedop(int semid, in sys_oabi_semtimedop() argument
336 err = sys_semtimedop(semid, sops, nsops, timeout); in sys_oabi_semtimedop()
343 asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, in sys_oabi_semop() argument
346 return sys_oabi_semtimedop(semid, tsops, nsops, NULL); in sys_oabi_semop()
/linux-2.6.39/Documentation/ia64/
Derr_inject.txt370 int semid[NR_CPUS];
385 if (semid[cpu]!=0)
393 if ((semid[cpu] = semget(key[cpu], 1, IPC_CREAT | IPC_EXCL)) == -1) {
400 vbprintf("semid[%d]=0x%lx, key[%d]=%lx\n",cpu,(u64)semid[cpu],cpu,
404 if (semctl(semid[cpu], 0, SETVAL, arg) == -1) {
418 semop(semid[cpu], &lock, 1);
429 semop(semid[cpu], &unlock, 1);
436 semctl(semid[cpu], 0, IPC_RMID);
/linux-2.6.39/include/linux/
Dsem.h128 int semid; /* semaphore set identifier */ member
Dcompat.h229 long compat_sys_semtimedop(int semid, struct sembuf __user *tsems,
Dsyscalls.h667 asmlinkage long sys_semop(int semid, struct sembuf __user *sops,
669 asmlinkage long sys_semctl(int semid, int semnum, int cmd, union semun arg);
670 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops,
/linux-2.6.39/arch/mips/kernel/
Dlinux32.c229 SYSCALL_DEFINE4(n32_semctl, int, semid, int, semnum, int, cmd, u32, arg) in SYSCALL_DEFINE4() argument
235 return compat_sys_semctl(semid, semnum, cmd, uptr); in SYSCALL_DEFINE4()