Home
last modified time | relevance | path

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

/linux-2.4.37.9/ipc/
Dsem.c350 static int count_semncnt (struct sem_array * sma, ushort semnum) in count_semncnt() argument
361 if (sops[i].sem_num == semnum in count_semncnt()
368 static int count_semzcnt (struct sem_array * sma, ushort semnum) in count_semzcnt() argument
379 if (sops[i].sem_num == semnum in count_semzcnt()
439 static int semctl_nolock(int semid, int semnum, int cmd, int version, union semun arg) in semctl_nolock() argument
511 static int semctl_main(int semid, int semnum, int cmd, int version, union semun arg) in semctl_main() argument
613 if(semnum < 0 || semnum >= nsems) in semctl_main()
616 curr = &sma->sem_base[semnum]; in semctl_main()
626 err = count_semncnt(sma,semnum); in semctl_main()
629 err = count_semzcnt(sma,semnum); in semctl_main()
[all …]
Dutil.c368 asmlinkage long sys_semctl (int semid, int semnum, int cmd, union semun arg) in sys_semctl() argument
/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/include/linux/
Dsem.h126 asmlinkage long sys_semctl (int semid, int semnum, int cmd, union semun arg);