/openbmc/linux/ipc/ |
H A D | sem.c | 1156 un->semid = -1; in freeary() 1658 if (semid < 0) in ksys_semctl() 1783 if (semid < 0) in compat_ksys_semctl() 1875 if (un->semid == semid) in __lookup_undo() 1919 un = lookup_undo(ulp, semid); in find_alloc_undo() 1970 new->semid = semid; in find_alloc_undo() 1998 if (nsops < 1 || semid < 0) in __do_semtimedop() 2091 if (un && un->semid == -1) in __do_semtimedop() 2350 int semid, i; in exit_sem() local 2371 semid = un->semid; in exit_sem() [all …]
|
H A D | util.h | 281 long compat_ksys_old_semctl(int semid, int semnum, int cmd, int arg);
|
/openbmc/linux/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 339 asmlinkage long sys_oabi_semtimedop(int semid, in sys_oabi_semtimedop() argument 376 err = __do_semtimedop(semid, sops, nsops, &ts, ns); in sys_oabi_semtimedop() 379 err = __do_semtimedop(semid, sops, nsops, NULL, ns); in sys_oabi_semtimedop() 385 asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, in sys_oabi_semop() argument 388 return sys_oabi_semtimedop(semid, tsops, nsops, NULL); in sys_oabi_semop() 409 asmlinkage long sys_oabi_semtimedop(int semid, in sys_oabi_semtimedop() argument 417 asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, in sys_oabi_semop() argument
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | syscalls.h | 32 asmlinkage long sys_oabi_semtimedop(int semid, 36 asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops,
|
/openbmc/openbmc-tools/adcapp/src/ |
H A D | EINTR_wrappers.h | 54 int sigwrap_semop(int semid, struct sembuf *sops, size_t nsops); 55 int sigwrap_semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeou…
|
H A D | EINTR_wrappers.c | 97 int sigwrap_semop(int semid, struct sembuf *sops, size_t nsops) in sigwrap_semop() argument 101 if (semop(semid, sops, nsops) == 0) in sigwrap_semop() 110 int sigwrap_semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeout) 115 return (sigwrap_semop(semid, sops, nsops)); 121 if (semtimedop(semid, sops, nsops, &To.Timeout) == 0)
|
/openbmc/openbmc-tools/pwmtachtool/src/ |
H A D | EINTR_wrappers.h | 54 int sigwrap_semop(int semid, struct sembuf *sops, size_t nsops); 55 int sigwrap_semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeou…
|
H A D | EINTR_wrappers.c | 97 int sigwrap_semop(int semid, struct sembuf *sops, size_t nsops) in sigwrap_semop() argument 101 if (semop(semid, sops, nsops) == 0) in sigwrap_semop()
|
/openbmc/linux/Documentation/arch/ia64/ |
H A D | err_inject.rst | 370 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);
|
/openbmc/linux/include/linux/ |
H A D | syscalls.h | 716 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); 718 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops, 721 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops, 724 asmlinkage long sys_semop(int semid, struct sembuf __user *sops, 1249 long ksys_semtimedop(int semid, struct sembuf __user *tsops, 1253 long ksys_old_semctl(int semid, int semnum, int cmd, unsigned long arg); 1263 long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems, 1266 long __do_semtimedop(int semid, struct sembuf *tsems, unsigned int nsops,
|
H A D | compat.h | 749 asmlinkage long compat_sys_semctl(int semid, int semnum, int cmd, int arg);
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 737 safe_syscall4(int, semtimedop, int, semid, struct sembuf *, tsops, in safe_syscall3() 3893 ret = semctl(semid, 0, IPC_STAT, semun); in target_to_host_semarray() 3929 ret = semctl(semid, 0, IPC_STAT, semun); in host_to_target_semarray() 3975 ret = get_errno(semctl(semid, semnum, cmd, arg)); in do_semctl() 3983 ret = get_errno(semctl(semid, semnum, cmd, arg)); in do_semctl() 3995 ret = get_errno(semctl(semid, semnum, cmd, arg)); in do_semctl() 4003 ret = get_errno(semctl(semid, semnum, cmd, arg)); in do_semctl() 4012 ret = get_errno(semctl(semid, semnum, cmd, NULL)); in do_semctl() 4063 static inline abi_long do_semtimedop(int semid, in do_semtimedop() argument 4098 ret = get_errno(safe_semtimedop(semid, sops, nsops, pts)); in do_semtimedop() [all …]
|