Lines Matching refs:tmp
1021 struct tms tmp; in SYSCALL_DEFINE1() local
1023 do_sys_times(&tmp); in SYSCALL_DEFINE1()
1024 if (copy_to_user(tbuf, &tmp, sizeof(struct tms))) in SYSCALL_DEFINE1()
1041 struct compat_tms tmp; in COMPAT_SYSCALL_DEFINE1() local
1045 tmp.tms_utime = clock_t_to_compat_clock_t(tms.tms_utime); in COMPAT_SYSCALL_DEFINE1()
1046 tmp.tms_stime = clock_t_to_compat_clock_t(tms.tms_stime); in COMPAT_SYSCALL_DEFINE1()
1047 tmp.tms_cutime = clock_t_to_compat_clock_t(tms.tms_cutime); in COMPAT_SYSCALL_DEFINE1()
1048 tmp.tms_cstime = clock_t_to_compat_clock_t(tms.tms_cstime); in COMPAT_SYSCALL_DEFINE1()
1049 if (copy_to_user(tbuf, &tmp, sizeof(tmp))) in COMPAT_SYSCALL_DEFINE1()
1303 struct new_utsname tmp; in SYSCALL_DEFINE1() local
1306 memcpy(&tmp, utsname(), sizeof(tmp)); in SYSCALL_DEFINE1()
1308 if (copy_to_user(name, &tmp, sizeof(tmp))) in SYSCALL_DEFINE1()
1324 struct old_utsname tmp; in SYSCALL_DEFINE1() local
1330 memcpy(&tmp, utsname(), sizeof(tmp)); in SYSCALL_DEFINE1()
1332 if (copy_to_user(name, &tmp, sizeof(tmp))) in SYSCALL_DEFINE1()
1344 struct oldold_utsname tmp; in SYSCALL_DEFINE1() local
1349 memset(&tmp, 0, sizeof(tmp)); in SYSCALL_DEFINE1()
1352 memcpy(&tmp.sysname, &utsname()->sysname, __OLD_UTS_LEN); in SYSCALL_DEFINE1()
1353 memcpy(&tmp.nodename, &utsname()->nodename, __OLD_UTS_LEN); in SYSCALL_DEFINE1()
1354 memcpy(&tmp.release, &utsname()->release, __OLD_UTS_LEN); in SYSCALL_DEFINE1()
1355 memcpy(&tmp.version, &utsname()->version, __OLD_UTS_LEN); in SYSCALL_DEFINE1()
1356 memcpy(&tmp.machine, &utsname()->machine, __OLD_UTS_LEN); in SYSCALL_DEFINE1()
1358 if (copy_to_user(name, &tmp, sizeof(tmp))) in SYSCALL_DEFINE1()
1372 char tmp[__NEW_UTS_LEN]; in SYSCALL_DEFINE2() local
1380 if (!copy_from_user(tmp, name, len)) { in SYSCALL_DEFINE2()
1383 add_device_randomness(tmp, len); in SYSCALL_DEFINE2()
1386 memcpy(u->nodename, tmp, len); in SYSCALL_DEFINE2()
1401 char tmp[__NEW_UTS_LEN + 1]; in SYSCALL_DEFINE2() local
1410 memcpy(tmp, u->nodename, i); in SYSCALL_DEFINE2()
1412 if (copy_to_user(name, tmp, i)) in SYSCALL_DEFINE2()
1426 char tmp[__NEW_UTS_LEN]; in SYSCALL_DEFINE2() local
1434 if (!copy_from_user(tmp, name, len)) { in SYSCALL_DEFINE2()
1437 add_device_randomness(tmp, len); in SYSCALL_DEFINE2()
1440 memcpy(u->domainname, tmp, len); in SYSCALL_DEFINE2()