Home
last modified time | relevance | path

Searched refs:uts (Results 1 – 20 of 20) sorted by relevance

/linux-6.3-rc2/tools/power/cpupower/utils/
A Dcpupower-set.c35 struct utsname uts; in cmd_set() local
46 ret = uname(&uts); in cmd_set()
47 if (!ret && (!strcmp(uts.machine, "ppc64le") || in cmd_set()
48 !strcmp(uts.machine, "ppc64"))) { in cmd_set()
A Dcpupower-info.c34 struct utsname uts; in cmd_info() local
44 ret = uname(&uts); in cmd_info()
45 if (!ret && (!strcmp(uts.machine, "ppc64le") || in cmd_info()
46 !strcmp(uts.machine, "ppc64"))) { in cmd_info()
A Dcpupower.c180 struct utsname uts; in main() local
217 ret = uname(&uts); in main()
219 if (!ret && !strcmp(uts.machine, "x86_64") && in main()
/linux-6.3-rc2/kernel/time/
A Dtime.c782 const struct __kernel_timespec __user *uts) in get_timespec64() argument
787 ret = copy_from_user(&kts, uts, sizeof(kts)); in get_timespec64()
805 struct __kernel_timespec __user *uts) in put_timespec64() argument
812 return copy_to_user(uts, &kts, sizeof(kts)) ? -EFAULT : 0; in put_timespec64()
842 int get_old_timespec32(struct timespec64 *ts, const void __user *uts) in get_old_timespec32() argument
845 return copy_from_user(ts, uts, sizeof(*ts)) ? -EFAULT : 0; in get_old_timespec32()
847 return __get_old_timespec32(ts, uts); in get_old_timespec32()
851 int put_old_timespec32(const struct timespec64 *ts, void __user *uts) in put_old_timespec32() argument
854 return copy_to_user(uts, ts, sizeof(*ts)) ? -EFAULT : 0; in put_old_timespec32()
856 return __put_old_timespec32(ts, uts); in put_old_timespec32()
/linux-6.3-rc2/include/linux/
A Dtime.h12 const struct __kernel_timespec __user *uts);
14 struct __kernel_timespec __user *uts);
A Dcompat.h759 struct old_timespec32 __user *uts, compat_size_t sigsetsize);
762 struct __kernel_timespec __user *uts, compat_size_t sigsetsize);
A Dsyscalls.h733 const struct __kernel_timespec __user *uts,
737 const struct old_timespec32 __user *uts,
/linux-6.3-rc2/tools/perf/util/
A Denv.c376 struct utsname uts; in perf_env__read_arch() local
381 if (!uname(&uts)) in perf_env__read_arch()
382 env->arch = strdup(uts.machine); in perf_env__read_arch()
447 static struct utsname uts = { .machine[0] = '\0', }; in perf_env__arch() local
448 if (uts.machine[0] == '\0' && uname(&uts) < 0) in perf_env__arch()
450 arch_name = uts.machine; in perf_env__arch()
A Dcputopo.c224 struct utsname uts; in has_die_topology() local
226 if (uname(&uts) < 0) in has_die_topology()
229 if (strncmp(uts.machine, "x86_64", 6) && in has_die_topology()
230 strncmp(uts.machine, "s390x", 5)) in has_die_topology()
A Dheader.c344 struct utsname uts; in write_hostname() local
347 ret = uname(&uts); in write_hostname()
351 return do_write_string(ff, uts.nodename); in write_hostname()
357 struct utsname uts; in write_osrelease() local
360 ret = uname(&uts); in write_osrelease()
364 return do_write_string(ff, uts.release); in write_osrelease()
370 struct utsname uts; in write_arch() local
373 ret = uname(&uts); in write_arch()
377 return do_write_string(ff, uts.machine); in write_arch()
A Dsymbol.c2399 struct utsname uts; in vmlinux_path__init() local
2420 if (uname(&uts) < 0) in vmlinux_path__init()
2423 kernel_version = uts.release; in vmlinux_path__init()
/linux-6.3-rc2/drivers/tty/serial/
A Dimx.c355 u32 ucr2, ubir, ubmr, uts; in imx_uart_soft_reset() local
479 u32 ucr1, ucr2, ucr4, uts; in imx_uart_stop_rx() local
500 uts |= UTS_LOOP; in imx_uart_stop_rx()
1076 u32 ucr3, uts; in imx_uart_set_mctrl() local
1107 uts |= UTS_LOOP; in imx_uart_set_mctrl()
1439 u32 ucr1, ucr2, ucr3, ucr4, uts; in imx_uart_startup() local
1540 uts &= ~UTS_LOOP; in imx_uart_startup()
1552 u32 ucr1, ucr2, ucr4, uts; in imx_uart_shutdown() local
1603 uts |= UTS_LOOP; in imx_uart_shutdown()
2248 u32 ucr1, ucr2, uts; in imx_uart_probe() local
[all …]
/linux-6.3-rc2/tools/testing/selftests/powerpc/
A Dutils.c457 struct utsname uts; in is_ppc64le() local
461 rc = uname(&uts); in is_ppc64le()
467 return strcmp(uts.machine, "ppc64le") == 0; in is_ppc64le()
/linux-6.3-rc2/kernel/
A Dsignal.c3632 const struct __kernel_timespec __user *, uts, in SYSCALL_DEFINE4() argument
3647 if (uts) { in SYSCALL_DEFINE4()
3648 if (get_timespec64(&ts, uts)) in SYSCALL_DEFINE4()
3665 const struct old_timespec32 __user *, uts, in SYSCALL_DEFINE4() argument
3679 if (uts) { in SYSCALL_DEFINE4()
3680 if (get_old_timespec32(&ts, uts)) in SYSCALL_DEFINE4()
3711 if (uts) { in COMPAT_SYSCALL_DEFINE4()
3712 if (get_timespec64(&t, uts)) in COMPAT_SYSCALL_DEFINE4()
3716 ret = do_sigtimedwait(&s, &info, uts ? &t : NULL); in COMPAT_SYSCALL_DEFINE4()
3742 if (uts) { in COMPAT_SYSCALL_DEFINE4()
[all …]
/linux-6.3-rc2/kernel/power/
A Dpower.h11 struct new_utsname uts; member
A Dsnapshot.c2060 memcpy(&info->uts, init_utsname(), sizeof(struct new_utsname)); in init_header_complete()
2069 if (strcmp(info->uts.sysname,init_utsname()->sysname)) in check_image_kernel()
2071 if (strcmp(info->uts.release,init_utsname()->release)) in check_image_kernel()
2073 if (strcmp(info->uts.version,init_utsname()->version)) in check_image_kernel()
2075 if (strcmp(info->uts.machine,init_utsname()->machine)) in check_image_kernel()
/linux-6.3-rc2/tools/perf/
A Dbuiltin-top.c170 struct utsname uts; in ui__warn_map_erange() local
171 int err = uname(&uts); in ui__warn_map_erange()
187 err ? "[unknown]" : uts.machine, in ui__warn_map_erange()
188 err ? "[unknown]" : uts.release, perf_version_string); in ui__warn_map_erange()
A Dbuiltin-script.c3805 struct utsname uts; in cmd_script() local
4223 uname(&uts); in cmd_script()
4227 if (!strcmp(uts.machine, session->header.env.arch)) in cmd_script()
4229 else if (!strcmp(uts.machine, "x86_64") && in cmd_script()
/linux-6.3-rc2/io_uring/
A Dio_uring.c2553 struct __kernel_timespec __user *uts) in io_cqring_wait() argument
2590 if (uts) { in io_cqring_wait()
2593 if (get_timespec64(&ts, uts)) in io_cqring_wait()
/linux-6.3-rc2/tools/lib/bpf/
A Dlibbpf.c1916 struct utsname uts; in bpf_object__read_kconfig_file() local
1920 uname(&uts); in bpf_object__read_kconfig_file()
1921 len = snprintf(buf, PATH_MAX, "/boot/config-%s", uts.release); in bpf_object__read_kconfig_file()

Completed in 87 milliseconds