Home
last modified time | relevance | path

Searched refs:uptr (Results 1 – 4 of 4) sorted by relevance

/ipc/
Dsyscall.c161 void __user *uptr = compat_ptr(ptr); in compat_ksys_ipc() local
168 if (!uptr) in compat_ksys_ipc()
170 if (copy_from_user(&ipck, uptr, sizeof(ipck))) in compat_ksys_ipc()
Dmsg.c704 static long compat_ksys_msgctl(int msqid, int cmd, void __user *uptr, int version) in compat_ksys_msgctl() argument
722 if (copy_to_user(uptr, &msginfo, sizeof(struct msginfo))) in compat_ksys_msgctl()
732 if (copy_compat_msqid_to_user(uptr, &msqid64, version)) in compat_ksys_msgctl()
736 if (copy_compat_msqid_from_user(&msqid64, uptr, version)) in compat_ksys_msgctl()
746 COMPAT_SYSCALL_DEFINE3(msgctl, int, msqid, int, cmd, void __user *, uptr) in COMPAT_SYSCALL_DEFINE3() argument
748 return compat_ksys_msgctl(msqid, cmd, uptr, IPC_64); in COMPAT_SYSCALL_DEFINE3()
752 long compat_ksys_old_msgctl(int msqid, int cmd, void __user *uptr) in compat_ksys_old_msgctl() argument
756 return compat_ksys_msgctl(msqid, cmd, uptr, version); in compat_ksys_old_msgctl()
759 COMPAT_SYSCALL_DEFINE3(old_msgctl, int, msqid, int, cmd, void __user *, uptr) in COMPAT_SYSCALL_DEFINE3() argument
761 return compat_ksys_old_msgctl(msqid, cmd, uptr); in COMPAT_SYSCALL_DEFINE3()
Dshm.c1335 long compat_ksys_shmctl(int shmid, int cmd, void __user *uptr, int version) in compat_ksys_shmctl() argument
1352 if (copy_compat_shminfo_to_user(uptr, &shminfo, version)) in compat_ksys_shmctl()
1361 if (put_compat_shm_info(&shm_info, uptr)) in compat_ksys_shmctl()
1371 if (copy_compat_shmid_to_user(uptr, &sem64, version)) in compat_ksys_shmctl()
1376 if (copy_compat_shmid_from_user(&sem64, uptr, version)) in compat_ksys_shmctl()
1391 COMPAT_SYSCALL_DEFINE3(shmctl, int, shmid, int, cmd, void __user *, uptr) in COMPAT_SYSCALL_DEFINE3() argument
1393 return compat_ksys_shmctl(shmid, cmd, uptr, IPC_64); in COMPAT_SYSCALL_DEFINE3()
1397 long compat_ksys_old_shmctl(int shmid, int cmd, void __user *uptr) in compat_ksys_old_shmctl() argument
1401 return compat_ksys_shmctl(shmid, cmd, uptr, version); in compat_ksys_old_shmctl()
1404 COMPAT_SYSCALL_DEFINE3(old_shmctl, int, shmid, int, cmd, void __user *, uptr) in COMPAT_SYSCALL_DEFINE3() argument
[all …]
Dutil.h281 long compat_ksys_old_msgctl(int msqid, int cmd, void __user *uptr);
286 long compat_ksys_old_shmctl(int shmid, int cmd, void __user *uptr);