Searched refs:uts (Results 1 - 25 of 38) sorted by last modified time

12

/linux-master/io_uring/
H A Dio_uring.c2589 struct __kernel_timespec __user *uts)
2613 if (uts) {
2616 if (get_timespec64(&ts, uts))
2587 io_cqring_wait(struct io_ring_ctx *ctx, int min_events, const sigset_t __user *sig, size_t sigsz, struct __kernel_timespec __user *uts) argument
/linux-master/tools/lib/bpf/
H A Dlibbpf.c2176 struct utsname uts; local
2180 uname(&uts);
2181 len = snprintf(buf, PATH_MAX, "/boot/config-%s", uts.release);
/linux-master/tools/perf/util/
H A Dsymbol.c2298 struct utsname uts; local
2319 if (uname(&uts) < 0)
2322 kernel_version = uts.release;
H A Dheader.c345 struct utsname uts; local
348 ret = uname(&uts);
352 return do_write_string(ff, uts.nodename);
358 struct utsname uts; local
361 ret = uname(&uts);
365 return do_write_string(ff, uts.release);
371 struct utsname uts; local
374 ret = uname(&uts);
378 return do_write_string(ff, uts.machine);
H A Denv.c389 struct utsname uts; local
394 if (!uname(&uts))
395 env->arch = strdup(uts.machine);
462 static struct utsname uts = { .machine[0] = '\0', }; local
463 if (uts.machine[0] == '\0' && uname(&uts) < 0)
465 arch_name = uts.machine;
H A Dcputopo.c225 struct utsname uts; local
227 if (uname(&uts) < 0)
230 if (strncmp(uts.machine, "x86_64", 6) &&
231 strncmp(uts.machine, "s390x", 5))
/linux-master/tools/perf/
H A Dbuiltin-top.c171 struct utsname uts; local
172 int err = uname(&uts);
189 err ? "[unknown]" : uts.machine,
190 err ? "[unknown]" : uts.release, perf_version_string);
H A Dbuiltin-script.c3860 struct utsname uts; local
4278 uname(&uts);
4282 if (!strcmp(uts.machine, session->header.env.arch))
4284 else if (!strcmp(uts.machine, "x86_64") &&
/linux-master/kernel/
H A Dsignal.c3678 * @uts: upper bound on process time suspension
3683 const struct __kernel_timespec __user *, uts,
3698 if (uts) {
3699 if (get_timespec64(&ts, uts))
3703 ret = do_sigtimedwait(&these, &info, uts ? &ts : NULL);
3716 const struct old_timespec32 __user *, uts,
3730 if (uts) {
3731 if (get_old_timespec32(&ts, uts))
3735 ret = do_sigtimedwait(&these, &info, uts ? &ts : NULL);
3749 struct __kernel_timespec __user *, uts, compat_size_
[all...]
H A Dutsname_sysctl.c9 #include <linux/uts.h>
/linux-master/kernel/power/
H A Dsnapshot.c2165 memcpy(&info->uts, init_utsname(), sizeof(struct new_utsname));
2174 if (strcmp(info->uts.sysname,init_utsname()->sysname))
2176 if (strcmp(info->uts.release,init_utsname()->release))
2178 if (strcmp(info->uts.version,init_utsname()->version))
2180 if (strcmp(info->uts.machine,init_utsname()->machine))
H A Dpower.h12 struct new_utsname uts; member in struct:swsusp_info
/linux-master/include/linux/
H A Dsyscalls.h658 const struct __kernel_timespec __user *uts,
662 const struct old_timespec32 __user *uts,
H A Dcompat.h717 struct old_timespec32 __user *uts, compat_size_t sigsetsize);
720 struct __kernel_timespec __user *uts, compat_size_t sigsetsize);
/linux-master/drivers/tty/serial/
H A Dimx.c334 u32 ucr2, ubir, ubmr, uts; local
349 uts = imx_uart_readl(sport, IMX21_UTS);
360 imx_uart_writel(sport, uts, IMX21_UTS);
367 unsigned int uts; local
370 uts = imx_uart_readl(sport, imx_uart_uts_reg(sport));
371 uts &= ~UTS_LOOP;
372 imx_uart_writel(sport, uts, imx_uart_uts_reg(sport));
468 u32 ucr1, ucr2, ucr4, uts; local
488 uts = imx_uart_readl(sport, imx_uart_uts_reg(sport));
489 uts |
1080 u32 ucr3, uts; local
1560 u32 ucr1, ucr2, ucr4, uts; local
2246 u32 ucr1, ucr2, uts; local
[all...]
/linux-master/drivers/usb/gadget/legacy/
H A Dinode.c17 #include <linux/uts.h>
/linux-master/init/
H A Dversion.c16 #include <linux/uts.h>
H A Dversion-timestamp.c7 #include <linux/uts.h>
/linux-master/arch/x86/boot/compressed/
H A Dkaslr.c29 #include <linux/uts.h>
/linux-master/kernel/time/
H A Dtime.c865 * @uts: user's time value as &struct __kernel_timespec
872 const struct __kernel_timespec __user *uts)
877 ret = copy_from_user(&kts, uts, sizeof(kts));
898 * @uts: user's &struct __kernel_timespec
903 struct __kernel_timespec __user *uts)
910 return copy_to_user(uts, &kts, sizeof(kts)) ? -EFAULT : 0;
943 * @uts: user's old-format time value (&struct old_timespec32)
949 int get_old_timespec32(struct timespec64 *ts, const void __user *uts) argument
952 return copy_from_user(ts, uts, sizeof(*ts)) ? -EFAULT : 0;
954 return __get_old_timespec32(ts, uts);
871 get_timespec64(struct timespec64 *ts, const struct __kernel_timespec __user *uts) argument
902 put_timespec64(const struct timespec64 *ts, struct __kernel_timespec __user *uts) argument
968 put_old_timespec32(const struct timespec64 *ts, void __user *uts) argument
[all...]
/linux-master/tools/power/cpupower/utils/
H A Dcpupower-set.c38 struct utsname uts; local
53 ret = uname(&uts);
54 if (!ret && (!strcmp(uts.machine, "ppc64le") ||
55 !strcmp(uts.machine, "ppc64"))) {
H A Dcpupower.c180 struct utsname uts; local
217 ret = uname(&uts);
219 if (!ret && !strcmp(uts.machine, "x86_64") &&
H A Dcpupower-info.c34 struct utsname uts; local
44 ret = uname(&uts);
45 if (!ret && (!strcmp(uts.machine, "ppc64le") ||
46 !strcmp(uts.machine, "ppc64"))) {
/linux-master/tools/testing/selftests/powerpc/
H A Dutils.c480 struct utsname uts; local
484 rc = uname(&uts);
490 return strcmp(uts.machine, "ppc64le") == 0;
/linux-master/arch/powerpc/kernel/vdso/
H A Dnote.S6 #include <linux/uts.h>

Completed in 416 milliseconds

12