Searched refs:un (Results 1 - 25 of 187) sorted by path

12345678

/illumos-gate/usr/src/cmd/audio/audiotest/
H A Daudiotest.c347 struct utsname un; local
367 if (uname(&un) != -1)
369 un.sysname, un.release, un.version, un.machine);
/illumos-gate/usr/src/cmd/bnu/
H A Dmailst.c114 static char un[2*NAMESIZE]; variable
124 (void) snprintf(un, sizeof (un), "LOGNAME=%s",p);
125 envp[0] = &un[0];
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c46 #include <sys/un.h>
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c27 #include <sys/un.h>
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Duds_daemon.c52 #include <sys/un.h> // for LOCAL_PEERPID
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c979 struct utsname un; local
988 if (uname(&un) == -1) {
994 (void) strcpy(myname, un.nodename);
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Ddir.c758 read_16_bits((uchar_t *)&(dp->un.pcd_scluster_hi), &hi);
1051 p = (uchar_t *)&(dp->un.pcd_scluster_hi);
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c472 (d->un.pcd_scluster_hi == 0) &&
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c2897 entry->un.pcd_scluster_hi = htols(ffstart);
2910 entry->un.pcd_scluster_hi = 0;
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c71 } un; variable in typeref:union:__anon561
72 #define sblock un.sblk
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald_runner.c274 struct utsname un; local
294 if (uname(&un) >= 0) {
297 sysname = g_ascii_strdown(un.sysname, -1);
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo.c183 strlcpy (hotplug_event->un.devfs.devfs_path, devfs_path,
184 sizeof (hotplug_event->un.devfs.devfs_path));
185 hotplug_event->un.devfs.handler = handler;
297 if (parent == NULL && (strcmp(hotplug_event->un.devfs.devfs_path, "/") != 0)) {
298 HAL_ERROR (("Parent is NULL, devfs_path=%s", hotplug_event->un.devfs.devfs_path));
H A Ddevinfo_misc.c76 struct utsname un; local
90 if (uname (&un) >= 0) {
91 hal_device_property_set_string (d, "system.kernel.name", un.sysname);
92 hal_device_property_set_string (d, "system.kernel.version", un.release);
93 hal_device_property_set_string (d, "system.kernel.machine", un.machine);
H A Dhotplug.c22 #include <sys/un.h>
66 HAL_ERROR (("devpath %s already present in store, ignore event", hotplug_event->un.devfs.devfs_path));
80 if (strcmp(hotplug_event->un.devfs.devfs_path, "/") != 0) {
81 HAL_ERROR (("Parent is NULL devfs_path=%s parent_udi=%s", hotplug_event->un.devfs.devfs_path, parent_udi ? parent_udi : "<null>"));
95 begin_add_func = hotplug_event->un.devfs.handler->hotplug_begin_add;
101 hotplug_event->un.devfs.handler,
116 HAL_ERROR (("devpath %s not present in store, ignore event", hotplug_event->un.devfs.devfs_path));
123 hotplug_event->un.devfs.devfs_path,
132 HAL_INFO (("hotplug_event_begin_devfs: %s", hotplug_event->un.devfs.devfs_path));
135 hotplug_event->un
[all...]
H A Dhotplug.h48 } un; member in struct:__anon628
/illumos-gate/usr/src/cmd/init/
H A Dinit.c672 struct utsname un; local
683 (void) uname(&un);
698 un.sysname, un.release, un.version, bits);
/illumos-gate/usr/src/cmd/logadm/
H A Dkw.c78 static struct utsname un; local
127 if (uname(&un) < 0)
130 Keywords = lut_add(Keywords, "nodename", un.nodename);
131 Keywords = lut_add(Keywords, "release", un.release);
132 Keywords = lut_add(Keywords, "machine", un.machine);
/illumos-gate/usr/src/cmd/login/
H A Dlogin.c2427 uname(&un);
2432 un.release, un.nodename);
2438 un.release, un.machine, un.nodename);
2442 un.release, un.machine, un.nodename);
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Dlpadmin.c82 struct utsname un; local
99 uname(&un);
100 Local_System = strdup(un.nodename);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c46 #include <sys/un.h>
/illumos-gate/usr/src/cmd/mdb/common/modules/md/
H A Dwalk_units.c82 unit_data_t *un = (unit_data_t *)wsp->walk_data; local
85 if (un->nunits >= md_nunits) {
86 un->setno += 1;
87 if ((un->setno < md_nsets) && (un->do_all == 1)) {
88 un->nunits = 0;
89 wsp->walk_addr = (uintptr_t)mdset[un->setno].s_un;
92 un->setno);
99 un->nunits = md_nunits;
109 un
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c673 "0x%04x 0x%04x ", mp->un.m_base_wwid, mp->m_num_phys,
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c46 #include <sys/un.h>
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_cout.c322 print_stat(1, &def->def.un.enum_decl);
323 f_print(fout, "\tswitch (objp->%s) {\n", def->def.un.enum_decl.name);
324 for (cl = def->def.un.cases; cl != NULL; cl = cl->next) {
347 dflt = def->def.un.default_decl;
H A Drpc_hout.c208 decl = &def->def.un.enum_decl;
214 for (l = def->def.un.cases; l != NULL; l = l->next) {
218 decl = def->def.un.default_decl;

Completed in 154 milliseconds

12345678