Home
last modified time | relevance | path

Searched refs:utsname (Results 1 – 25 of 121) sorted by relevance

12345

/external/linux-kselftest/android/patches/
D0005-psock-tpacket-version-check.patch20 +#include <sys/utsname.h>
31 + struct utsname utsname;
33 + ret = uname(&utsname);
39 + ret = sscanf(utsname.release, "%d.%d.%d", version, patchlevel,
45 + printf("Malformed kernel version %s\n", &utsname.release);
/external/iputils/ninfod/
Dninfod_name.c137 static struct utsname utsname; variable
138 static char *uts_nodename = utsname.nodename;
292 struct utsname newname; in init_nodeinfo_nodename()
299 changed = strcmp(newname.nodename, utsname.nodename); in init_nodeinfo_nodename()
304 memcpy(&utsname, &newname, sizeof(newname)); in init_nodeinfo_nodename()
/external/linux-kselftest/tools/testing/selftests/x86/
Dtest_syscall_vdso.c138 struct utsname utsname; in get_kernel_version() local
140 ret = uname(&utsname); in get_kernel_version()
146 ret = sscanf(utsname.release, "%d.%d.%d", version, patchlevel, in get_kernel_version()
152 printf("Malformed kernel version %s\n", utsname.release); in get_kernel_version()
/external/libchrome/base/
Dsys_info_posix.cc175 struct utsname info; in OperatingSystemName()
187 struct utsname info; in OperatingSystemVersion()
201 struct utsname info; in OperatingSystemVersionNumbers()
222 struct utsname info; in OperatingSystemArchitecture()
/external/kmod/testsuite/
Duname.c28 TS_EXPORT int uname(struct utsname *u) in uname()
31 static int (*nextlib_uname)(struct utsname *u); in uname()
/external/ltp/testcases/kernel/syscalls/uname/
Duname03.c71 struct utsname *buf; in main()
79 if ((buf = malloc((size_t)sizeof(struct utsname))) == NULL) { in main()
Duname04.c32 static struct utsname saved_buf;
51 struct utsname buf; in try_leak_bytes()
Duname01.c124 struct utsname un;
/external/ltp/testcases/cve/
Dmeltdown.c283 struct utsname utsname; in find_kernel_symbol() local
291 if (uname(&utsname) < 0) in find_kernel_symbol()
294 sprintf(systemmap, "/boot/System.map-%s", utsname.release); in find_kernel_symbol()
/external/ltp/lib/
Dtst_kernel.c23 static int get_kernel_bits_from_uname(struct utsname *buf) in get_kernel_bits_from_uname()
35 struct utsname buf; in tst_kernel_bits()
Dtst_kvercmp.c100 struct utsname uval; in tst_kvercmp()
149 struct utsname uval; in tst_kvercmp2()
/external/ltp/testcases/kernel/containers/
DREADME35 (e.g: utsname etc..) tests and report results. Please refer the following
44 utsname/*
45 Contains all the testcases related to utsname tests.
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DHost.inc24 #include <sys/utsname.h>
29 struct utsname info;
/external/llvm/lib/Support/Unix/
DHost.inc24 #include <sys/utsname.h>
29 struct utsname info;
/external/ltp/m4/
Dltp-uname.m417 AC_CHECK_MEMBERS([struct utsname.domainname],,,[
19 #include <sys/utsname.h>
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DHost.inc22 #include <sys/utsname.h>
30 struct utsname info;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DHost.inc24 #include <sys/utsname.h>
29 struct utsname info;
/external/walt/ios/WALT/
DWALTAppDelegate.m19 #include <sys/utsname.h>
32 struct utsname systemInfo;
/external/ltp/testcases/kernel/syscalls/mlockall/
Dmlockall03.c114 struct utsname *buf; in main()
119 if ((buf = malloc((size_t)sizeof(struct utsname))) == NULL) { in main()
/external/strace/
Duname.c39 struct utsname uname; in SYS_FUNC()
/external/elfutils/libdwfl/
Dlinux-kernel-modules.c162 static struct utsname utsname; in kernel_release() local
163 if (utsname.release[0] == '\0' && uname (&utsname) != 0) in kernel_release()
165 return utsname.release; in kernel_release()
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c853 struct utsname utsname; in get_kernel_version() local
855 ret = uname(&utsname); in get_kernel_version()
861 ret = sscanf(utsname.release, "%d.%d.%d", version, patchlevel, in get_kernel_version()
867 printf("Malformed kernel version %s\n", &utsname.release); in get_kernel_version()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/speculative/
D5-2.c86 struct utsname un; in main()
/external/strace/tests-m32/
Duname.c13 TAIL_ALLOC_OBJECT_CONST_PTR(struct utsname, uname); in main()
/external/strace/tests-mx32/
Duname.c13 TAIL_ALLOC_OBJECT_CONST_PTR(struct utsname, uname); in main()

12345