/external/linux-kselftest/android/patches/ |
D | 0005-psock-tpacket-version-check.patch | 20 +#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/ |
D | ninfod_name.c | 137 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/ |
D | test_syscall_vdso.c | 138 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/ |
D | sys_info_posix.cc | 175 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/ |
D | uname.c | 28 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/ |
D | uname03.c | 71 struct utsname *buf; in main() 79 if ((buf = malloc((size_t)sizeof(struct utsname))) == NULL) { in main()
|
D | uname04.c | 32 static struct utsname saved_buf; 51 struct utsname buf; in try_leak_bytes()
|
D | uname01.c | 124 struct utsname un;
|
/external/ltp/testcases/cve/ |
D | meltdown.c | 283 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/ |
D | tst_kernel.c | 23 static int get_kernel_bits_from_uname(struct utsname *buf) in get_kernel_bits_from_uname() 35 struct utsname buf; in tst_kernel_bits()
|
D | tst_kvercmp.c | 100 struct utsname uval; in tst_kvercmp() 149 struct utsname uval; in tst_kvercmp2()
|
/external/ltp/testcases/kernel/containers/ |
D | README | 35 (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/ |
D | Host.inc | 24 #include <sys/utsname.h> 29 struct utsname info;
|
/external/llvm/lib/Support/Unix/ |
D | Host.inc | 24 #include <sys/utsname.h> 29 struct utsname info;
|
/external/ltp/m4/ |
D | ltp-uname.m4 | 17 AC_CHECK_MEMBERS([struct utsname.domainname],,,[ 19 #include <sys/utsname.h>
|
/external/swiftshader/third_party/LLVM/lib/Support/Unix/ |
D | Host.inc | 22 #include <sys/utsname.h> 30 struct utsname info;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/ |
D | Host.inc | 24 #include <sys/utsname.h> 29 struct utsname info;
|
/external/walt/ios/WALT/ |
D | WALTAppDelegate.m | 19 #include <sys/utsname.h> 32 struct utsname systemInfo;
|
/external/ltp/testcases/kernel/syscalls/mlockall/ |
D | mlockall03.c | 114 struct utsname *buf; in main() 119 if ((buf = malloc((size_t)sizeof(struct utsname))) == NULL) { in main()
|
/external/strace/ |
D | uname.c | 39 struct utsname uname; in SYS_FUNC()
|
/external/elfutils/libdwfl/ |
D | linux-kernel-modules.c | 162 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/ |
D | psock_tpacket.c | 853 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/ |
D | 5-2.c | 86 struct utsname un; in main()
|
/external/strace/tests-m32/ |
D | uname.c | 13 TAIL_ALLOC_OBJECT_CONST_PTR(struct utsname, uname); in main()
|
/external/strace/tests-mx32/ |
D | uname.c | 13 TAIL_ALLOC_OBJECT_CONST_PTR(struct utsname, uname); in main()
|