Home
last modified time | relevance | path

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

/linux-3.4.99/ipc/
Dsem.c588 static int update_queue(struct sem_array *sma, int semnum, struct list_head *pt) in update_queue() argument
601 semnum = -1; in update_queue()
603 if (semnum == -1) { in update_queue()
607 pending_list = &sma->sem_base[semnum].sem_pending; in update_queue()
626 if (semnum != -1 && sma->sem_base[semnum].semval == 0 && in update_queue()
700 static int count_semncnt (struct sem_array * sma, ushort semnum) in count_semncnt() argument
711 if (sops[i].sem_num == semnum in count_semncnt()
719 static int count_semzcnt (struct sem_array * sma, ushort semnum) in count_semzcnt() argument
730 if (sops[i].sem_num == semnum in count_semzcnt()
886 static int semctl_main(struct ipc_namespace *ns, int semid, int semnum, in semctl_main() argument
[all …]
Dcompat.c370 long compat_sys_semctl(int semid, int semnum, int cmd, int arg) in compat_sys_semctl() argument
372 return do_compat_semctl(semid, semnum, cmd, arg); in compat_sys_semctl()
/linux-3.4.99/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-3.4.99/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()
/linux-3.4.99/include/linux/
Dcompat.h266 long compat_sys_semctl(int semid, int semnum, int cmd, int arg);
Dsyscalls.h672 asmlinkage long sys_semctl(int semid, int semnum, int cmd, union semun arg);