Searched refs:ut_type (Results 1 - 25 of 59) sorted by relevance

123

/illumos-gate/usr/src/cmd/acct/
H A Dclosewtmp.c48 if (utmpx->ut_type == USER_PROCESS) {
49 utmpx->ut_type = DEAD_PROCESS;
H A Dacctwtmp.c56 wb.ut_type = ACCOUNTING;
H A Dutmp2wtmp.c58 if ((utmpx->ut_type == USER_PROCESS) && !(nonuserx(*utmpx))) {
H A Dacctcon1.c64 int tlon; /* # times on (ut_type of 7) */
65 int tloff; /* # times off (ut_type != 7) */
163 wb.ut_type = ACCOUNTING;
205 if((wb.ut_type >= EMPTY) && (wb.ut_type <= UTMAXTYPE))
247 switch(wb.ut_type) {
278 wb.ut_type,
339 wb.ut_type = INIT_PROCESS; /* fudge a logoff for reboot record */
370 switch(wb.ut_type) {
H A Dfwtmp.c89 Ut.ut_type,
141 &u->ut_type,
H A Dacctcon.c66 int tlon; /* # times on (ut_type of 7) */
67 int tloff; /* # times off (ut_type != 7) */
156 wb.ut_type = ACCOUNTING;
194 if ((wb.ut_type >= EMPTY) && (wb.ut_type <= UTMAXTYPE))
223 switch (wb.ut_type) {
256 wb.ut_type,
317 wb.ut_type = DEAD_PROCESS; /* fudge a logoff for reboot record. */
344 switch (wb.ut_type) {
H A Dwtmpfix.c217 if ((w->ut_type >= EMPTY) && (w->ut_type <= UTMAXTYPE))
452 if (rectmp == 0 || Ut.ut_type == BOOT_TIME)
454 if (Ut.ut_type == RUN_LVL) {
478 if (Ut.ut_type == OLD_TIME) {
496 if ((Ut2.ut_type != NEW_TIME) ||
560 /* the legal values for ut_type are enumerated in <utmp.h> */
561 switch (Ut.ut_type) {
681 * redundancy here beyond the ut_type.
722 wcomplain("ut_type ou
[all...]
/illumos-gate/usr/src/cmd/killall/
H A Dkillall.c64 if ((u->ut_type == LOGIN_PROCESS) ||
65 (u->ut_type == USER_PROCESS))
/illumos-gate/usr/src/cmd/oamuser/user/
H A Disbusy.c58 utxptr->ut_type != DEAD_PROCESS)
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dcompat.h71 short ut_type; /* type of entry */ member in struct:utmpx
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dttyslot.c81 if ((ubuf.ut_type == INIT_PROCESS ||
82 ubuf.ut_type == LOGIN_PROCESS ||
83 ubuf.ut_type == USER_PROCESS) &&
H A Dgetut.c112 dst->ut_type = src->ut_type;
128 dst->ut_type = src->ut_type;
206 if (fubuf.ut_type != EMPTY) {
207 switch (entry->ut_type) {
227 if (entry->ut_type == fubuf.ut_type) {
242 if (((type = fubuf.ut_type) == INIT_PROCESS ||
282 if (fubuf.ut_type !
[all...]
H A Dgetutx.c148 dst->ut_type = src->ut_type;
169 dst->ut_type = src->ut_type;
318 if (fubuf.ut_type != EMPTY) {
319 switch (entry->ut_type) {
338 if (entry->ut_type == fubuf.ut_type) {
353 if (((type = fubuf.ut_type) == INIT_PROCESS ||
428 if (fubuf.ut_type !
[all...]
/illumos-gate/usr/src/cmd/who/
H A Dwho.c520 if (utmpp->ut_type == RUN_LVL || utmpp->ut_type == DEAD_PROCESS) {
547 if (Topt && (utmpp->ut_type == USER_PROCESS)) {
574 if (utmpp->ut_type == USER_PROCESS) {
599 if (utmpp->ut_type != BOOT_TIME &&
600 utmpp->ut_type != RUN_LVL &&
601 utmpp->ut_type != ACCOUNTING)
607 if (utmpp->ut_type == DEAD_PROCESS) {
612 } else if (utmpp->ut_type != INIT_PROCESS) {
664 if (utmpp->ut_type
[all...]
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmutmp.c74 up->ut_type = USER_PROCESS;
106 if (u->ut_type == USER_PROCESS) {
135 if (up->ut_type == DEAD_PROCESS) {
156 up->ut_type = DEAD_PROCESS;
194 if (u->ut_type == INIT_PROCESS && u->ut_pid == ownpid) {
199 u->ut_type = LOGIN_PROCESS;
/illumos-gate/usr/src/cmd/utmp_update/
H A Dutmp_update.c178 if ((rutmpx->ut_type != USER_PROCESS) &&
179 (rutmpx->ut_type != DEAD_PROCESS))
187 if (rutmpx->ut_type == USER_PROCESS)
257 entryx->ut_type = temp;
269 if (entryx->ut_type == USER_PROCESS)
345 } else if (entryx->ut_type != DEAD_PROCESS) {
353 if (!(entryx->ut_type == USER_PROCESS ||
354 entryx->ut_type == DEAD_PROCESS)) {
355 dprintf("Bad type type = %d\n", entryx->ut_type);
365 if (entryx->ut_type
[all...]
/illumos-gate/usr/src/head/
H A Dutmp.h84 short ut_type; /* type of entry */ member in struct:utmp
106 int16_t ut_type; /* type of entry */ member in struct:futmp
116 /* Definitions for ut_type */
133 #define UTMAXTYPE DOWN_TIME /* Largest legal value of ut_type */
H A Dutmpx.h72 short ut_type; /* type of entry */ member in struct:utmpx
108 int16_t ut_type; /* type of entry */ member in struct:futmpx
/illumos-gate/usr/src/cmd/last/
H A Dlast.c308 bp->ut_type == USER_PROCESS) {
385 if (bp->ut_type == BOOT_TIME) {
481 if ((bp->ut_type == BOOT_TIME) || (bp->ut_type == DOWN_TIME))
484 if (bp->ut_type != USER_PROCESS && bp->ut_type != DEAD_PROCESS &&
485 bp->ut_type != BOOT_TIME && bp->ut_type != DOWN_TIME)
529 if ((bp->ut_type == USER_PROCESS && bp->ut_user[0] != '\0') ||
530 (bp->ut_type
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dwrite.c113 utx->ut_type = DEAD_PROCESS;
115 utx->ut_type = USER_PROCESS;
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dwrite.c101 utx->ut_type = DEAD_PROCESS;
103 utx->ut_type = USER_PROCESS;
/illumos-gate/usr/src/head/rpcsvc/
H A Drusers.x39 int ut_type; /* type of entry */
49 % * Values for ut_type field above.
/illumos-gate/usr/src/cmd/svc/startd/
H A Dutmpx.c90 ut.ut_type = INIT_PROCESS;
143 if (up->ut_type == DEAD_PROCESS) {
152 up->ut_type = DEAD_PROCESS;
218 if (up->ut_type == RUN_LVL &&
245 u.ut_type = RUN_LVL;
320 u.ut_type = type;
/illumos-gate/usr/src/ucbcmd/users/
H A Dusers.c50 if (utmpx->ut_type != USER_PROCESS)
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drpc.rusersd.c211 if ((all == REAL_USERS) && ((utent->ut_type != USER_PROCESS) ||
248 uav[cnt].ut_type = utent->ut_type;

Completed in 289 milliseconds

123