Home
last modified time | relevance | path

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

/dragonfly/sys/bus/u4b/template/
H A Dusb_template.c1249 memset(uts, 0, sizeof(*uts)); in usb_temp_setup()
1258 if (uts->err) { in usb_temp_setup()
1263 if (uts->size == 0) { in usb_temp_setup()
1264 uts->err = USB_ERR_INVAL; in usb_temp_setup()
1268 uts->buf = usbd_alloc_config_desc(udev, uts->size); in usb_temp_setup()
1274 if (uts->buf == NULL) { in usb_temp_setup()
1281 uts->size = 0; in usb_temp_setup()
1290 if (uts->err) { in usb_temp_setup()
1299 if (uts->err) { in usb_temp_setup()
1312 if (uts->err) { in usb_temp_setup()
[all …]
/dragonfly/usr.bin/top/
H A Dtop.c531 struct timespec uts; in do_display() local
533 clock_gettime(CLOCK_UPTIME, &uts); in do_display()
536 i_uptime(uts.tv_sec); in do_display()
568 struct timespec uts; in do_display() local
570 clock_gettime(CLOCK_UPTIME, &uts); in do_display()
572 u_uptime(uts.tv_sec); in do_display()
738 struct utsname uts; in main() local
740 if (uname(&uts) == 0) in main()
742 if (strcmp(uts.machine, UNAME_HARDWARE) != 0) in main()
/dragonfly/contrib/cryptsetup/luks/
H A Dkeyencryption.c95 struct utsname uts; in _error_hint() local
99 if (uname(&uts) || strncmp(uts.release, "2.6.", 4)) in _error_hint()
103 while (i < 3 && (c = uts.release[i + 4])) in _error_hint()
/dragonfly/usr.bin/who/
H A Dwho.c200 struct timespec uts; in print_boottime() local
203 clock_gettime(CLOCK_UPTIME, &uts); in print_boottime()
204 t = time(NULL) - uts.tv_sec; in print_boottime()
/dragonfly/contrib/less/
H A Dos.c99 struct utsname uts; in init_poll() local
100 if (uname(&uts) < 0 || lstrtoi(uts.release, NULL, 10) < 20) in init_poll()
/dragonfly/contrib/tcsh-6/
H A Dtc.os.c1149 struct utsname uts; in xgethostname() local
1151 retval = uname(&uts); in xgethostname()
1154 xprintf(CGETS(23, 14, "sysname: %s\n"), uts.sysname); in xgethostname()
1155 xprintf(CGETS(23, 15, "nodename: %s\n"), uts.nodename); in xgethostname()
1156 xprintf(CGETS(23, 16, "release: %s\n"), uts.release); in xgethostname()
1157 xprintf(CGETS(23, 17, "version: %s\n"), uts.version); in xgethostname()
1158 xprintf(CGETS(23, 18, "machine: %s\n"), uts.machine); in xgethostname()
1160 i = strlen(uts.nodename) + 1; in xgethostname()
1161 (void) strncpy(name, uts.nodename, i < namlen ? i : namlen); in xgethostname()
H A Dsh.types.h276 #ifdef uts
H A Dsh.proc.c237 # if defined(aiws) || defined(uts) in pchild()
/dragonfly/usr.sbin/rwhod/
H A Drwhod.c516 struct timespec uts; in getboottime() local
518 clock_gettime(CLOCK_UPTIME, &uts); in getboottime()
519 mywd.wd_boottime = htonl(time(NULL) - uts.tv_sec); in getboottime()
/dragonfly/contrib/lvm2/dist/lib/commands/
H A Dtoolcontext.c970 struct utsname uts; in _init_hostname() local
972 if (uname(&uts)) { in _init_hostname()
977 if (!(cmd->hostname = dm_pool_strdup(cmd->libmem, uts.nodename))) { in _init_hostname()
982 if (!(cmd->kernel_vsn = dm_pool_strdup(cmd->libmem, uts.release))) { in _init_hostname()
/dragonfly/bin/csh/csh/
H A Dhost.defs179 struct utsname uts;
180 int e = uname(&uts);
192 xsnprintf(mach, sizeof(mach), "%s", e != -1 ? uts.machine : "unknown");
194 e != -1 ? uts.machine : "unknown", ostype);
1072 newdef : defined(uts)
1073 comment : Amdahl running uts 2.1
1076 ostype : : "uts"
/dragonfly/contrib/lvm2/dist/libdm/
H A Dlibdm-deptree.c1330 struct utsname uts; in _mirror_emit_segment_line() local
1336 r = uname(&uts); in _mirror_emit_segment_line()
1351 if (strncmp(uts.release, "2.6.22", 6) >= 0) in _mirror_emit_segment_line()
1370 if (strncmp(uts.release, "2.6.31", 6) >= 0) in _mirror_emit_segment_line()
/dragonfly/lib/libc/rpc/
H A DREADME124 uts/common/rpc RPC header files
140 and uts/common/rpc, and the programs in the cmd directory depend on libraries
/dragonfly/contrib/lvm2/dist/libdm/ioctl/
H A Dlibdm-iface.c271 struct utsname uts; in _create_dm_bitset() local
276 if (uname(&uts)) in _create_dm_bitset()
284 if (!strncmp(uts.release, "2.6.", 4)) in _create_dm_bitset()
/dragonfly/libexec/rtld-elf/
H A Drtld.c886 static struct utsname uts; variable
952 if (uts.sysname[0] == '\0') { in origin_subst()
953 if (uname(&uts) != 0) { in origin_subst()
959 res2 = origin_subst_one(res1, "$OSNAME", uts.sysname, true); in origin_subst()
960 res3 = origin_subst_one(res2, "$OSREL", uts.release, true); in origin_subst()
961 res4 = origin_subst_one(res3, "$PLATFORM", uts.machine, true); in origin_subst()
/dragonfly/contrib/ncurses/misc/
H A Dterminfo.src7889 …091231042744/http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/tem_safe.c
25130 # by Telford Tendys <telford@eng.uts.edu.au>).