Home
last modified time | relevance | path

Searched refs:sops (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.c4136 struct sembuf *sops; in do_semtimedop() local
4157 sops = g_new(struct sembuf, nsops); in do_semtimedop()
4159 if (target_to_host_sembuf(sops, ptr, nsops)) { in do_semtimedop()
4160 g_free(sops); in do_semtimedop()
4166 ret = get_errno(safe_semtimedop(semid, sops, nsops, pts)); in do_semtimedop()
4171 SEMTIMEDOP_IPC_ARGS(nsops, sops, (long)pts))); in do_semtimedop()
4174 g_free(sops); in do_semtimedop()