Home
last modified time | relevance | path

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

123456

/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/linux-kselftest/tools/testing/selftests/arm64/tags/
Dtags_test.c18 struct utsname *ptr; in main()
23 ptr = (struct utsname *)malloc(sizeof(*ptr)); in main()
26 ptr = (struct utsname *)SET_TAG(ptr, tag); in main()
/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/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/ltp/m4/
Dltp-uname.m45 AC_CHECK_MEMBERS([struct utsname.domainname],,,[
7 #include <sys/utsname.h>
/external/perfetto/src/trace_processor/importers/proto/
Dsystem_probes_parser.cc345 ConstBytes utsname_blob = packet.utsname(); in ParseSystemInfo()
346 protos::pbzero::Utsname::Decoder utsname(utsname_blob.data, in ParseSystemInfo() local
348 base::StringView machine = utsname.machine(); in ParseSystemInfo()
362 system_info_tracker->SetKernelVersion(utsname.sysname(), utsname.release()); in ParseSystemInfo()
365 context_->storage->InternString(utsname.sysname()); in ParseSystemInfo()
367 context_->storage->InternString(utsname.version()); in ParseSystemInfo()
369 context_->storage->InternString(utsname.release()); in ParseSystemInfo()
371 context_->storage->InternString(utsname.machine()); in ParseSystemInfo()
/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.c20 static struct utsname saved_buf;
39 struct utsname buf; in try_leak_bytes()
Duname01.c124 struct utsname un;
/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/cve/
Dmeltdown.c275 struct utsname utsname; in find_kernel_symbol() local
282 if (uname(&utsname) < 0) in find_kernel_symbol()
284 sprintf(systemmap, "/boot/System.map-%s", utsname.release); in find_kernel_symbol()
/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/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/rust/crates/libc/src/unix/redox/
Dmod.rs50 pub struct utsname {
946 pub fn uname(utsname: *mut utsname) -> ::c_int; in uname()
1054 impl PartialEq for utsname {
1055 fn eq(&self, other: &utsname) -> bool {
1088 impl Eq for utsname {}
1090 impl ::fmt::Debug for utsname {
1103 impl ::hash::Hash for utsname {
/external/rust/crates/libc/src/unix/bsd/
Dmod.rs113 pub struct utsname {
172 impl PartialEq for utsname {
173 fn eq(&self, other: &utsname) -> bool {
201 impl Eq for utsname {}
203 impl ::fmt::Debug for utsname {
215 impl ::hash::Hash for utsname {
/external/strace/
Duname.c39 struct utsname uname; in SYS_FUNC()
/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()

123456