/dragonfly/sys/bus/u4b/template/ |
H A D | usb_template.c | 1249 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 D | top.c | 531 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 D | keyencryption.c | 95 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 D | who.c | 200 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 D | os.c | 99 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 D | tc.os.c | 1149 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 D | sh.types.h | 276 #ifdef uts
|
H A D | sh.proc.c | 237 # if defined(aiws) || defined(uts) in pchild()
|
/dragonfly/usr.sbin/rwhod/ |
H A D | rwhod.c | 516 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 D | toolcontext.c | 970 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 D | host.defs | 179 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 D | libdm-deptree.c | 1330 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 D | README | 124 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 D | libdm-iface.c | 271 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 D | rtld.c | 886 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 D | terminfo.src | 7889 …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>).
|