Home
last modified time | relevance | path

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

/linux-2.4.37.9/ipc/
Dsem.c73 #define sem_checkid(sma, semid) \ argument
74 ipc_checkid(&sem_ids,&sma->sem_perm,semid)
189 static int sem_revalidate(int semid, struct sem_array* sma, int nsems, short flg) in sem_revalidate() argument
193 smanew = sem_lock(semid); in sem_revalidate()
196 if(smanew != sma || sem_checkid(sma,semid) || sma->sem_nsems != nsems) { in sem_revalidate()
197 sem_unlock(semid); in sem_revalidate()
202 sem_unlock(semid); in sem_revalidate()
402 un->semid = -1; in freeary()
439 static int semctl_nolock(int semid, int semnum, int cmd, int version, union semun arg) in semctl_nolock() argument
479 if(semid >= sem_ids.size) in semctl_nolock()
[all …]
Dutil.c357 asmlinkage long sys_semop (int semid, struct sembuf *sops, unsigned nsops) in sys_semop() argument
362 asmlinkage long sys_semtimedop(int semid, struct sembuf *sops, unsigned nsops, in sys_semtimedop() argument
368 asmlinkage long sys_semctl (int semid, int semnum, int cmd, union semun arg) in sys_semctl() argument
/linux-2.4.37.9/include/linux/
Dsem.h120 int semid; /* semaphore set identifier */ member
125 asmlinkage long sys_semop (int semid, struct sembuf *sops, unsigned nsops);
126 asmlinkage long sys_semctl (int semid, int semnum, int cmd, union semun arg);
127 asmlinkage long sys_semtimedop (int semid, struct sembuf *sops,
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc.c237 int sys_semctl_broken(int semid, int semnum, int cmd, union semun arg) in sys_semctl_broken() argument
239 return sys_semctl (semid, semnum, cmd & ~IPC_64, arg); in sys_semctl_broken()
Dsys_parisc32.c3102 asmlinkage long sys32_semctl_broken(int semid, int semnum, int cmd, union semun arg) in sys32_semctl_broken() argument
3114 return sys_semctl (semid, semnum, cmd, u); in sys32_semctl_broken()
3116 return sys_semctl (semid, semnum, cmd, arg); in sys32_semctl_broken()
/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()