Lines Matching refs:cmd
74 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()
79 return INLINE_SYSCALL_CALL (ipc, IPCOP_shmctl, shmid, cmd | __IPC_64, 0, in shmctl_syscall()
86 __shmctl64 (int shmid, int cmd, struct __shmid64_ds *buf) in __shmctl64() argument
94 switch (cmd) in __shmctl64()
113 if (cmd == IPC_SET) in __shmctl64()
134 int ret = shmctl_syscall (shmid, cmd, arg); in __shmctl64()
138 switch (cmd) in __shmctl64()
195 __shmctl (int shmid, int cmd, struct shmid_ds *buf) in __shmctl() argument
202 if (cmd == IPC_INFO || cmd == SHM_INFO) in __shmctl()
211 int ret = __shmctl64 (shmid, cmd, buf64); in __shmctl()
215 switch (cmd) 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()
275 return INLINE_SYSCALL_CALL (ipc, IPCOP_shmctl, shmid, cmd, 0, buf); in __old_shmctl()