Lines Matching refs:__user
299 copy_msqid_to_user(void __user *buf, struct msqid64_ds *in, int version) in copy_msqid_to_user()
344 copy_msqid_from_user(struct msqid64_ds *out, void __user *buf, int version) in copy_msqid_from_user()
570 static long ksys_msgctl(int msqid, int cmd, struct msqid_ds __user *buf, int version) in ksys_msgctl()
612 SYSCALL_DEFINE3(msgctl, int, msqid, int, cmd, struct msqid_ds __user *, buf) in SYSCALL_DEFINE3() argument
618 long ksys_old_msgctl(int msqid, int cmd, struct msqid_ds __user *buf) in ksys_old_msgctl()
625 SYSCALL_DEFINE3(old_msgctl, int, msqid, int, cmd, struct msqid_ds __user *, buf) in SYSCALL_DEFINE3() argument
649 static int copy_compat_msqid_from_user(struct msqid64_ds *out, void __user *buf, in copy_compat_msqid_from_user()
654 struct compat_msqid64_ds __user *p = buf; in copy_compat_msqid_from_user()
660 struct compat_msqid_ds __user *p = buf; in copy_compat_msqid_from_user()
669 static int copy_compat_msqid_to_user(void __user *buf, struct msqid64_ds *in, in copy_compat_msqid_to_user()
704 static long compat_ksys_msgctl(int msqid, int cmd, void __user *uptr, int version) in compat_ksys_msgctl()
746 COMPAT_SYSCALL_DEFINE3(msgctl, int, msqid, int, cmd, void __user *, uptr) in COMPAT_SYSCALL_DEFINE3() argument
752 long compat_ksys_old_msgctl(int msqid, int cmd, void __user *uptr) in compat_ksys_old_msgctl()
759 COMPAT_SYSCALL_DEFINE3(old_msgctl, int, msqid, int, cmd, void __user *, uptr) in COMPAT_SYSCALL_DEFINE3() argument
816 static long do_msgsnd(int msqid, long mtype, void __user *mtext, in do_msgsnd()
929 long ksys_msgsnd(int msqid, struct msgbuf __user *msgp, size_t msgsz, in ksys_msgsnd()
939 SYSCALL_DEFINE4(msgsnd, int, msqid, struct msgbuf __user *, msgp, size_t, msgsz, in SYSCALL_DEFINE4() argument
955 struct compat_msgbuf __user *up = compat_ptr(msgp); in compat_ksys_msgsnd()
994 static long do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) in do_msg_fill()
996 struct msgbuf __user *msgp = dest; in do_msg_fill()
1013 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy()
1032 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy()
1066 static long do_msgrcv(int msqid, void __user *buf, size_t bufsz, long msgtyp, int msgflg, in do_msgrcv()
1067 long (*msg_handler)(void __user *, struct msg_msg *, size_t)) in do_msgrcv() argument
1224 long ksys_msgrcv(int msqid, struct msgbuf __user *msgp, size_t msgsz, in ksys_msgrcv()
1230 SYSCALL_DEFINE5(msgrcv, int, msqid, struct msgbuf __user *, msgp, size_t, msgsz, in SYSCALL_DEFINE5() argument
1237 static long compat_do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) in compat_do_msg_fill()
1239 struct compat_msgbuf __user *msgp = dest; in compat_do_msg_fill()