/external/valgrind/main/none/tests/ |
H A D | sem.c | 12 int semid; local 18 if ((semid = semget(IPC_PRIVATE, 1, 0600)) < 0) 28 if (semop(semid, &sop, 1) < 0) 31 semctl(semid, 0, IPC_RMID); 46 if (semtimedop(semid, &sop, 1, &ts) < 0 && errno != EAGAIN) 49 semctl(semid, 0, IPC_RMID); 58 if (semop(semid, &sop, 1) < 0) 61 semctl(semid, 0, IPC_RMID); 73 if (semtimedop(semid, &sop, 1, &ts) < 0) 76 semctl(semid, [all...] |
/external/kernel-headers/original/linux/ |
H A D | sem.h | 124 int semid; /* semaphore set identifier */ member in struct:sem_undo
|
H A D | compat.h | 176 long compat_sys_semtimedop(int semid, struct sembuf __user *tsems,
|
/external/valgrind/main/coregrind/m_syswrap/ |
H A D | syswrap-amd64-linux.c | 839 int, semid, struct sembuf *, sops, unsigned, nsoops); 848 int, semid, struct sembuf *, sops, unsigned, nsoops, 860 int, semid, int, semnum, int, cmd, struct seminfo *, arg); 867 int, semid, int, semnum, int, cmd, struct semid_ds *, arg); 873 int, semid, int, semnum, int, cmd, unsigned short *, arg); 878 int, semid, int, semnum, int, cmd);
|
H A D | syswrap-arm-linux.c | 729 int, semid, struct sembuf *, sops, unsigned, nsoops); 740 int, semid, int, semnum, int, cmd, struct seminfo *, arg); 747 int, semid, int, semnum, int, cmd, struct semid_ds *, arg); 753 int, semid, int, semnum, int, cmd, unsigned short *, arg); 758 int, semid, int, semnum, int, cmd); 774 int, semid, struct sembuf *, sops, unsigned, nsoops,
|
H A D | syswrap-generic.c | 1555 /* int semop(int semid, struct sembuf *sops, unsigned nsops); */ 1566 /* int semtimedop(int semid, struct sembuf *sops, unsigned nsops, 1576 UInt get_sem_count( Int semid ) 1590 res = VG_(do_syscall4)(__NR_semctl, semid, 0, VKI_IPC_STAT, *(UWord *)&arg); 1592 res = VG_(do_syscall5)(__NR_ipc, 3 /* IPCOP_semctl */, semid, 0, 1606 /* int semctl(int semid, int semnum, int cmd, ...); */
|
H A D | syswrap-darwin.c | 1296 int, semid, struct sembuf *, sops, vki_size_t, nsoops); 1307 int, semid, int, semnum, int, cmd, struct semid_ds *, arg); 1313 int, semid, int, semnum, int, cmd, unsigned short *, arg); 1318 int, semid, int, semnum, int, cmd, int, arg); 1323 int, semid, int, semnum, int, cmd);
|