Home
last modified time | relevance | path

Searched refs:uts (Results 1 – 13 of 13) sorted by relevance

/busybox-1.35.0/libbb/
Dsafe_gethostname.c36 struct utsname uts; in safe_gethostname() local
48 uname(&uts); in safe_gethostname()
49 return xstrndup(!uts.nodename[0] ? "?" : uts.nodename, sizeof(uts.nodename)); in safe_gethostname()
Dlogin.c26 struct utsname uts; in print_login_issue() local
29 uname(&uts); in print_login_issue()
87 outbuf = uts.sysname; in print_login_issue()
91 outbuf = uts.nodename; in print_login_issue()
94 outbuf = uts.release; in print_login_issue()
97 outbuf = uts.version; in print_login_issue()
100 outbuf = uts.machine; in print_login_issue()
107 outbuf = uts.domainname; in print_login_issue()
/busybox-1.35.0/modutils/
Dmodinfo.c143 struct utsname uts; in modinfo_main() local
156 uname(&uts); in modinfo_main()
158 xasprintf("%s/%s/%s", CONFIG_DEFAULT_MODULES_DIR, uts.release, CONFIG_DEFAULT_DEPMOD_FILE), in modinfo_main()
170 modinfo(tokens[0], uts.release, field); in modinfo_main()
180 modinfo(argv[i], uts.release, field); in modinfo_main()
Ddepmod.c177 struct utsname uts; in depmod_main() local
193 uname(&uts); in depmod_main()
194 version = uts.release; in depmod_main()
Dmodprobe.c183 struct utsname uts; member
479 CONFIG_DEFAULT_MODULES_DIR, G.uts.release, fn, in do_modprobe()
573 uname(&G.uts); in modprobe_main()
574 xchdir(G.uts.release); in modprobe_main()
Dmodprobe-small.c938 struct utsname uts; in modprobe_main() local
951 uname(&uts); /* never fails */ in modprobe_main()
981 xchdir(argv[0] ? argv[0] : uts.release); in modprobe_main()
997 xchdir(uts.release); in modprobe_main()
Dmodutils-24.c3843 struct utsname uts; in bb_init_module_24() local
3853 uname(&uts); in bb_init_module_24()
3854 if (strncmp(uts.release, m_strversion, STRVERSIONLEN) != 0) { in bb_init_module_24()
3859 m_name, m_strversion, uts.release); in bb_init_module_24()
/busybox-1.35.0/init/
Dhalt.c103 struct utsname uts; in write_wtmp() local
114 uname(&uts); in write_wtmp()
115 safe_strncpy(utmp.ut_host, uts.release, sizeof(utmp.ut_host)); in write_wtmp()
/busybox-1.35.0/procps/
Diostat.c119 struct utsname uts; in print_header() local
121 uname(&uts); /* never fails */ in print_header()
127 uts.sysname, uts.release, uts.nodename, in print_header()
128 buf, uts.machine, G.total_cpus); in print_header()
Dmpstat.c790 struct utsname uts; in print_header() local
793 uname(&uts); in print_header()
798 uts.sysname, uts.release, uts.nodename, cur_date, uts.machine, G.cpu_nr); in print_header()
/busybox-1.35.0/scripts/kconfig/
Dsymbol.c47 struct utsname uts; in sym_init() local
55 uname(&uts); in sym_init()
74 sym_add_default(sym, uts.release); in sym_init()
/busybox-1.35.0/shell/
Dhush.c10266 struct utsname uts; in hush_main() local
10267 uname(&uts); in hush_main()
10268 set_local_var_from_halves("HOSTNAME", uts.nodename); in hush_main()
Dash.c14438 struct utsname uts; in init() local
14439 uname(&uts); in init()
14440 setvar0("HOSTNAME", uts.nodename); in init()