Home
last modified time | relevance | path

Searched refs:ut_type (Results 1 – 25 of 61) sorted by relevance

123

/titanic_41/usr/src/cmd/who/
H A Dwho.c520 if (utmpp->ut_type == RUN_LVL || utmpp->ut_type == DEAD_PROCESS) { in dump()
547 if (Topt && (utmpp->ut_type == USER_PROCESS)) { in dump()
574 if (utmpp->ut_type == USER_PROCESS) { in dump()
599 if (utmpp->ut_type != BOOT_TIME && in dump()
600 utmpp->ut_type != RUN_LVL && in dump()
601 utmpp->ut_type != ACCOUNTING) in dump()
607 if (utmpp->ut_type == DEAD_PROCESS) { in dump()
612 } else if (utmpp->ut_type != INIT_PROCESS) { in dump()
664 if (utmpp->ut_type == INIT_PROCESS) in dump()
669 if (dopt && utmpp->ut_type == DEAD_PROCESS) { in dump()
[all …]
/titanic_41/usr/src/lib/libc/port/gen/
H A Dgetutx.c148 dst->ut_type = src->ut_type; in utmpx_frec2api()
169 dst->ut_type = src->ut_type; in utmpx_api2frec()
318 if (fubuf.ut_type != EMPTY) { in getutxid()
319 switch (entry->ut_type) { in getutxid()
338 if (entry->ut_type == fubuf.ut_type) { in getutxid()
353 if (((type = fubuf.ut_type) == INIT_PROCESS || in getutxid()
428 if (fubuf.ut_type != EMPTY && in getutxline()
429 (fubuf.ut_type == LOGIN_PROCESS || in getutxline()
430 fubuf.ut_type == USER_PROCESS) && in getutxline()
513 (void) sprintf(type, "%d", entryx->ut_type); in invoke_utmp_update()
[all …]
H A Dgetut.c112 dst->ut_type = src->ut_type; in utmp_frec2api()
128 dst->ut_type = src->ut_type; in utmp_api2frec()
206 if (fubuf.ut_type != EMPTY) { in _compat_getutid()
207 switch (entry->ut_type) { in _compat_getutid()
227 if (entry->ut_type == fubuf.ut_type) { in _compat_getutid()
242 if (((type = fubuf.ut_type) == INIT_PROCESS || in _compat_getutid()
282 if (fubuf.ut_type != EMPTY && in _compat_getutline()
283 (fubuf.ut_type == LOGIN_PROCESS || in _compat_getutline()
284 fubuf.ut_type == USER_PROCESS) && in _compat_getutline()
491 if (utp->ut_type == DEAD_PROCESS) in _compat_makeut()
H A Dttyslot.c81 if ((ubuf.ut_type == INIT_PROCESS || in ttyslot()
82 ubuf.ut_type == LOGIN_PROCESS || in ttyslot()
83 ubuf.ut_type == USER_PROCESS) && in ttyslot()
/titanic_41/usr/src/cmd/utmp_update/
H A Dutmp_update.c178 if ((rutmpx->ut_type != USER_PROCESS) && in main()
179 (rutmpx->ut_type != DEAD_PROCESS)) in main()
187 if (rutmpx->ut_type == USER_PROCESS) in main()
257 entryx->ut_type = temp; in load_utmpx_struct()
269 if (entryx->ut_type == USER_PROCESS) in load_utmpx_struct()
345 } else if (entryx->ut_type != DEAD_PROCESS) { in check_utmpx()
353 if (!(entryx->ut_type == USER_PROCESS || in check_utmpx()
354 entryx->ut_type == DEAD_PROCESS)) { in check_utmpx()
355 dprintf("Bad type type = %d\n", entryx->ut_type); in check_utmpx()
365 if (entryx->ut_type == USER_PROCESS && entryx->ut_pid != getppid()) { in check_utmpx()
[all …]
/titanic_41/usr/src/cmd/ttymon/
H A Dtmutmp.c74 up->ut_type = USER_PROCESS;
106 if (u->ut_type == USER_PROCESS) { in checkut_line()
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;
/titanic_41/usr/src/cmd/last/
H A Dlast.c308 bp->ut_type == USER_PROCESS) { in main()
385 if (bp->ut_type == BOOT_TIME) { in main()
481 if ((bp->ut_type == BOOT_TIME) || (bp->ut_type == DOWN_TIME)) in want()
484 if (bp->ut_type != USER_PROCESS && bp->ut_type != DEAD_PROCESS && in want()
485 bp->ut_type != BOOT_TIME && bp->ut_type != DOWN_TIME) in want()
529 if ((bp->ut_type == USER_PROCESS && bp->ut_user[0] != '\0') || in record_time()
530 (bp->ut_type == BOOT_TIME) || (bp->ut_type == DOWN_TIME)) in record_time()
/titanic_41/usr/src/cmd/acct/
H A Dacctcon1.c163 wb.ut_type = ACCOUNTING; in main()
205 if((wb.ut_type >= EMPTY) && (wb.ut_type <= UTMAXTYPE)) in valid()
247 switch(wb.ut_type) { in loop()
278 wb.ut_type, in loop()
339 wb.ut_type = INIT_PROCESS; /* fudge a logoff for reboot record */ in upall()
370 switch(wb.ut_type) { in update()
H A Dclosewtmp.c48 if (utmpx->ut_type == USER_PROCESS) { in main()
49 utmpx->ut_type = DEAD_PROCESS; in main()
H A Dacctcon.c156 wb.ut_type = ACCOUNTING; in main()
194 if ((wb.ut_type >= EMPTY) && (wb.ut_type <= UTMAXTYPE)) in valid()
223 switch (wb.ut_type) { in loop()
256 wb.ut_type, in loop()
317 wb.ut_type = DEAD_PROCESS; /* fudge a logoff for reboot record. */ in upall()
344 switch (wb.ut_type) { in update()
H A Dwtmpfix.c217 if ((w->ut_type >= EMPTY) && (w->ut_type <= UTMAXTYPE)) in winp()
452 if (rectmp == 0 || Ut.ut_type == BOOT_TIME) in scanfile()
454 if (Ut.ut_type == RUN_LVL) { in scanfile()
478 if (Ut.ut_type == OLD_TIME) { in scanfile()
496 if ((Ut2.ut_type != NEW_TIME) || in scanfile()
561 switch (Ut.ut_type) { in inrange()
H A Dfwtmp.c89 Ut.ut_type, in main()
141 &u->ut_type, in inp()
H A Dacctwtmp.c56 wb.ut_type = ACCOUNTING; in main()
H A Dutmp2wtmp.c58 if ((utmpx->ut_type == USER_PROCESS) && !(nonuserx(*utmpx))) { in main()
/titanic_41/usr/src/cmd/svc/startd/
H A Dutmpx.c90 ut.ut_type = INIT_PROCESS; in utmpx_mark_init()
143 if (up->ut_type == DEAD_PROCESS) { in utmpx_mark_dead()
152 up->ut_type = DEAD_PROCESS; in utmpx_mark_dead()
218 if (up->ut_type == RUN_LVL && in utmpx_get_runlevel()
245 u.ut_type = RUN_LVL; in utmpx_set_runlevel()
320 u.ut_type = type; in utmpx_write_entry()
/titanic_41/usr/src/cmd/killall/
H A Dkillall.c64 if ((u->ut_type == LOGIN_PROCESS) || in main()
65 (u->ut_type == USER_PROCESS)) in main()
/titanic_41/usr/src/head/
H A Dutmp.h84 short ut_type; /* type of entry */ member
106 int16_t ut_type; /* type of entry */ member
H A Dutmpx.h72 short ut_type; /* type of entry */ member
108 int16_t ut_type; /* type of entry */ member
/titanic_41/usr/src/lib/libbc/libc/sys/sys5/
H A Dwrite.c101 utx->ut_type = DEAD_PROCESS; in conv2utmpx()
103 utx->ut_type = USER_PROCESS; in conv2utmpx()
/titanic_41/usr/src/lib/libbc/libc/sys/4.2/
H A Dwrite.c113 utx->ut_type = DEAD_PROCESS; in conv2utmpx()
115 utx->ut_type = USER_PROCESS; in conv2utmpx()
/titanic_41/usr/src/cmd/ssh/sshd/
H A Dloginrec.c618 ut->ut_type = USER_PROCESS; in construct_utmp()
624 ut->ut_type = DEAD_PROCESS; in construct_utmp()
694 utx->ut_type = USER_PROCESS; in construct_utmpx()
697 utx->ut_type = DEAD_PROCESS; in construct_utmpx()
959 utx.ut_type = DEAD_PROCESS; in utmpx_perform_logout()
1080 if (ut->ut_type & USER_PROCESS) in wtmp_islogin()
1235 if (utx->ut_type == USER_PROCESS) in wtmpx_islogin()
/titanic_41/usr/src/cmd/oamuser/user/
H A Disbusy.c58 utxptr->ut_type != DEAD_PROCESS) in isbusy()
/titanic_41/usr/src/lib/libbc/libc/sys/common/
H A Dcompat.h71 short ut_type; /* type of entry */ member
/titanic_41/usr/src/cmd/bnu/
H A Dct.c599 if (u->ut_type == LOGIN_PROCESS
642 u -> ut_type = INIT_PROCESS; in startat()
694 u -> ut_type = USER_PROCESS;
706 u -> ut_type = DEAD_PROCESS;
/titanic_41/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;

123