Lines Matching refs:version
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()
1297 int version = ipc_parse_version(&cmd); in ksys_old_shmctl() local
1299 return ksys_shmctl(shmid, cmd, buf, version); in ksys_old_shmctl()
1343 int version) in copy_compat_shminfo_to_user() argument
1347 if (version == IPC_64) { in copy_compat_shminfo_to_user()
1384 int version) in copy_compat_shmid_to_user() argument
1386 if (version == IPC_64) { in copy_compat_shmid_to_user()
1418 int version) in copy_compat_shmid_from_user() argument
1421 if (version == IPC_64) { in copy_compat_shmid_from_user()
1430 static long compat_ksys_shmctl(int shmid, int cmd, void __user *uptr, int version) in compat_ksys_shmctl() argument
1447 if (copy_compat_shminfo_to_user(uptr, &shminfo, version)) in compat_ksys_shmctl()
1466 if (copy_compat_shmid_to_user(uptr, &sem64, version)) in compat_ksys_shmctl()
1471 if (copy_compat_shmid_from_user(&sem64, uptr, version)) in compat_ksys_shmctl()
1493 int version = compat_ipc_parse_version(&cmd); in compat_ksys_old_shmctl() local
1495 return compat_ksys_shmctl(shmid, cmd, uptr, version); in compat_ksys_old_shmctl()