Lines Matching defs:ubuf
138 static int hpux_ustat(dev_t dev, struct hpux_ustat __user *ubuf)
159 err = copy_to_user(ubuf, &tmp, sizeof(tmp)) ? -EFAULT : 0;
299 int hpux_utssys(char __user *ubuf, int n, int type)
306 return hpux_uname((struct hpux_utsname __user *)ubuf);
315 (struct hpux_ustat __user *)ubuf);
332 return sys_sethostname(ubuf, len);
346 return sys_sethostname(ubuf, len);
356 return sys_gethostname(ubuf, n);
378 if (!copy_from_user(utsname()->sysname, ubuf, len)) {
405 if (!copy_from_user(utsname()->release, ubuf, len)) {