Lines Matching refs:cmd
35 int msgctl(int id, int cmd, msqid_ds* buf) { in msgctl() argument
39 cmd |= IPC_64; in msgctl()
42 return syscall(SYS_msgctl, id, cmd, buf); in msgctl()
44 return syscall(SYS_ipc, MSGCTL, id, cmd, 0, buf, 0); in msgctl()
48 int semctl(int id, int num, int cmd, semid_ds* buf) { in semctl() argument
52 cmd |= IPC_64; in semctl()
55 return syscall(SYS_semctl, id, num, cmd, buf); in semctl()
57 return syscall(SYS_ipc, SEMCTL, id, num, cmd, buf, 0); in semctl()
61 int shmctl(int id, int cmd, shmid_ds* buf) { in shmctl() argument
65 cmd |= IPC_64; in shmctl()
68 return syscall(SYS_shmctl, id, cmd, buf); in shmctl()
70 return syscall(SYS_ipc, SHMCTL, id, cmd, 0, buf, 0); in shmctl()