Home
last modified time | relevance | path

Searched refs:shmid (Results 1 – 4 of 4) sorted by relevance

/sysdeps/unix/sysv/linux/
A Dshmat.c27 shmat (int shmid, const void *shmaddr, int shmflg) in shmat() argument
30 return (void*) INLINE_SYSCALL_CALL (shmat, shmid, shmaddr, shmflg); in shmat()
35 resultvar = INTERNAL_SYSCALL_CALL (ipc, IPCOP_shmat, shmid, shmflg, in shmat()
A Dtst-sysvshm-linux.c36 static int shmid; variable
44 shmctl (shmid, IPC_RMID, NULL); in remove_shm()
94 if ((sid == -1 && errno == EINVAL) || sid != shmid) in check_shminfo()
121 shmid = shmget (key, pgsz, IPC_CREAT | IPC_EXCL | SHM_MODE); in do_test()
122 if (shmid == -1) in do_test()
153 shmidx = shmctl (shmid, IPC_INFO, (struct shmid_ds *) &ipcinfo); in do_test()
182 if (shmctl (shmid, IPC_RMID, NULL) == -1) in do_test()
A Dshmctl.c74 shmctl_syscall (int shmid, int cmd, shmctl_arg_t *buf) in shmctl_syscall() argument
77 return INLINE_SYSCALL_CALL (shmctl, shmid, cmd | __IPC_64, buf); in shmctl_syscall()
86 __shmctl64 (int shmid, int cmd, struct __shmid64_ds *buf) in __shmctl64() argument
134 int ret = shmctl_syscall (shmid, cmd, arg); in __shmctl64()
195 __shmctl (int shmid, int cmd, struct shmid_ds *buf) in __shmctl() argument
211 int ret = __shmctl64 (shmid, cmd, buf64); in __shmctl()
241 __shmctl_mode16 (int shmid, int cmd, struct shmid_ds *buf) in __shmctl_mode16() argument
243 return shmctl_syscall (shmid, cmd, (shmctl_arg_t *) buf); in __shmctl_mode16()
266 __old_shmctl (int shmid, int cmd, struct __old_shmid_ds *buf) in __old_shmctl() argument
273 return INLINE_SYSCALL_CALL (shmctl, shmid, cmd, buf); in __old_shmctl()
[all …]
/sysdeps/unix/sysv/linux/include/sys/
A Dshm.h9 extern int __shmctl64 (int shmid, int cmd, struct __shmid64_ds *buf);

Completed in 5 milliseconds