Searched refs:utsname (Results 1 - 25 of 318) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/os/
H A Dvers.c30 * Template utsname; appropriate values for UTS_RELEASE, UTS_VERSION and
34 #include <sys/utsname.h>
36 struct utsname utsname = { variable in typeref:struct:utsname
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dutsname.h36 struct utsname { struct
46 extern struct utsname utsname;
48 int uname(/* struct utsname *name */);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_conf.h32 #include <sys/utsname.h>
43 extern void mdb_conf_uname(struct utsname *);
H A Dmdb_conf.c32 #include <sys/utsname.h>
73 mdb_conf_uname(struct utsname *utsp)
75 bzero(utsp, sizeof (struct utsname));
/illumos-gate/usr/src/uts/common/sys/
H A Dutsname.h42 #define _SYS_NMLN 257 /* 4.0 size of utsname elements */
52 struct utsname { struct
61 extern struct utsname utsname;
68 extern int uname(struct utsname *);
69 extern int _uname(struct utsname *);
72 extern int nuname(struct utsname *);
74 extern int _nuname(struct utsname *);
77 * On i386 in SVID.2 uname() returns a utsname structure with 8 byte members,
78 * and nuname() returns the real struct utsname
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/funcs/
H A Dtst.badcopyinstr.d45 os = copyinstr((uintptr_t)&`utsname);
51 exit(arg4 == DTRACEFLT_BADADDR && arg5 == (uint64_t)&`utsname ? 0 : 1);
/illumos-gate/usr/src/uts/common/syscall/
H A Duname.c38 #include <sys/utsname.h>
42 uname(struct utsname *buf)
46 if (copyout(utsname.sysname, buf->sysname, strlen(utsname.sysname)+1)) {
52 if (copyout(utsname.release, buf->release, strlen(utsname.release)+1)) {
55 if (copyout(utsname.version, buf->version, strlen(utsname.version)+1)) {
58 if (copyout(utsname.machine, buf->machine, strlen(utsname
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/printf/
H A Dtst.str.d39 printf("sysname = %s", `utsname.sysname);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/tracemem/
H A Dtst.smallsize.d30 tracemem(`utsname.sysname, 5);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dgethostname.c39 #include <sys/utsname.h>
49 struct utsname u;
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dtokens.c30 #include <sys/utsname.h>
110 struct utsname utsname; local
120 if (uname(&utsname) == -1)
126 size = strlen(utsname.sysname);
130 (void) strncpy(desc->uts_osname, utsname.sysname, size);
132 size = strlen(utsname.release);
136 (void) strncpy(desc->uts_osrel, utsname.release, size);
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_conf.c27 #include <sys/utsname.h>
65 * utsname and platform for us.
69 mdb_conf_uname(struct utsname *utsp)
71 bzero(utsp, sizeof (struct utsname));
74 struct utsname *utsaddr;
81 if ((utsaddr = (struct utsname *)kmdb_kdi_lookup_by_name("unix",
82 "utsname")) == NULL) {
83 warn("'utsname' symbol is missing from kernel\n");
88 bcopy(utsaddr, utsp, sizeof (struct utsname));
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv.h42 #include <sys/utsname.h>
55 extern struct utsname uts_buf;
/illumos-gate/usr/src/cmd/setuname/
H A Dsetuname.c47 * <sys/utsname.h> System Name
63 #include <sys/utsname.h>
380 struct utsname utsname; /* Space for the kernel's utsname information */
386 {"utsname", 0, 0, 0, 0, 0},
391 uintptr_t utsname_addr; /* Addr of "utsname" in the kernel */
409 * Get the virtual address of the symbol "utsname" in the kernel
420 for (i = symbtbl->count; i-- && (strcmp(p, "utsname") != 0) ; p = S3BNXTSYM(p)) ;
444 * Open the kernel's memory, get the existing "utsname" structur
377 struct utsname utsname; /* Space for the kernel's utsname information */ local
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dhostname.c52 #include <sys/utsname.h>
66 struct utsname name;
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/privs/
H A Dtst.kpriv.ksh24 # trace(func((void *)&\`utsname)); }
32 BEGIN { badsubr = "func()"; func((void *)&\`utsname); FAIL }
35 BEGIN { badsubr = "func()"; func((void *)&\`utsname, arg1); FAIL }
38 BEGIN { badsubr = "func() (arg1)"; func(arg0, (void *)&\`utsname); FAIL }
41 BEGIN { badsubr = "func()"; func((void *)&\`utsname, arg1, arg2); FAIL }
/illumos-gate/usr/src/cmd/prtconf/
H A Dprtconf.h36 #include <sys/utsname.h>
72 struct utsname o_uts;
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dgen_layout_obj.c29 #include <sys/utsname.h>
58 struct utsname uts;
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dgethostid.c45 #include <sys/utsname.h>
H A Dgethostname.c45 #include <sys/utsname.h>
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Duname.c29 #include <sys/utsname.h>
33 * utsname structure has a different format in SVr4/SunOS 5.0.
38 * The following values and structure are from the SVR4 utsname.h.
53 uname(struct utsname *uts)
59 bc_uname(struct utsname *uts)
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Duname.s39 pushl 12(%esp) / utsname address (retaddr+$UNAME+0)
/illumos-gate/usr/src/uts/sun4v/montoya/os/
H A Dmontoya.c37 #include <sys/utsname.h>
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypset.c51 #include <sys/utsname.h>
155 struct utsname utsname; local
159 (void) uname(&utsname);
160 if (strcasecmp(utsname.nodename,
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dmount.c41 #include <sys/utsname.h>
70 struct utsname utsname; local
117 if (uname(&utsname) < 0) {
121 (void) strcpy(autofs_addr, utsname.nodename);

Completed in 206 milliseconds

1234567891011>>