Home
last modified time | relevance | path

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

/external/valgrind/main/none/tests/
Dsem.c13 int semid; in main() local
19 if ((semid = semget(IPC_PRIVATE, 1, 0600)) < 0) in main()
29 if (semop(semid, &sop, 1) < 0) in main()
32 semctl(semid, 0, IPC_RMID); in main()
36 if (semctl(semid, 0, GETVAL) != 1) in main()
39 semctl(semid, 0, IPC_RMID); in main()
43 if (semctl(semid, 0, GETPID) != getpid()) in main()
46 semctl(semid, 0, IPC_RMID); in main()
61 if (semtimedop(semid, &sop, 1, &ts) < 0 && errno != EAGAIN) in main()
64 semctl(semid, 0, IPC_RMID); in main()
[all …]
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1312 #define __sanitizer_syscall_pre_semop(semid, sops, nsops) \ argument
1313 __sanitizer_syscall_pre_impl_semop((long)(semid), (long)(sops), (long)(nsops))
1314 #define __sanitizer_syscall_post_semop(res, semid, sops, nsops) \ argument
1315 __sanitizer_syscall_post_impl_semop(res, (long)(semid), (long)(sops), \
1317 #define __sanitizer_syscall_pre_semctl(semid, semnum, cmd, arg) \ argument
1318 __sanitizer_syscall_pre_impl_semctl((long)(semid), (long)(semnum), \
1320 #define __sanitizer_syscall_post_semctl(res, semid, semnum, cmd, arg) \ argument
1321 __sanitizer_syscall_post_impl_semctl(res, (long)(semid), (long)(semnum), \
1323 #define __sanitizer_syscall_pre_semtimedop(semid, sops, nsops, timeout) \ argument
1324 __sanitizer_syscall_pre_impl_semtimedop((long)(semid), (long)(sops), \
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2104 PRE_SYSCALL(semop)(long semid, void *sops, long nsops) {}
2106 POST_SYSCALL(semop)(long res, long semid, void *sops, long nsops) {}
2108 PRE_SYSCALL(semctl)(long semid, long semnum, long cmd, void *arg) {}
2110 POST_SYSCALL(semctl)(long res, long semid, long semnum, long cmd, void *arg) {}
2112 PRE_SYSCALL(semtimedop)(long semid, void *sops, long nsops,
2117 POST_SYSCALL(semtimedop)(long res, long semid, void *sops, long nsops,
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-linux.c3673 int, semid, struct sembuf *, sops, unsigned, nsoops); in PRE()
3684 int, semid, int, semnum, int, cmd, struct seminfo *, arg); in PRE()
3691 int, semid, int, semnum, int, cmd, struct semid_ds *, arg); in PRE()
3697 int, semid, int, semnum, int, cmd, unsigned short *, arg); in PRE()
3702 int, semid, int, semnum, int, cmd); in PRE()
3726 int, semid, struct sembuf *, sops, unsigned, nsoops, in PRE()
Dsyswrap-generic.c1664 UInt get_sem_count( Int semid ) in get_sem_count() argument
1678 res = VG_(do_syscall4)(__NR_semctl, semid, 0, VKI_IPC_STAT, *(UWord *)&arg); in get_sem_count()
1680 res = VG_(do_syscall5)(__NR_ipc, 3 /* IPCOP_semctl */, semid, 0, in get_sem_count()
Dsyswrap-darwin.c1311 int, semid, struct sembuf *, sops, vki_size_t, nsoops); in PRE()
1322 int, semid, int, semnum, int, cmd, struct semid_ds *, arg); in PRE()
1328 int, semid, int, semnum, int, cmd, unsigned short *, arg); in PRE()
1333 int, semid, int, semnum, int, cmd, int, arg); in PRE()
1338 int, semid, int, semnum, int, cmd); in PRE()