Searched defs:utmp (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dutmp.h33 * Structure of utmp and wtmp files.
37 struct utmp { struct
45 * This is a utmp entry that does not correspond to a genuine user
/illumos-gate/usr/src/head/
H A Dutmp.h50 #define UTMP_FILE "/var/adm/utmp"
71 * This data structure describes the utmp entries returned by
73 * correspond to the contents of the utmp or wtmp files.
79 struct utmp { struct
94 * This data structure describes the utmp *file* contents using
155 extern struct utmp *getutent(void);
156 extern struct utmp *getutid(const struct utmp *);
157 extern struct utmp *getutline(const struct utmp *);
[all...]
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_abbrev.c63 Dwarf_Unsigned utmp = 0; local
106 DECODE_LEB128_UWORD(abbrev_ptr, utmp);
107 ret_abbrev->ab_code = (Dwarf_Word) utmp;
117 DECODE_LEB128_UWORD(abbrev_ptr, utmp);
118 ret_abbrev->ab_tag = utmp;
H A Ddwarf_die_deliv.c407 Dwarf_Unsigned utmp = 0; local
411 DECODE_LEB128_UWORD(info_ptr, utmp);
412 abbrev_code = (Dwarf_Word) utmp;
552 Dwarf_Unsigned utmp = 0; local
655 DECODE_LEB128_UWORD(die_info_ptr, utmp);
656 abbrev_code = (Dwarf_Word) utmp;
691 Dwarf_Unsigned utmp = 0; local
728 DECODE_LEB128_UWORD(die_info_ptr, utmp);
729 abbrev_code = (Dwarf_Word) utmp;
765 Dwarf_Unsigned utmp local
[all...]
H A Ddwarf_line.c1843 Dwarf_Unsigned utmp; local
1872 DECODE_LEB128_UWORD(line_ptr, utmp);
1873 dir_index = (Dwarf_Sword) utmp;
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dgetexecattr.c123 userstr_t *utmp; local
135 utmp = _getuserattr(&user, buf, NSS_BUFLEN_USERATTR, &err);
136 if (utmp == NULL) {
140 head = userprof((const char *)(utmp->name), type, id,
143 head = userprof((const char *)(utmp->name), type, id,
148 while ((utmp = _getuserattr(&user,
151 userprof((const char *)(utmp->name),
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetut.c32 * utmp-like files. These routines are only used in
34 * other than /var/adm/utmp or /var/adm/wtmp. In this case,
35 * we assume that someone really wants to read old utmp-format
57 #define IDLEN 4 /* length of id field in utmp */
58 #define SC_WILDC 0xff /* wild char for utmp ids */
65 static void utmp_frec2api(const struct futmp *, struct utmp *);
66 static void utmp_api2frec(const struct utmp *, struct futmp *);
67 struct utmp *_compat_getutent(void);
68 struct utmp *_compat_getutid(const struct utmp *);
454 _compat_makeut(struct utmp *utmp) argument
544 struct utmp utmp; /* holding area */ local
[all...]
H A Dgetutx.c43 * binary compatibility routines to support the old utmp interfaces
66 #define IDLEN 4 /* length of id field in utmp */
67 #define SC_WILDC 0xff /* wild char for utmp ids */
108 * prototypes for utmp compatibility routines (in getut.c)
110 extern struct utmp *_compat_getutent(void);
111 extern struct utmp *_compat_getutid(const struct utmp *);
112 extern struct utmp *_compat_getutline(const struct utmp *);
113 extern struct utmp *_compat_pututlin
914 struct utmpx utmp; /* holding area */ local
1145 makeutx(const struct utmpx *utmp) argument
1240 makeut(struct utmp *utmp) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c70 struct utmpx *utmp = NULL; variable in typeref:struct:utmpx
73 unsigned utmpmtime = 0; /* last modification time for utmp */
74 unsigned utmpsize = 0; /* last malloced size for utmp */
231 if (utmp)
232 utmp = (struct utmpx *)realloc(utmp, utmpsize);
234 utmp = (struct utmpx *)malloc(utmpsize);
235 if (! utmp) {
241 nutmp = read(uf, utmp, statbf.st_size)/sizeof (struct utmpx);
250 struct utmpx *utp = &utmp[nutm
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Din.uucpd.c77 int nolog; /* don't log in utmp or wtmp */
341 #include <utmp.h>
355 struct utmpx utmp; variable in typeref:struct:utmpx
357 struct utmp utmp; variable in typeref:struct:utmp
369 /* the following 2 variables are needed for utmp mgmt */
383 SCPYN(utmp.ut_user, "");
407 sprintf(utmp.ut_line, "uucp%.4d", pid);
408 SCPYN(utmp.ut_name, "");
409 SCPYN(utmp
[all...]
/illumos-gate/usr/src/cmd/power/
H A Dsys-suspend.c67 struct utmpx utmp; variable in typeref:struct:utmpx
68 #define NMAX (sizeof (utmp.ut_name))
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_dev.c2445 rdc_u_info_t *utmp; local
2448 utmp = &rdc_u_info[ktmp->index];
2449 if (IS_ENABLED(utmp))
2516 rdc_u_info_t *utmp; local
2519 utmp = &rdc_u_info[ktmp->index];
2520 if (IS_ENABLED(utmp))
2848 rdc_u_info_t *utmp; local
2851 utmp = &rdc_u_info[ktmp->index];
2852 if (IS_ENABLED(utmp))
H A Drdc_svc.c194 rdc_u_info_t *utmp; local
251 utmp = &rdc_u_info[ktmp->index];
252 if (!IS_ENABLED(utmp))
254 if (rdc_get_mflags(utmp) & RDC_RSYNC_NEEDED) {
255 rdc_clr_mflags(utmp, RDC_RSYNC_NEEDED);
256 rdc_write_state(utmp);
2470 rdc_u_info_t *utmp; local
2484 utmp = &rdc_u_info[ktmp->index];
2486 if ((rdc_get_vflags(utmp) & RDC_PRIMARY)
2488 && IS_ENABLED(utmp))
2876 rdc_u_info_t *utmp; local
[all...]
H A Drdc_io.c610 rdc_u_info_t *utmp; local
626 utmp = &rdc_u_info[index];
635 if (strncmp(utmp->group_name, urdc->group_name,
638 if (strncmp(utmp->primary.intf, urdc->primary.intf,
644 if (strncmp(utmp->secondary.intf, urdc->secondary.intf,
678 urdc->autosync = utmp->autosync; /* Same as rest */
680 (void) strncpy(urdc->disk_queue, utmp->disk_queue, NSC_MAXPATH);
739 rdc_u_info_t *utmp; local
766 utmp = &rdc_u_info[index];
778 if (strncmp(utmp
1028 rdc_u_info_t *utmp; local
1652 rdc_u_info_t *utmp; local
1820 rdc_u_info_t *utmp; local
2673 rdc_u_info_t *utmp; local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbms/
H A Dusbms.c1855 uint_t utmp, bitval, val; local
1859 utmp = 0;
1862 utmp = utmp * 2 + bitval;
1867 xyz = (int)(utmp - val);
/illumos-gate/usr/src/cmd/ls/
H A Dls.c2179 struct utmpx utmp; variable in typeref:struct:utmpx
2181 #define NMAX (sizeof (utmp.ut_name))

Completed in 96 milliseconds