Lines Matching refs:version

850 static inline unsigned long copy_shmid_to_user(void __user *buf, struct shmid64_ds *in, int version)

852 switch (version) {
875 static inline unsigned long copy_shmid_from_user(struct shmid64_ds *out, void __user *buf, int version)
877 switch (version) {
901 static inline unsigned long copy_shminfo_to_user(void __user *buf, struct shminfo64 *in, int version)
903 switch (version) {
1240 static long ksys_shmctl(int shmid, int cmd, struct shmid_ds __user *buf, int version)
1259 if (copy_shminfo_to_user(buf, &shminfo, version)) {
1282 if (copy_shmid_to_user(buf, &sem64, version)) {
1288 if (copy_shmid_from_user(&sem64, buf, version)) {
1310 int version = ipc_parse_version(&cmd);
1312 return ksys_shmctl(shmid, cmd, buf, version);
1355 static int copy_compat_shminfo_to_user(void __user *buf, struct shminfo64 *in, int version)
1360 if (version == IPC_64) {
1395 static int copy_compat_shmid_to_user(void __user *buf, struct shmid64_ds *in, int version)
1397 if (version == IPC_64) {
1428 static int copy_compat_shmid_from_user(struct shmid64_ds *out, void __user *buf, int version)
1431 if (version == IPC_64) {
1440 static long compat_ksys_shmctl(int shmid, int cmd, void __user *uptr, int version)
1459 if (copy_compat_shminfo_to_user(uptr, &shminfo, version)) {
1482 if (copy_compat_shmid_to_user(uptr, &sem64, version)) {
1488 if (copy_compat_shmid_from_user(&sem64, uptr, version)) {
1511 int version = compat_ipc_parse_version(&cmd);
1513 return compat_ksys_shmctl(shmid, cmd, uptr, version);