/ipc/ |
D | syscall.c | 21 unsigned long third, void __user * ptr, long fifth) in ksys_ipc() 30 return ksys_semtimedop(first, (struct sembuf __user *)ptr, in ksys_ipc() 35 (const struct __kernel_timespec __user *)fifth); in ksys_ipc() 38 (const struct old_timespec32 __user *)fifth); in ksys_ipc() 48 if (get_user(arg, (unsigned long __user *) ptr)) in ksys_ipc() 54 return ksys_msgsnd(first, (struct msgbuf __user *) ptr, in ksys_ipc() 64 (struct ipc_kludge __user *) ptr, in ksys_ipc() 72 (struct msgbuf __user *) ptr, in ksys_ipc() 79 (struct msqid_ds __user *)ptr); in ksys_ipc() 85 ret = do_shmat(first, (char __user *)ptr, in ksys_ipc() [all …]
|
D | msg.c | 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() [all …]
|
D | mqueue.c | 561 static ssize_t mqueue_read_file(struct file *filp, char __user *u_data, in mqueue_read_file() 748 static int prepare_timeout(const struct __kernel_timespec __user *u_abs_timeout, in prepare_timeout() 798 static int do_mq_open(const char __user *u_name, int oflag, umode_t mode, in do_mq_open() 847 SYSCALL_DEFINE4(mq_open, const char __user *, u_name, int, oflag, umode_t, mode, in SYSCALL_DEFINE4() argument 848 struct mq_attr __user *, u_attr) in SYSCALL_DEFINE4() argument 857 SYSCALL_DEFINE1(mq_unlink, const char __user *, u_name) in SYSCALL_DEFINE1() argument 963 static int do_mq_timedsend(mqd_t mqdes, const char __user *u_msg_ptr, in do_mq_timedsend() 1081 static int do_mq_timedreceive(mqd_t mqdes, char __user *u_msg_ptr, in do_mq_timedreceive() 1082 size_t msg_len, unsigned int __user *u_msg_prio, in do_mq_timedreceive() 1183 SYSCALL_DEFINE5(mq_timedsend, mqd_t, mqdes, const char __user *, u_msg_ptr, in SYSCALL_DEFINE5() argument [all …]
|
D | ipc_sysctl.c | 27 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_dointvec() 38 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_dointvec_minmax() 49 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_dointvec_minmax_orphans() 62 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_doulongvec_minmax() 73 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_auto_msgmni() 88 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_sem_dointvec()
|
D | util.h | 197 extern struct msg_msg *load_msg(const void __user *src, size_t len); 199 extern int store_msg(void __user *dest, struct msg_msg *msg, size_t len); 269 int get_compat_ipc_perm(struct ipc64_perm *, struct compat_ipc_perm __user *); 271 struct compat_ipc64_perm __user *); 281 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);
|
D | shm.c | 750 static inline unsigned long copy_shmid_to_user(void __user *buf, struct shmid64_ds *in, int version) in copy_shmid_to_user() 777 copy_shmid_from_user(struct shmid64_ds *out, void __user *buf, int version) in copy_shmid_from_user() 802 static inline unsigned long copy_shminfo_to_user(void __user *buf, struct shminfo64 *in, int versio… in copy_shminfo_to_user() 1140 static long ksys_shmctl(int shmid, int cmd, struct shmid_ds __user *buf, int version) in ksys_shmctl() 1194 SYSCALL_DEFINE3(shmctl, int, shmid, int, cmd, struct shmid_ds __user *, buf) in SYSCALL_DEFINE3() argument 1200 long ksys_old_shmctl(int shmid, int cmd, struct shmid_ds __user *buf) in ksys_old_shmctl() 1207 SYSCALL_DEFINE3(old_shmctl, int, shmid, int, cmd, struct shmid_ds __user *, buf) in SYSCALL_DEFINE3() argument 1247 static int copy_compat_shminfo_to_user(void __user *buf, struct shminfo64 *in, in copy_compat_shminfo_to_user() 1274 struct compat_shm_info __user *uip) in put_compat_shm_info() 1288 static int copy_compat_shmid_to_user(void __user *buf, struct shmid64_ds *in, in copy_compat_shmid_to_user() [all …]
|
D | sem.c | 1176 static unsigned long copy_semid_to_user(void __user *buf, struct semid64_ds *in, int version) in copy_semid_to_user() 1290 int cmd, void __user *p) in semctl_info() 1387 int cmd, void __user *p) in semctl_main() 1417 ushort __user *array = p; in semctl_main() 1553 copy_semid_from_user(struct semid64_ds *out, void __user *buf, int version) in copy_semid_from_user() 1636 void __user *p = (void __user *)arg; in ksys_semctl() 1719 static int copy_compat_semid_from_user(struct semid64_ds *out, void __user *buf, in copy_compat_semid_from_user() 1724 struct compat_semid64_ds __user *p = buf; in copy_compat_semid_from_user() 1727 struct compat_semid_ds __user *p = buf; in copy_compat_semid_from_user() 1732 static int copy_compat_semid_to_user(void __user *buf, struct semid64_ds *in, in copy_compat_semid_to_user() [all …]
|
D | msgutil.c | 84 struct msg_msg *load_msg(const void __user *src, size_t len) in load_msg() 101 src = (char __user *)src + alen; in load_msg() 150 int store_msg(void __user *dest, struct msg_msg *msg, size_t len) in store_msg() 161 dest = (char __user *)dest + alen; in store_msg()
|
D | compat.c | 39 struct compat_ipc64_perm __user *from) in get_compat_ipc64_perm() 51 struct compat_ipc_perm __user *from) in get_compat_ipc_perm()
|
D | mq_sysctl.c | 22 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_mq_dointvec() 32 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_mq_dointvec_minmax()
|