Searched refs:version (Results 1 – 5 of 5) sorted by relevance
/ipc/ |
D | syscall.c | 23 int version, ret; in ksys_ipc() local 25 version = call >> 16; /* hack for backward compatibility */ in ksys_ipc() 57 switch (version) { in ksys_ipc() 82 switch (version) { in ksys_ipc() 133 int version; in compat_ksys_ipc() local 136 version = call >> 16; /* hack for backward compatibility */ in compat_ksys_ipc() 166 if (!version) { in compat_ksys_ipc() 186 if (version == 1) in compat_ksys_ipc()
|
D | shm.c | 845 static inline unsigned long copy_shmid_to_user(void __user *buf, struct shmid64_ds *in, int version) in copy_shmid_to_user() argument 847 switch (version) { in copy_shmid_to_user() 872 copy_shmid_from_user(struct shmid64_ds *out, void __user *buf, int version) in copy_shmid_from_user() argument 874 switch (version) { in copy_shmid_from_user() 897 …atic inline unsigned long copy_shminfo_to_user(void __user *buf, struct shminfo64 *in, int version) in copy_shminfo_to_user() argument 899 switch (version) { in copy_shminfo_to_user() 1235 static long ksys_shmctl(int shmid, int cmd, struct shmid_ds __user *buf, int version) in ksys_shmctl() argument 1252 if (copy_shminfo_to_user(buf, &shminfo, version)) in ksys_shmctl() 1271 if (copy_shmid_to_user(buf, &sem64, version)) in ksys_shmctl() 1276 if (copy_shmid_from_user(&sem64, buf, version)) in ksys_shmctl() [all …]
|
D | msg.c | 320 copy_msqid_to_user(void __user *buf, struct msqid64_ds *in, int version) in copy_msqid_to_user() argument 322 switch (version) { in copy_msqid_to_user() 365 copy_msqid_from_user(struct msqid64_ds *out, void __user *buf, int version) in copy_msqid_from_user() argument 367 switch (version) { in copy_msqid_from_user() 591 static long ksys_msgctl(int msqid, int cmd, struct msqid_ds __user *buf, int version) in ksys_msgctl() argument 619 if (copy_msqid_to_user(buf, &msqid64, version)) in ksys_msgctl() 623 if (copy_msqid_from_user(&msqid64, buf, version)) in ksys_msgctl() 642 int version = ipc_parse_version(&cmd); in ksys_old_msgctl() local 644 return ksys_msgctl(msqid, cmd, buf, version); in ksys_old_msgctl() 672 int version) in copy_compat_msqid_from_user() argument [all …]
|
D | sem.c | 1193 static unsigned long copy_semid_to_user(void __user *buf, struct semid64_ds *in, int version) in copy_semid_to_user() argument 1195 switch (version) { in copy_semid_to_user() 1570 copy_semid_from_user(struct semid64_ds *out, void __user *buf, int version) in copy_semid_from_user() argument 1572 switch (version) { in copy_semid_from_user() 1650 static long ksys_semctl(int semid, int semnum, int cmd, unsigned long arg, int version) in ksys_semctl() argument 1672 if (copy_semid_to_user(p, &semid64, version)) in ksys_semctl() 1694 if (copy_semid_from_user(&semid64, p, version)) in ksys_semctl() 1712 int version = ipc_parse_version(&cmd); in ksys_old_semctl() local 1714 return ksys_semctl(semid, semnum, cmd, arg, version); in ksys_old_semctl() 1737 int version) in copy_compat_semid_from_user() argument [all …]
|
D | util.h | 275 int version = *cmd & IPC_64; in compat_ipc_parse_version() local 277 return version; in compat_ipc_parse_version()
|