/external/valgrind/main/none/tests/ |
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, 0, IPC_RMID) [all...] |
/external/kernel-headers/original/linux/ |
sem.h | 124 int semid; /* semaphore set identifier */ member in struct:sem_undo
|
compat.h | 176 long compat_sys_semtimedop(int semid, struct sembuf __user *tsems,
|
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-amd64-linux.c | 855 int, semid, struct sembuf *, sops, unsigned, nsoops); 864 int, semid, struct sembuf *, sops, unsigned, nsoops, 876 int, semid, int, semnum, int, cmd, struct seminfo *, arg); 883 int, semid, int, semnum, int, cmd, struct semid_ds *, arg); 889 int, semid, int, semnum, int, cmd, unsigned short *, arg); 894 int, semid, int, semnum, int, cmd); [all...] |
syswrap-arm-linux.c | 801 int, semid, struct sembuf *, sops, unsigned, nsoops); 812 int, semid, int, semnum, int, cmd, struct seminfo *, arg); 819 int, semid, int, semnum, int, cmd, struct semid_ds *, arg); 825 int, semid, int, semnum, int, cmd, unsigned short *, arg); 830 int, semid, int, semnum, int, cmd); 846 int, semid, struct sembuf *, sops, unsigned, nsoops, [all...] |
syswrap-mips32-linux.c | 767 PRE_REG_READ3 (long, "semop", int, semid, struct sembuf *, sops, 780 int, semid, int, semnum, int, cmd, 787 PRE_REG_READ4 (long, "semctl", int, semid, int, semnum, int, cmd, 793 PRE_REG_READ4 (long, "semctl", int, semid, int, semnum, int, cmd, 798 PRE_REG_READ3 (long, "semctl", int, semid, int, semnum, int, cmd); 813 PRE_REG_READ4 (long, "semtimedop", int, semid, struct sembuf *, sops, [all...] |
syswrap-generic.c | [all...] |
syswrap-darwin.c | [all...] |