/kernel/linux/linux-5.10/tools/power/cpupower/utils/ |
D | cpupower-set.c | 35 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()
|
D | cpupower-info.c | 34 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()
|
D | cpupower.c | 177 struct utsname uts; in main() local 212 ret = uname(&uts); in main() 214 if (!ret && !strcmp(uts.machine, "x86_64") && in main()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | env.c | 286 struct utsname uts; in perf_env__read_arch() local 291 if (!uname(&uts)) in perf_env__read_arch() 292 env->arch = strdup(uts.machine); in perf_env__read_arch() 357 static struct utsname uts = { .machine[0] = '\0', }; in perf_env__arch() local 358 if (uts.machine[0] == '\0' && uname(&uts) < 0) in perf_env__arch() 360 arch_name = uts.machine; in perf_env__arch()
|
D | cputopo.c | 158 struct utsname uts; in has_die_topology() local 160 if (uname(&uts) < 0) in has_die_topology() 163 if (strncmp(uts.machine, "x86_64", 6)) in has_die_topology()
|
D | header.c | 333 struct utsname uts; in write_hostname() local 336 ret = uname(&uts); in write_hostname() 340 return do_write_string(ff, uts.nodename); in write_hostname() 346 struct utsname uts; in write_osrelease() local 349 ret = uname(&uts); in write_osrelease() 353 return do_write_string(ff, uts.release); in write_osrelease() 359 struct utsname uts; in write_arch() local 362 ret = uname(&uts); in write_arch() 366 return do_write_string(ff, uts.machine); in write_arch()
|
D | symbol.c | 2341 struct utsname uts; in vmlinux_path__init() local 2362 if (uname(&uts) < 0) in vmlinux_path__init() 2365 kernel_version = uts.release; in vmlinux_path__init()
|
/kernel/linux/linux-5.10/kernel/time/ |
D | time.c | 782 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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | time.h | 12 const struct __kernel_timespec __user *uts); 14 struct __kernel_timespec __user *uts);
|
D | compat.h | 667 struct old_timespec32 __user *uts, compat_size_t sigsetsize); 670 struct __kernel_timespec __user *uts, compat_size_t sigsetsize);
|
D | syscalls.h | 720 const struct __kernel_timespec __user *uts, 724 const struct old_timespec32 __user *uts,
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ |
D | utils.c | 129 struct utsname uts; in is_ppc64le() local 133 rc = uname(&uts); in is_ppc64le() 139 return strcmp(uts.machine, "ppc64le") == 0; in is_ppc64le()
|
/kernel/linux/linux-5.10/kernel/ |
D | signal.c | 3509 const struct __kernel_timespec __user *, uts, in SYSCALL_DEFINE4() argument 3524 if (uts) { in SYSCALL_DEFINE4() 3525 if (get_timespec64(&ts, uts)) in SYSCALL_DEFINE4() 3529 ret = do_sigtimedwait(&these, &info, uts ? &ts : NULL); in SYSCALL_DEFINE4() 3542 const struct old_timespec32 __user *, uts, in SYSCALL_DEFINE4() argument 3556 if (uts) { in SYSCALL_DEFINE4() 3557 if (get_old_timespec32(&ts, uts)) in SYSCALL_DEFINE4() 3561 ret = do_sigtimedwait(&these, &info, uts ? &ts : NULL); in SYSCALL_DEFINE4() 3575 struct __kernel_timespec __user *, uts, compat_size_t, sigsetsize) in COMPAT_SYSCALL_DEFINE4() argument 3588 if (uts) { in COMPAT_SYSCALL_DEFINE4() [all …]
|
/kernel/linux/linux-5.10/kernel/power/ |
D | power.h | 9 struct new_utsname uts; member
|
D | snapshot.c | 2014 memcpy(&info->uts, init_utsname(), sizeof(struct new_utsname)); in init_header_complete() 2023 if (strcmp(info->uts.sysname,init_utsname()->sysname)) in check_image_kernel() 2025 if (strcmp(info->uts.release,init_utsname()->release)) in check_image_kernel() 2027 if (strcmp(info->uts.version,init_utsname()->version)) in check_image_kernel() 2029 if (strcmp(info->uts.machine,init_utsname()->machine)) in check_image_kernel()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | imx.c | 1060 u32 ucr3, uts; in imx_uart_set_mctrl() local 1089 uts = imx_uart_readl(sport, imx_uart_uts_reg(sport)) & ~UTS_LOOP; in imx_uart_set_mctrl() 1091 uts |= UTS_LOOP; in imx_uart_set_mctrl() 1092 imx_uart_writel(sport, uts, imx_uart_uts_reg(sport)); in imx_uart_set_mctrl() 1595 int i = 100, ubir, ubmr, uts; in imx_uart_flush_buffer() local 1626 uts = imx_uart_readl(sport, IMX21_UTS); in imx_uart_flush_buffer() 1638 imx_uart_writel(sport, uts, IMX21_UTS); in imx_uart_flush_buffer()
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-top.c | 169 struct utsname uts; in ui__warn_map_erange() local 170 int err = uname(&uts); in ui__warn_map_erange() 186 err ? "[unknown]" : uts.machine, in ui__warn_map_erange() 187 err ? "[unknown]" : uts.release, perf_version_string); in ui__warn_map_erange()
|
D | builtin-script.c | 3445 struct utsname uts; in cmd_script() local 3822 uname(&uts); in cmd_script() 3826 if (!strcmp(uts.machine, session->header.env.arch)) in cmd_script() 3828 else if (!strcmp(uts.machine, "x86_64") && in cmd_script()
|
/kernel/liteos_a/kernel/extended/ |
D | Kconfig | 129 bool "Enable uts container Feature"
|
/kernel/linux/linux-5.10/io_uring/ |
D | io_uring.c | 7599 struct __kernel_timespec __user *uts) in io_cqring_wait() argument 7614 if (uts) { in io_cqring_wait() 7617 if (get_timespec64(&ts, uts)) in io_cqring_wait()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | libbpf.c | 1658 struct utsname uts; in bpf_object__read_kconfig_file() local 1662 uname(&uts); in bpf_object__read_kconfig_file() 1663 len = snprintf(buf, PATH_MAX, "/boot/config-%s", uts.release); in bpf_object__read_kconfig_file()
|