Home
last modified time | relevance | path

Searched refs:buf (Results 1 – 3 of 3) sorted by relevance

/ipc/
Dmsg.c323 copy_msqid_to_user(void __user *buf, struct msqid64_ds *in, int version) in copy_msqid_to_user() argument
327 return copy_to_user(buf, in, sizeof(*in)); in copy_msqid_to_user()
360 return copy_to_user(buf, &out, sizeof(out)); in copy_msqid_to_user()
368 copy_msqid_from_user(struct msqid64_ds *out, void __user *buf, int version) in copy_msqid_from_user() argument
372 if (copy_from_user(out, buf, sizeof(*out))) in copy_msqid_from_user()
379 if (copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_msqid_from_user()
404 struct msqid_ds __user *buf, int version) in msgctl_down() argument
412 if (copy_msqid_from_user(&msqid64, buf, version)) in msgctl_down()
464 SYSCALL_DEFINE3(msgctl, int, msqid, int, cmd, struct msqid_ds __user *, buf) in SYSCALL_DEFINE3() argument
483 if (!buf) in SYSCALL_DEFINE3()
[all …]
Dshm.c612 static inline unsigned long copy_shmid_to_user(void __user *buf, struct shmid64_ds *in, int version) in copy_shmid_to_user() argument
616 return copy_to_user(buf, in, sizeof(*in)); in copy_shmid_to_user()
631 return copy_to_user(buf, &out, sizeof(out)); in copy_shmid_to_user()
639 copy_shmid_from_user(struct shmid64_ds *out, void __user *buf, int version) in copy_shmid_from_user() argument
643 if (copy_from_user(out, buf, sizeof(*out))) in copy_shmid_from_user()
650 if (copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_shmid_from_user()
664 static inline unsigned long copy_shminfo_to_user(void __user *buf, struct shminfo64 *in, int versio… in copy_shminfo_to_user() argument
668 return copy_to_user(buf, in, sizeof(*in)); in copy_shminfo_to_user()
683 return copy_to_user(buf, &out, sizeof(out)); in copy_shminfo_to_user()
753 struct shmid_ds __user *buf, int version) in shmctl_down() argument
[all …]
Dsem.c913 static unsigned long copy_semid_to_user(void __user *buf, struct semid64_ds *in, int version) in copy_semid_to_user() argument
917 return copy_to_user(buf, in, sizeof(*in)); in copy_semid_to_user()
930 return copy_to_user(buf, &out, sizeof(out)); in copy_semid_to_user()
1252 copy_semid_from_user(struct semid64_ds *out, void __user *buf, int version) in copy_semid_from_user() argument
1256 if (copy_from_user(out, buf, sizeof(*out))) in copy_semid_from_user()
1263 if(copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_semid_from_user()