Home
last modified time | relevance | path

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

/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.h54 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 DEINTR_wrappers.c97 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/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.h54 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 DEINTR_wrappers.c97 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/qemu/linux-user/
H A Dsyscall.c775 safe_syscall4(int, semtimedop, int, semid, struct sembuf *, tsops, in safe_syscall3()
3936 static inline abi_long target_to_host_semarray(int semid, unsigned short **host_array, in target_to_host_semarray() argument
3947 ret = semctl(semid, 0, IPC_STAT, semun); in target_to_host_semarray()
3972 static inline abi_long host_to_target_semarray(int semid, abi_ulong target_addr, in host_to_target_semarray() argument
3983 ret = semctl(semid, 0, IPC_STAT, semun); in host_to_target_semarray()
4003 static inline abi_long do_semctl(int semid, int semnum, int cmd, in do_semctl() argument
4029 ret = get_errno(semctl(semid, semnum, cmd, arg)); in do_semctl()
4033 err = target_to_host_semarray(semid, &array, target_su.array); in do_semctl()
4037 ret = get_errno(semctl(semid, semnum, cmd, arg)); in do_semctl()
4038 err = host_to_target_semarray(semid, target_su.array, &array); in do_semctl()
[all …]