Lines Matching refs:buf
1176 static unsigned long copy_semid_to_user(void __user *buf, struct semid64_ds *in, int version) in copy_semid_to_user() argument
1180 return copy_to_user(buf, in, sizeof(*in)); in copy_semid_to_user()
1193 return copy_to_user(buf, &out, sizeof(out)); in copy_semid_to_user()
1553 copy_semid_from_user(struct semid64_ds *out, void __user *buf, int version) in copy_semid_from_user() argument
1557 if (copy_from_user(out, buf, sizeof(*out))) in copy_semid_from_user()
1564 if (copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_semid_from_user()
1719 static int copy_compat_semid_from_user(struct semid64_ds *out, void __user *buf, in copy_compat_semid_from_user() argument
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() argument
1744 return copy_to_user(buf, &v, sizeof(v)); in copy_compat_semid_to_user()
1752 return copy_to_user(buf, &v, sizeof(v)); in copy_compat_semid_to_user()