Home
last modified time | relevance | path

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

/openbmc/linux/ipc/
H A Dsem.c861 if (semnum == -1) in wake_const_ops()
955 if (semnum == -1) in update_queue()
971 if (semnum != -1 && sma->sems[semnum].semval == 0) in update_queue()
1088 if (sop->sem_num != semnum) in check_qop()
1362 if (semnum < 0 || semnum >= sma->sem_nsems) { in semctl_setval()
1387 semnum = array_index_nospec(semnum, sma->sem_nsems); in semctl_setval()
1388 curr = &sma->sems[semnum]; in semctl_setval()
1392 un->semadj[semnum] = 0; in semctl_setval()
1532 if (semnum < 0 || semnum >= nsems) in semctl_main()
1541 semnum = array_index_nospec(semnum, nsems); in semctl_main()
[all …]
H A Dutil.h281 long compat_ksys_old_semctl(int semid, int semnum, int cmd, int arg);
/openbmc/linux/include/linux/
H A Dsyscalls.h716 asmlinkage long sys_semctl(int semid, int semnum, int cmd, unsigned long arg);
717 asmlinkage long sys_old_semctl(int semid, int semnum, int cmd, unsigned long arg);
1259 long ksys_old_semctl(int semid, int semnum, int cmd, unsigned long arg);
H A Dcompat.h749 asmlinkage long compat_sys_semctl(int semid, int semnum, int cmd, int arg);
/openbmc/qemu/linux-user/
H A Dsyscall.c3943 static inline abi_long do_semctl(int semid, int semnum, int cmd, in do_semctl() argument
3969 ret = get_errno(semctl(semid, semnum, cmd, arg)); in do_semctl()
3977 ret = get_errno(semctl(semid, semnum, cmd, arg)); in do_semctl()
3989 ret = get_errno(semctl(semid, semnum, cmd, arg)); in do_semctl()
3997 ret = get_errno(semctl(semid, semnum, cmd, arg)); in do_semctl()
4006 ret = get_errno(semctl(semid, semnum, cmd, NULL)); in do_semctl()