/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | semtimedop.c | 24 semtimedop_syscall (int semid, struct sembuf *sops, size_t nsops, in semtimedop_syscall() argument 28 return INLINE_SYSCALL_CALL (semtimedop_time64, semid, sops, nsops, timeout); in semtimedop_syscall() 30 return INLINE_SYSCALL_CALL (semtimedop, semid, sops, nsops, timeout); in semtimedop_syscall() 32 return INLINE_SYSCALL_CALL (ipc, IPCOP_semtimedop, semid, in semtimedop_syscall() 39 __semtimedop64 (int semid, struct sembuf *sops, size_t nsops, in __semtimedop64() argument 43 return semtimedop_syscall (semid, sops, nsops, timeout); in __semtimedop64() 48 int r = semtimedop_syscall (semid, sops, nsops, timeout); in __semtimedop64() 62 return INLINE_SYSCALL_CALL (semtimedop, semid, sops, nsops, pts32); in __semtimedop64() 64 return INLINE_SYSCALL_CALL (ipc, IPCOP_semtimedop, semid, in __semtimedop64() 73 __semtimedop (int semid, struct sembuf *sops, size_t nsops, in libc_hidden_def() [all …]
|
D | tst-sysvsem-linux.c | 31 static int semid; variable 38 semctl (semid, 0, IPC_RMID, 0); in remove_sem() 102 if ((sid == -1 && errno == EINVAL) || sid != semid) in check_seminfo() 124 semid = semget (key, 1, IPC_CREAT | IPC_EXCL | SEM_MODE); in do_test() 125 if (semid == -1) in do_test() 135 semidx = semctl (semid, 0, IPC_INFO, (union semun) { .__buf = &ipcinfo }); in do_test() 148 semidx = semctl (semid, 0, SEM_INFO, (union semun) { .__buf = &ipcinfo }); in do_test() 178 if (semctl (semid, 0, IPC_RMID, 0) == -1) in do_test()
|
D | semctl.c | 121 semctl_syscall (int semid, int semnum, int cmd, semctl_arg_t arg) in semctl_syscall() argument 124 return INLINE_SYSCALL_CALL (semctl, semid, semnum, cmd | __IPC_64, in semctl_syscall() 127 return INLINE_SYSCALL_CALL (ipc, IPCOP_semctl, semid, semnum, cmd | __IPC_64, in semctl_syscall() 138 __semctl64 (int semid, int semnum, int cmd, ...) in __semctl64() argument 182 int ret = semctl_syscall (semid, semnum, cmd, arg); in __semctl64() 265 __semctl (int semid, int semnum, int cmd, ...) in __semctl() argument 293 int ret = __semctl64 (semid, semnum, cmd, arg64); in __semctl() 322 __semctl_mode16 (int semid, int semnum, int cmd, ...) in __semctl_mode16() argument 345 return semctl_syscall (semid, semnum, cmd, arg); in __semctl_mode16() 356 __old_semctl (int semid, int semnum, int cmd, ...) in __old_semctl() argument [all …]
|
D | semop.c | 26 semop (int semid, struct sembuf *sops, size_t nsops) in semop() argument 28 return __semtimedop (semid, sops, nsops, NULL); in semop()
|
/glibc-2.36/sysvipc/ |
D | test-sysvsem.c | 39 static int semid; variable 46 semctl (semid, 0, IPC_RMID, 0); in remove_sem() 80 semid = semget(key, 1, IPC_CREAT | IPC_EXCL | SEM_MODE); in do_test() 81 if (semid == -1) in do_test() 88 TEST_COMPARE (semctl (semid, 0, first_sem_invalid_cmd (), NULL), -1); in do_test() 93 if (semctl (semid, 0, IPC_STAT, (union semun) { .buf = &seminfo }) == -1) in do_test() 108 if (semop (semid, &sb1, 1) == -1) in do_test() 112 if (semop (semid, &sb2, 1) == -1) in do_test() 120 if (semtimedop (semid, &sb2, 1, &ts) != -1 in do_test() 129 TEST_COMPARE (semtimedop (semid, &sb2, 1, &ts), -1); in do_test() [all …]
|
D | semctl.c | 25 semctl (int semid, int semnum, int cmd, ...) in semctl() argument
|
D | semop.c | 24 semop (int semid, struct sembuf *sops, size_t nsops) in semop() argument
|
D | semtimedop.c | 24 __semtimedop (int semid, struct sembuf *sops, size_t nsops, in __semtimedop() argument
|
/glibc-2.36/sysdeps/unix/sysv/linux/include/sys/ |
D | sem.h | 14 extern int __semctl64 (int semid, int semnum, int cmd, ...); 16 extern int __semtimedop64 (int semid, struct sembuf *sops, size_t nsops,
|
/glibc-2.36/manual/ |
D | ipc.texi | 23 @deftypefun int semctl (int @var{semid}, int @var{semnum}, int @var{cmd}); 38 @deftypefun int semop (int @var{semid}, struct sembuf *@var{sops}, size_t @var{nsops}); 43 @deftypefun int semtimedop (int @var{semid}, struct sembuf *@var{sops}, size_t @var{nsops}, const s…
|