/external/fio/os/ |
D | os-openbsd.h | 94 struct utsname uts; in shm_attach_to_open_removed() local 97 if (uname(&uts) == -1) in shm_attach_to_open_removed() 104 if (uts.release[0] > '9' || uts.release[0] < '0') in shm_attach_to_open_removed() 106 if (uts.release[1] != '.') in shm_attach_to_open_removed() 108 if (uts.release[2] > '9' || uts.release[2] < '0') in shm_attach_to_open_removed() 111 major = uts.release[0] - '0'; in shm_attach_to_open_removed() 112 minor = uts.release[2] - '0'; in shm_attach_to_open_removed()
|
/external/ltp/testcases/kernel/syscalls/setns/ |
D | setns02.c | 66 struct utsname uts, uts_parent; in do_child_newuts() local 76 if (uname(&uts) == -1) in do_child_newuts() 79 tst_resm(TINFO, CP"hostname changed to: %s", uts.nodename); in do_child_newuts() 80 if (strcmp(uts_parent.nodename, uts.nodename) == 0) { in do_child_newuts() 92 if (uname(&uts) == -1) in do_child_newuts() 95 tst_resm(TINFO, CP"hostname: %s", uts.nodename); in do_child_newuts() 96 if (strcmp(uts_parent.nodename, uts.nodename) != 0) { in do_child_newuts()
|
/external/toybox/toys/pending/ |
D | bootchartd.c | 214 struct utsname uts; in stop_logging() local 226 if (uname(&uts) < 0) perror_exit("uname"); in stop_logging() 227 fprintf(hdr_fp, "system.uname = %s %s %s %s\n", uts.sysname, uts.release, in stop_logging() 228 uts.version, uts.machine); in stop_logging()
|
D | getty.c | 207 struct utsname uts; in print_prompt() local 209 uname(&uts); in print_prompt() 210 hostname = xstrdup(uts.nodename); in print_prompt()
|
D | syslogd.c | 319 struct utsname uts; in logmsg() local 354 if (!uname(&uts)) p = uts.nodename; in logmsg()
|
D | modprobe.c | 499 struct utsname uts; in modprobe_main() local 518 uname(&uts); in modprobe_main() 520 TT.dirs->arg = xmprintf("/lib/modules/%s", uts.release); in modprobe_main()
|
/external/google-breakpad/src/client/solaris/handler/ |
D | minidump_generator.cc | 313 struct utsname uts; in WriteCPUInformation() local 318 if (uname(&uts) != -1) { in WriteCPUInformation() 320 if (strcmp(uts.machine, "i86pc") == 0) in WriteCPUInformation() 322 else if (strcmp(uts.machine, "sun4u") == 0) in WriteCPUInformation() 326 major = uts.release; in WriteCPUInformation() 333 build = strchr(uts.version, '_'); in WriteCPUInformation() 344 struct utsname uts; in WriteOSInformation() local 345 if (uname(&uts) != -1) { in WriteOSInformation() 350 uts.sysname, in WriteOSInformation() 351 uts.release, in WriteOSInformation() [all …]
|
/external/toybox/toys/other/ |
D | modinfo.c | 110 struct utsname uts; in modinfo_main() local 112 if (uname(&uts) < 0) perror_exit("bad uname"); in modinfo_main() 115 (toys.optflags & FLAG_k) ? TT.knam : uts.release) >= sizeof(toybuf)) in modinfo_main()
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
D | microdump_writer.cc | 147 struct utsname uts; in DumpOSInformation() local 148 if (uname(&uts)) in DumpOSInformation() 181 LogAppend(uts.machine); in DumpOSInformation() 183 LogAppend(uts.release); in DumpOSInformation() 185 LogAppend(uts.version); in DumpOSInformation()
|
/external/valgrind/coregrind/m_coredump/ |
D | coredump-solaris.c | 607 static void fill_utsname(struct vki_utsname *uts) in fill_utsname() argument 609 VG_(memset)(uts, 0, sizeof(*uts)); in fill_utsname() 612 (UWord) &uts->sysname, sizeof(uts->sysname)); in fill_utsname() 614 (UWord) &uts->nodename, sizeof(uts->nodename)); in fill_utsname() 616 (UWord) &uts->release, sizeof(uts->release)); in fill_utsname() 618 (UWord) &uts->version, sizeof(uts->version)); in fill_utsname() 620 (UWord) &uts->machine, sizeof(uts->machine)); in fill_utsname() 985 struct vki_utsname uts; in VG_() local 986 fill_utsname(&uts); in VG_() 987 add_note(&new_notes, VKI_NT_UTSNAME, &uts, in VG_()
|
/external/selinux/libselinux/src/ |
D | load_policy.c | 63 struct utsname uts; in selinux_mkload_policy() local 162 if (preservebools && uname(&uts) == 0 && strverscmp(uts.release, "2.6.22") >= 0) in selinux_mkload_policy()
|
D | selinux_restorecon.c | 233 struct utsname uts; in exclude_non_seclabel_mounts() local 242 if (uname(&uts) == 0 && strverscmp(uts.release, "2.6.30") < 0) in exclude_non_seclabel_mounts()
|
/external/valgrind/coregrind/ |
D | m_libcprint.c | 287 struct vki_utsname uts; in VG_() local 289 SysRes res = VG_(do_syscall1)(__NR_uname, (UWord)&uts); in VG_() 294 uts.sysname, uts.release, uts.version, uts.machine); in VG_()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer.cc | 1192 struct utsname uts; in WriteOSInformation() local 1193 if (uname(&uts)) in WriteOSInformation() 1200 uts.sysname, in WriteOSInformation() 1201 uts.release, in WriteOSInformation() 1202 uts.version, in WriteOSInformation() 1203 uts.machine, in WriteOSInformation()
|
/external/e2fsprogs/e2fsck/ |
D | util.c | 683 struct utsname uts; in check_for_modules() local 688 if (uname(&uts)) in check_for_modules() 690 snprintf(buf, sizeof(buf), "/lib/modules/%s/modules.dep", uts.release); in check_for_modules()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MachO.h | 1659 } uts; member 1699 swapStruct(x.uts.ts64); in swapStruct() 1774 } uts; member 1795 swapStruct(x.uts.ts32); in swapStruct() 1899 } uts; member 1920 swapStruct(x.uts.ts32); in swapStruct()
|
/external/toybox/kconfig/ |
D | symbol.c | 48 struct utsname uts; in sym_init() local 56 uname(&uts); in sym_init() 75 sym_add_default(sym, uts.release); in sym_init()
|
/external/e2fsprogs/lib/blkid/ |
D | probe.c | 207 struct utsname uts; in check_for_modules() local 212 if (uname(&uts)) in check_for_modules() 214 snprintf(buf, sizeof(buf), "/lib/modules/%s/modules.dep", uts.release); in check_for_modules()
|
/external/iptables/libxtables/ |
D | xtables.c | 1975 static struct utsname uts; in get_kernel_version() local 1978 if (uname(&uts) == -1) { in get_kernel_version() 1984 sscanf(uts.release, "%d.%d.%d", &x, &y, &z); in get_kernel_version()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-amd64-darwin.c | 140 x86_thread_state64_from_vex(&((x86_thread_state_t *)mach_generic)->uts.ts64, vex); in thread_state_from_vex()
|
/external/minijail/ |
D | libminijail.c | 118 int uts : 1; member 464 j->flags.uts = 1; in minijail_namespace_uts() 1681 if (j->flags.uts) { in minijail_enter()
|
/external/libusb/libusb/os/ |
D | linux_usbfs.c | 347 struct utsname uts; in kernel_version_ge() local 350 if (uname(&uts) < 0) in kernel_version_ge() 352 atoms = sscanf(uts.release, "%d.%d.%d", &kmajor, &kminor, &ksublevel); in kernel_version_ge()
|
/external/llvm/include/llvm/Support/ |
D | MachO.h | 1644 } uts; member 1684 swapStruct(x.uts.ts64); in swapStruct()
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 390 #define __sanitizer_syscall_pre_rt_sigtimedwait(uthese, uinfo, uts, \ argument 393 (long)(uthese), (long)(uinfo), (long)(uts), (long)(sigsetsize)) 394 #define __sanitizer_syscall_post_rt_sigtimedwait(res, uthese, uinfo, uts, \ argument 397 res, (long)(uthese), (long)(uinfo), (long)(uts), (long)(sigsetsize)) 2228 long uts, long sigsetsize); 2230 long uinfo, long uts,
|
/external/libpcap/ |
D | CREDITS | 156 Shaun Clowes <delius at progsoc dot uts dot edu dot au>
|