Searched defs:uts (Results 1 - 11 of 11) sorted by relevance

/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay_common.c129 struct utsname uts; local
173 rv = uname(&uts);
181 if (strnlen(uts.machine, sizeof (uts.machine)) > 0) {
184 uts.machine, &err);
/osnet-11/usr/src/lib/libnsctl/common/
H A Dmachdep.c164 struct utsname uts; local
182 if (uname(&uts) < 0)
186 if (strcmp(build_rel, uts.release) == 0)
219 if (strcmp(cp, uts.release) == 0) {
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/motherboard/common/
H A Dmotherboard.c247 struct utsname uts; local
282 (void) uname(&uts);
286 TOPO_PROP_IMMUTABLE, uts.machine, &err);
/osnet-11/usr/src/grub/grub2/util/
H A Ddeviceiter.c111 struct utsname uts; local
116 uname (&uts);
117 sscanf (uts.release, "%d.%d", &major, &minor);
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_2xml.c51 struct utsname uts; local
57 (void) uname(&uts);
61 "%-15s for %s\n", buf, uts.nodename);
H A Dtopo_snap.c155 struct utsname uts; local
220 uts.machine[0] = '\0';
221 uts.nodename[0] = '\0';
224 (void) uname(&uts);
227 thp->th_machine = topo_hdl_strdup(thp, uts.machine);
228 thp->th_server = topo_cleanup_auth_str(thp, uts.nodename);
H A Dhc.c261 struct utsname uts; local
326 (void) uname(&uts);
330 TOPO_PROP_IMMUTABLE, uts.machine, &err);
332 FM_FMRI_AUTH_V1_SERVER_NM, TOPO_PROP_IMMUTABLE, uts.nodename, &err);
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/
H A Dx86pi_subr.c300 struct utsname uts; local
345 result = uname(&uts);
352 if (strnlen(uts.machine, sizeof (uts.machine)) > 0) {
355 TOPO_PROP_IMMUTABLE, uts.machine, &err);
/osnet-11/usr/src/grub/grub-0.97/lib/
H A Ddevice.c94 struct utsname uts; local
97 uname (&uts);
98 sscanf (uts.release, "%d.%d", &major, &minor);
/osnet-11/usr/src/lib/libproc/common/
H A DPgcore.c1000 struct utsname uts; local
1039 (void) Puname(P, &uts);
1314 write_note(fd, NT_UTSNAME, &uts, sizeof (uts), &doff) != 0 ||
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_subr.c1179 struct utsname uts; local
1223 result = uname(&uts);
1230 if (strnlen(uts.machine, sizeof (uts.machine)) > 0) {
1233 TOPO_PROP_IMMUTABLE, uts.machine, &err);

Completed in 70 milliseconds